Bryce T. Pier wrote:

>On Thu, Dec 18, 2003 at 05:17:44PM -0600, -ray wrote:
>  
>
>>On Thu, 18 Dec 2003, michael dolan wrote:
>>
>>    
>>
>>>Maybe a little off topic, but I need to change the IP on a SunOS 5.6 
>>>Ultrasparc-II machine at work.
>>>I know nothing about sunos machines, and I'm usually locked out of  
>>>everything, so I have not even been able to play around or explore.
>>>I'm assuming I just need to edit : /etc/{resolv.conf, hosts, hostname.*, 
>>>netmasks, nodename, dumpadm.conf, net/*/hosts}
>>>Is there anything else UNIX Gurus?  Is there a GUI tool to do it?  I'm 
>>>going to have to tell a windows sysadmin how to do it, so the simpler 
>>>the better.
>>>      
>>>
>>Wow... stretching my brain cells now, but i think you just change it in 
>>/etc/hosts and reboot.  Check your /etc/hostname.* files and make sure 
>>your interface matches the ip in /etc/hosts.  Change resolv.conf if your 
>>DNS is changing, and /etc/defaultrouter if your default router is 
>>changing.
>>    
>>
>
>
>Solaris is a big pain in the butt for changing IPs. The simplist way is
>to run sysunconfig, and reboot. On the way back up the system will ask
>for host name, domain name, IP, etc. At least that was the way to do it
>for Solaris 8 but I'm pretty sure it applies to 5.6. If sysunconfig or
>sys-unconfig (I can't remember which off the top of my head) is there it
>should work.
>
>  
>
Thanks for the help Bryce and Ray!
Michael

Reply via email to