LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   hostname keeps changing (http://www.linuxquestions.org/questions/linux-newbie-8/hostname-keeps-changing-403510/)

zulfinho 01-15-2006 01:23 AM

hostname keeps changing
 
hi,

i'm using slackware 7.1 kernel 2.4.27
i dunno why but the hostname keeps changing... here's my /etc/hosts:
127.0.0.1 localhost
10.0.0.151 slackserver

everytime i boot, i keeps changing to other name than that.
help anybody?

cheers,

zulfikar dharmawan

dadu 01-15-2006 08:22 AM

You need to edit /etc/HOSTNAME.

trickykid 01-15-2006 08:27 AM

hostname <newhostname>

And you should really think about upgrading your Slackware, unless you've been maintaining it with -current as it's about 5 years outdated now.

zulfinho 01-16-2006 04:32 AM

Alrighty...

Thanks all it works,
I'll update it soon, but you know what they say, as long as the system works just fine, why change? ;)

Cheers,

Zulfikar Dharmawan


All times are GMT -5. The time now is 05:40 PM.