How do I change the hostname, IP address, DNS Server, etc?
Updated: 06/20/01 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. —————————— Subject: 5.7.
To change the hostname: # /sbin/set_parms hostname To change the IP address: # /sbin/set_parms ip_address To change DNS Server, domain, etc.: # /sbin/set_parms addl_netwrk or to set everything just like doing the first-time install: # /sbin/set_parms initial WARNING Don’t do this without your local IT/Operations people knowing about it. The potential for messing up the network and/or your workstation is great. (Thanx to Brad Bass