Hostname


Forum: Networking
Topic: Hostname
started by: numknuf

Posted by numknuf on May 06 2004,15:02
How do I permanently change the hostname on a hd-install?

Also how do I let other machines on my network know the name of this computer especially XP....

Posted by woverin on May 06 2004,16:18
bring up a terminal
sudo su    #become root
scite /etc/hosts
replace box with your host name

Posted by numknuf on May 07 2004,08:49
I did that, but it still asks me to log onto box. The prompt also still says box.

And now it says this when I try to sudo su:
sudo: unable to lookup box via getHostbyname()

If I ping from my XP machine it still says it can't find the host both with box and my new hostname.

Posted by numknuf on May 07 2004,11:51
There is a line in /etc/init.d/knoppix-autoconfig that says:
hostname box

I had to change this to make it work. But still it isn't available by hostname from a xp machine anybody know how?

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.