Linux - GeneralThis 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
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.
My questions is this. It looks like i will have to redo my Mandrake box (groan). Now that i feel abit more confortable im curious about some things.
Host: Address 127.0.0.1 localhost.linix localhost localhost.localdomain
DNS Client :localhost
I found these in the DNS client and on the Nic. Is there a global place where i can change these names that will be refected throuout the system or are these the only places i should make the changes to my server?
If I change that in /etc/hosts it is not reflected in the redhat-config-network app!!
Does this mean that the redhat-config-network app does not read it's info from /etc/hosts?
I'm running whitebox (port of RHEL).
I would prefer to do this without having to rely on the GUI (trying hard to break that habbit) as I can get some xterm stuff running remotely (via ssh and cygwin) but would much much prefer to simply use command line.
I am not familiar with redhat-config-network app but most of the time you get your hostname from the hostname command. The file /etc/hosts is not for assigning a hostname. It is usually for setting up your local lan. Because your ISP's dns server will not know that you have a computer on your lan called dadscomputer that has an ip of 192.168.0.2.
When I ran the hostname app it didn't change the files above...
Where exactly are the files that keep the permanent info for your hostname? Are they the /etc/sysconfig/network-scripts/ifcfg-eth0 and etc/sysconfig/network? so if I just needed one change and had to do it the hardway then those two files should do it yeah?
---------------
ok after more investigations it looks like ifup calls /etc/sysconfig/network so I'm going to assume that this file IS the permanent one and forget all the other options... unless someone else points out I'm doing this all wrong
Last edited by thesurfingroach; 03-02-2005 at 08:48 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.