--
PGP Public Key Encryption: Get it. Use it. Maintain Public Privacy!
I tried changing it using the uname command but it gets reset after a reboot.
For example:
# uname -n
myhost
# uname -S myhost.mydomain
# uname -n
myhost.mydomain
# /etc/reboot
# uname -n
myhost
I don't have this problem with other OS's (eg solaris, ultrix, osf1). Is
there away around this with AIX or is it not supported for some reason?
John
--
*****************************************************************************
John Muscat email : jmu...@yorku.ca
CCIS (UnixTeam) web : http://john_muscat.www.yorku.ca/
York University phone : (416) 736-2100 x22075
North York, Ontario,Canada M3J 1P3 office : Steacie T138
*****************************************************************************
Zed? It's Maynard. The spider just caught a coupl'a flies. (Pulp Fiction)
*****************************************************************************
I think you have to wrestle with smit to change the name in the TCP/IP
Minimum Configuration & Startup menu.
The command smit runs starts with:
mktcpip -h'myname.my.fully.qualified.domain.name'
I suspect this name is kept somewhere in the ODM database, but I haven't
found it (yet:-).
Hope this helps,
Chris Evert
--
Christopher C. Evert Opinions are mine, not Western Geophysical's.
cev...@wg.waii.com But they should be. (Just my opinion:-)
uunet!airgun!cevert Gnostically Uncanny Rhizuser of UNIX
: I tried changing it using the uname command but it gets reset after a reboot.
: For example:
: # uname -n
: myhost
: # uname -S myhost.mydomain
: # uname -n
: myhost.mydomain
: # /etc/reboot
: # uname -n
: myhost
The way around this is to modify the following line in /etc/rc.net
from:
/bin/uname -S`hostname|sed 's/\..*$//'` >>$LOGFILE 2>&1
to:
/bin/uname -S`hostname` >>$LOGFILE 2>&1
By default (not sure why) IBM strips the anything after the first "." in a
hostname set FQDN style (eg via mktcpip) when setting the uname.
Thanks to Bjorn Roden for pointing out the neccessary update.
If you have a DNS at your site, set the file /etc/resolv.conf with these
two lines:
domain <domain_name>
nameserver <ip address of the DNS>
-
*********************************************************
Louis POTY | Just some words for *
lou...@sdv.fr | never more wars *
*********************************************************