Hello,
Is there way to restart the services without actually rebooting the machine.
I have inherited a SunOS5.8 and have set the hostname, resolve.conf and network IP details, but if I can avoid it I would rather not have to reboot the machine.
how did you change the hostname? I suggest to use sys-unconfig program, when you inherit a machine and you want to integrate it into your env. sys-unconfig will halt!!!! your system and will ask some questins when rebooting the system. Look at the manpage for it to doublecheck what the command does.
BTW: resolf.conf works "on the fly"
Best Regards, Franz
--
UNIX System Manager from Munich, Germany
hello again,
i tried running sys-unconfig and the system went through all the configuration settings.
set the eri0 to dhcp, this picked up an IP address, but the resolve.conf did not setup nor did the hostname for the machine.
any further advise on this will be most welcomed.
Probably a typo but the name of the file is actually /etc/resolv.conf. Check your /etc/nsswitch.conf, /etc/nodename, /etc/net/tic*/hosts, and with DHCP I believe it would be something like /etc/dhcp.eri0. I forgot what DHCP calls the file.
Just create it in /etc and put in your dns servers.
It should pickup the changes automatically.
sample resolv.conf:
_______________________
nameserver 68.87.69.146
nameserver 68.87.85.98
_______________________
also, make sure your /etc/nsswitch.conf
file points the hosts entry to host then dns.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.