Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: alan@shodha.enet.dec.com ( Alan's Home for Wayward Notes File.)
Subject: Re: Interregating a DECstation, Ultrix
Date: 22 Feb 92 17:31:14 GMT	[thread overview]
Message-ID: <5689@shodha.enet.dec.com> (raw)
In-Reply-To: 1992Feb21.210928.26927@amc.com

In article <1992Feb21.210928.26927@amc.com>, stuart@amc.com (Stuart Poulin) writes:
> 
> I'm looking for one liners someone could use to interregate a
> DECstation running Ultrix 4.2.
> 
> Internet Address                : /etc/ifconfig ln0
>                                   (Is there a better one for this? Is it
> 								  always ln0?)
	It depends on the machine.  The DECsystem 5500 uses a
	second generation Ethernet adapter that will be called
	"ne0".  You could also have multiple adapters, so you
	might have to check for ln0 and ln1.  As you branch
	out more systems, the names may change.
> 
> Now, some more I like to know are:
> Physical Memory                :

	I think this got asked recently in lots of places...  Some of
	my favorites:

		# wc -c /dev/mem
		# kvar -k -s physmem -rl /vmunix
		addr = 0x-Number-of-pages
	
	You can also look in the error log.  See the manual page for the
	command uerf(8).  The boot messages are record type 300:

		# uerf -R -r 300 | grep "real mem"

	There's also an undocumented op for getsysinfo(2) to get the 
	amount of physical memory.  Look in /usr/include/sys/sysinfo.h.

> Ethernet Address               :
>                           (How about if this changes after boot?)

	SEE ALSO: uerf(8).

	Another way is to write a program that looks for all
	Ethernet devices and prints their addresses.  As I
	mentioned before a system can have multiple devices
	and new names could pop up at anytime.  In Pre-V4.0
	ULTRIX a lot of people hardcoded the name "se0" and
	then we changed it to "ln0" when merging a couple of
	drivers together.
> 
> I can't seem to find the equivalent of "dmesg", is there one?

	The ULTRIX error log formatter (uerf) is the closest
	equivalent.  Using the "-o terse" option you can get
	output that looks vaguely like the contents of dmesg.
> 
> Thanks.
> stuart@amc.com
-- 
Alan Rollow				alan@nabeth.cxo.dec.com



      reply	other threads:[~1992-02-22 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-02-21 21:09 Interregating a DECstation, Ultrix Stuart Poulin
1992-02-22 17:31 `  Alan's Home for Wayward Notes File. [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox