Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Solaris 5.3 on a sparc 5:
I have to change all network settings on this client. How do I do it?
IP, hostname(maybe),subnet,bcast, etc all have to change. Admintool is not working for me - some rpc error. Command line easily done? Thanks bigtime to anyone that can help.

Hi,
logging in as root and typing
sys-unconfig
may do what you need (I'm not sure with this version???)
otherwise check other posts here for which files to modify for hostname and IP address, there have been many postings on these subjects.
Subnet is in /etc/netmasks
Someone else may be able to help more if the sys-unconfig doesn't work - sorry.

Mark is correct in his suggestion to use "sys-unconfig". This is probably the best and supported way of doing things.
/etc/netmasks is the correct file to modify for subnet.
Otherwise, you can also modify the IP address by editing the /etc/hosts file by changing the IP address to reflect the new IP, then do a reboot (using "reboot" or "init 6"). Another way of doing it is "ifconfig interface IP netmask IP"
eg:
"ifconfig hme0 192.0.0.1 netmask ffffff00"To change hostname, you should modify all the files with the new hostname that are listed from this command:
find /etc -type f -print | xargs grep
Otherwise, just change the names in /etc/hosts and /etc/hostname.interface.
However, you might encounter some problems in the future !!

Check out this web site for some great info on setting up you SPARC or x86 Solaris box.
http://www.execpc.com/~keithp/bdlogsol.htm#basics

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |