Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!dalvm41b.vnet.ibm.com!freese From: freese@dalvm41b.vnet.ibm.com ("Bradley T. Freese") Newsgroups: comp.unix.aix Subject: Stupid Question Message-ID: <9105142216.AA18331@ucbvax.Berkeley.EDU> Date: 14 May 91 21:49:54 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 26 len@netsys.netsys.COM (Len Rose) writes: > Given that I have ordered all the manuals for AIX,and my terminal > works terribly with infoexplorer, and I am trying to administer a > machine 1000 miles away could someone answer a really stupid question? > > How does one set the hostname/uname permanently in AIX 3? > > Sigh.. Now I have done it. I disagree -- this is not a stupid question. First, a pointer: look at /etc/rc.net. Next, the easy ones: /bin/hostid '' /bin/uname -S '' Last, the hard one. To set the hostname, use one of: 'smit', "Communications...", "TCP/IP", "Minimum...", "", and fill in the hostname; or, 'mktcpip -h -a
-i' The 'smit' method is easy to use if your arrow keys work. It just builds/ calls the equivalent 'mktcpip' command. The command /bin/hostname still exists and will work for the current session, but it does not update the ODM database. If you use 'mktcpip' directly, be careful of the shell intrepreting characters.