How to change a system name or IP address on SCO Unix.
Many people land here from Google searches for how to change an ip
address on SCO Unix. Jeff's article is more about other things you
MIGHT have to change AFTER you change the ip address (although
written for OSR5, Jeff's advice can be helpful on any Unix
On all OSR5 and Open Desktop systems, "netconfig" (graphical or in
character mode) lets you change the ip address. You will need to
IT IS NOT ENOUGH TO JUST CHANGE /etc/hosts !!! You need to use
Changing /etc/tcp will just cause you more grief - don't do
By the way, the trick to using netconfig or any of the SCO admin
("scoadmin") tools in character mode is to understand that the TAB
key moves between panes - so to move from a sub-pane back to the
menus, hit TAB and vice-versa.
Changing a name or IP address takes more than just running
netconfig. There are far too many files that have system names, IP
addresses, or both inside. I recently finished renaming a server.
It took me 2 hours to get it straight and test the results.
The following is a list of files involved in renaming a server.
I may have missed some as I was not running DNS or sendmail on this
particular machine. Each file should be inspected for residue of
the old name or IP address.
If you have Vision FS, AFPS or Samba running, the peripherals on
the server are known to MSDOS machines as:
Changing the server name will necessitate changing all the printer
and filesystem shares.
If you have imbedded the "default server" or its IP address in
any managed hubs, routers, print servers, bridges, or SNMP managed
devices, these will need to be tweaked.
As you can see, renaming and reconfiguring the IP addresses of a
server is not a trivial task. The chain of aliases are long and
convoluted. Keep backup copies of all key files and a notepad with
all the files that were tweaked.