>hostname etc shows the correct hostname etc. I am at a loss. > >I hope i have explained well?! Any suggestions? more info needed.
"change linus hostname" on google gives this: Edit /etc/sysconfig/network file and put this. NETWORKING=yes HOSTNAME=wcproto.mydomain.com #service network restart and another one: Change linux hostname These changes aren't required by every single distribution. But if you change all of them, you are most likely better off :) Change new hostname into /etc/HOSTNAME, /etc/hosts, /etc/sysconfig/network and /etc/sysconfig/network-scripts/ifcfg-eth* Change in /etc/hosts isn't required, if you don't need your hostname to be an alias for localhost. Here are examples of each file. Note that my hostname is 'isis' /etc/HOSTNAME isis /etc/hosts 127.0.0.1 localhost.localdomain localhost 127.0.0.1 isis /etc/sysconfig/network NETWORKING=yes HOSTNAME=isis GATEWAYDEV= GATEWAY= On my conf /etc/sysconfig/network-scripts/ifcfg-eth0 didn't have hostname defined anywhere. So changing it there wasn't necessary. If you want to, you can now reboot. If you don't want to reboot, simply run hostname <hostname> Len
