LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 01-15-2006, 02:23 AM   #1
zulfinho
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 01-15-2006, 09:22 AM   #2
dadu
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian Etch GNU/Linux
Posts: 1

Rep: Reputation: 0
You need to edit /etc/HOSTNAME.
 
Old 01-15-2006, 09:27 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.
 
Old 01-16-2006, 05:32 AM   #4
zulfinho
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing hostname sh4d0w13 Debian 4 06-14-2005 11:45 AM
hostname changing Baracuda Linux - General 4 04-04-2005 09:07 AM
Hostname changing Neorio Linux - Networking 2 01-03-2004 08:11 PM
changing hostname glock19 Linux - Networking 3 02-01-2002 10:26 PM
Changing hostname kbaldor Linux - General 1 01-31-2002 03:01 PM


All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration