Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Hostname< Next Oldest | Next Newest >
numknuf Offline





Group: Members
Posts: 23
Joined: May 2004
Posted: May 06 2004,15:02 QUOTE

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....
Back to top
Profile PM 
woverin Offline





Group: Members
Posts: 115
Joined: Nov. 2003
Posted: May 06 2004,16:18 QUOTE

bring up a terminal
sudo su    #become root
scite /etc/hosts
replace box with your host name
Back to top
Profile PM 
numknuf Offline





Group: Members
Posts: 23
Joined: May 2004
Posted: May 07 2004,08:49 QUOTE

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.
Back to top
Profile PM 
numknuf Offline





Group: Members
Posts: 23
Joined: May 2004
Posted: May 07 2004,11:51 QUOTE

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?
Back to top
Profile PM 
3 replies since May 06 2004,15:02 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Hostname

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code