PDA

View Full Version : How do I change the hostname?



jensen
04-08-2003, 05:56 PM
I tried to change the hostname in /etc/hostname and /etc/hosts but after saving the configuration, and re-booting with floppyconfig the hostname still came up Knoppix. I even ran the hostname command, to no avail.

How do I change the hostname in Knoppix 3.2?

Thanks,
Lars

arkaine23
07-18-2003, 02:37 AM
After altering the config file, try:

/etc/init.d/hostname.sh

arkaine23
07-18-2003, 10:30 PM
There's also a line in the script /etc/init.d/knoppix-autoconfig you can change that will probably work. Its about line 1053 or so....