How do you change your hostname?
I went to my commandline to change my host name with su with cmd: hostname newlocalhostname
This changed it but when I reboot I get my same old localhost hostname... can you tell me what I'm doing wrong? |
try this (as root)
echo "new_host_name" > /etc/hostname |
Which distro and version are you using? Be sure to check the online docs for that distrobution and it should tell you how to set your hostname, as that is very basic stuff on a linux box (Shouldn't it be manditory??)
|
I'm using Turbo Linux 10F
|
All good suggestions above :)
As root Code:
# hostname (new hostname) |
Quote:
|
What does your /etc/hostname file say?
|
All times are GMT -5. The time now is 09:41 AM. |