[ Usenet FAQs | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Single Page

Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.7.6 Why is ifconfig giving me errors when I try to configure my LAN?
Next Document: 5.7.8 How do I determine the speed and duplexity of my network interface?


5.7.7 How do I change the hostname, IP address, DNS Server, etc?



To change these system parameters, you should use the /sbin/set_parms
sehll script.  This script modifies the system configuration file
/etc/rc.config.d/netconf.  set_parms does not backup the netconf file, so
it's a good idea to back it up yourself before running set_parms:

  # cd /etc/rc.config.d
  # cp -p netconf netconf.prev

To print the usage for set_parms, run the script with no arguments:

  # /sbin/set_parms

After modifying netconf, set_parms will ask you whether you want to reboot
the system; this is necessary in order to apply the configuration changes.
You can answer "Yes, Reboot", or you can answer "No, Do Not Reboot" and
reboot at a later time.



Top Document: comp.sys.hp.hpux FAQ
Previous Document: 5.7.6 Why is ifconfig giving me errors when I try to configure my LAN?
Next Document: 5.7.8 How do I determine the speed and duplexity of my network interface?

Single Page


[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
hpux.faq@gmail.com

Last Update October 22 2009 @ 05:25 AM

Some parts © 2009 Advameg, Inc.