On 2001.10.09 09:14 Colin McKinnon wrote: > At 14:39 08/10/01 +0000, martin kelly wrote:
> >time to ask for some help. I would also like to at the same time change my > >domainname from linux.xxxx to mydomain.co.uk. Would I be right in saying > >that I only need to do this is in: > > > >/etc/hosts > >/etc/HOSTNAME > > On RedHat it needs to be configured in /etc/sysconfig/network too. > > You might be wiser trying to change it in Yast. Yes, Colin is correct. If you do not change the values in /etc/rc.config, then next time you boot, the system will revert to the values there. yast will change all the config files that need changing, and will deal with restarting the network. If you must do it by hand ;-), edit the files you mentioned, the one I mentioned then do rcnetwork restart cheers Lawrence > > HTH > > Colin -------------------------------------------------------------------- http://www.lug.org.uk http://www.linuxportal.co.uk http://www.linuxjob.co.uk http://www.linuxshop.co.uk --------------------------------------------------------------------
