[comp.sys.mips] uname, hostname et al.

lamy@sobeco.com (Jean-Francois Lamy) (08/29/90)

We're setting up a Mips machine as a dedicated communications server here.
Said machine would be called "netserv.sobeco.com", and have a sysname of
"netserv".  We also need it to assume the nodename "sobeco" for UUCP purposes
(we have many clients that get software support that way).

RISC/os 4.50 seems to maintain 3 system names: the SysV sysname and nodename
fields, and the BSD hostname used for TCP/IP.  Setting the first two explicitly
in the kernel config will leave hostname blank, so at first sight the 3 fields
are different.  Calling "hostname xxx" however, will set all three names to
xxx, not what we want.

We may have overlooked it, but there does not seem to be a setuuname,
setuname, uname -s or any such beast around, and writing yet another 
"run-nlist-and-poke-the-right-value-in-/dev/kmem" program, while not hard,
is getting silly.

And while I'm whining about not having the sources to fix things, can
someone in the know testify on whether or not one can easily plug in an
external dialing script in BNU UUCP, and if so how, assuming one can do it
without access to the Holy Gr...  err, Sources.