Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
Click Here to receive this Complete Guide absolutely free.
I've recently installed Fedora Core 1 and I'm trying to change the hostname. For this example, let's say I want to call my computer 'newmachinename'. I found that by running 'hostname' command like so:
would change the hostname as it's listed at
and would stay changed until I reboot, from which time it would go back to 'localhost'.
Then, I did the following which remained stable on reboot:
-changed /etc/sysconfig/network HOSTNAME value to newmachinename.
-added 'newmachinename' to /etc/hosts just after 'localhost' and on the same line.
I've rebooted several times and the 'newmachinename' persists.
Now, I have a different problem in that I'm trying to get my wireless card to work (topic for a different post). Anyway, upon inserting the wireless card, my laptop locks up completely and the only thing to do is to flip the on/off switch. When it finally boots up again, the machine has returned to its default name of 'localhost'. Also, when rebooting, I see a message stating that some recovery is going on. So, I think the hostname configuration is being backed up somewhere and rewritten on an unclean reboot.
Is there a more robust mechanism for setting the hostname so that it remains stable?
One possible catch is that I need to use dhcp and so I don't have a fixed IP address.