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 have a small network with several win machines. They all have a unique name. The network is connected to a router which gives a connection to a cable network. The router is configured to give dynamical addresses. Network is up and running. No Problems.
I have a laptop with red hat9 works fine, I can access INTERNET by the router. I intend to use samba to use the laptop as a workstation on the win network.
By the installation, this laptop got obvious the name
localhost.localdomain.
Typing HOSTNAME in the console localhost.localdomain is the reply.
Using Hostname to change the name, changes the name only for the session but it also blocks the console. You can't open a new one or you can't open the conso;e anymore (at that session).
This name is also on the tab of the network configuration utility.
Changing this name on this tab gives an error. I thought perhaps I have also to change the HOST file in /etc/.
Is it possible to change this name? Say I want to call the computer ADAM , can I change it this way, or are there more complications.(other files to change perhaps? The tab on the network configuration?)
CB
Last edited by CloudBuilder; 09-15-2003 at 05:47 PM.
I am having a similar problem in MDK 9.1 I get a hostname from my cable modem. Even though /etc/sysconfig/network shows the correct hostname. I have restarted/rebooted/reinstalled all with the same result. I can make a temp fix by stop i'net link issue hostname newhostname, restartinternal network. Hostname is now correct, but when I restart the external (i'net) interface the hostname reverts to a long string dexfribing my location on the cable modem's network.
To you who where having problems: try setting the hostname manually by typing "hostname -v <hostname>" , then typing "hostname" to see if it works, and then reboot and see if it stays.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.