I feel retarted
I want to change the name of my linux box. Right now it is the big ugly dhcp string. I've asked how to do it before and got it to work, but of course couldn't find the tread again.
I want to change it permenatly, so #hostname isn't the answer. my /etc/hosts file only has one line and I don't really feel too comfertable changing it unless i need to. /etc/sysconifig only has one line that says 'NETWORKING=yes'. Any thing would be much appreciated. |
Code:
[root@simon chris]# cat /etc/sysconfig/network |
If using dhcp, you should also add DHCP_HOSTNAME = your_name in the network file.
Not that it won't work without it, but for example my router shows that UNKNOWN is connected unless I use that. |
/etc/sysconfig/network-scripts/ifcfg-eth0
NEEDHOSTNAME=no |
All times are GMT -5. The time now is 08:18 PM. |