Networking :: Changing Hostname with HD Install
I've got DSL 0.5.1.1 and I need to know how to permanently change the hostname on an already-installed system.
I can do hostname <whatever> or cat <whatever> > /etc/hostname but it will not stick.
What configuration file controls the hostname?
Regards,
Dave
It is in the file /etc/init.d/knoppix-autoconfig Search for "Set hostname"
# Set hostname
hostname box
Roberts,
Thanks for the info on changing the hostname, I was wondering the same thing, and it worked great! Thanks again.
Joel
Worked for me. Thanks!
Dont't forget to change the hostname in /etc/hosts, too! The default, I believe is
127.0.0.1 box localhost
Next Page...
original here.