LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-25-2005, 06:59 PM   #1
Baracuda
Member
 
Registered: Aug 2002
Posts: 60

Rep: Reputation: 15
hostname changing


When I boot up my computer I keep getting a different hostname. It may be one for a few times then it will switch to another hostname.

I am using RHL 9. My ISP uses DCHP for IP assignment.

I found the other thread under distributions about someone that had a problem with changing hostname. I cannot use netconfig to set the hostname because I do not have a static IP address. I do not have the file HOSTNAME on my computer.

The problem began after my wife visited a certain website which attempted to install a program on the computer. Since that time I have been having this problem with the hostname. I did not detect any virus when scanned. I did a search for the hostname that it usually reverts to but cannot find it in a search checking text files.

What are my possible sources of the problem and the solution?

Thanks!!!!!!!!!!!!!!!!!!!
 
Old 02-25-2005, 09:22 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 58
did you try to edit :

---> /etc/sysconfig/network
that says:

---> HOSTNAME=
 
Old 02-26-2005, 06:07 AM   #3
Baracuda
Member
 
Registered: Aug 2002
Posts: 60

Original Poster
Rep: Reputation: 15
/etc/sysconfig/network does not show the hostname that keeps appearing. That is why I am confused.

Example:
The hostname comes up as "B5R3S8" but I cannot find any reference to this hostname anywhere. All settings for hostname are localhost.localdomain.
 
Old 02-26-2005, 02:22 PM   #4
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 588

Rep: Reputation: 45
Debian keeps hostname in '/etc/hostname'. Not sure about RH. You should also check '/etc/hosts' I don't think that is the problem.

Perhaps it helps.

Ott
 
Old 04-04-2005, 08:07 AM   #5
Baracuda
Member
 
Registered: Aug 2002
Posts: 60

Original Poster
Rep: Reputation: 15
Been there done that and still the hostname keeps changing on me. Right now it keeps changing between my MAC address and some name I have no idea where it is coming from. What is changing the hostname?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
changing hostname sh4d0w13 Debian 4 06-14-2005 10:45 AM
hostname changing rusty_slacker Linux - General 2 04-15-2005 06:49 PM
Changing hostname? Alf829 Linux - Networking 2 03-08-2004 08:31 AM
Hostname changing Neorio Linux - Networking 2 01-03-2004 07:11 PM
Changing hostname tristan2600 Linux - Newbie 1 10-17-2003 08:18 PM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
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