Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had always worked fine with my Red hat 4.0 untill yesterday night when i logged in i had an error saying: "HOSTNAME could not be found, you can resolve this by editing the /etc/hosts"
eventually it logged me in but when i launch the terminal ...i now see 'username@(none)dir' .
In other words my HOSTNAME shows as 'none'.
I looked into /etc/hosts file but everything looks the same, which for is:
127.0.0.1 mluboya
When i look into network configuration, my host is well: mluboya
Note that hostname doesn’t change anything permanently.
After reboot original names from /etc/hosts are used again.
From man hostname fedora 12
There are several places it needs setting, but they can all be done from GUI components.
I pointed out in your other post that you have probably been rooted.
Have you checked your system out yet ? Your external USB drive stopped connecting and your hostname (and ifcfg) have disappeared. Things like that just don't happen.
Get a live cd and run virus checks and rootkit checks before you go any further.
I suggest INSERT http://www.inside-security.de/insert_en.html
Use chkrootkit to see if your files have been rooted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.