Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
/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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.