Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-16-2003, 06:59 PM   #1
LQ Newbie
Registered: Dec 2002
Posts: 2

Rep: Reputation: 0
invalid hostname

I have a question concerning what actually determines the hostname. Here is my question, I am running RH8.0 and during the install I gave my workstation a hostname of blahblah (not really blahblah, but it'll work for my question), ok everything is fine and dandy until I reboot, once I reboot I get something akin to a MAC address (there was actually 9 duets xx-xx-xx-xx-xx-xx-xx-xx-xx), I could goto a console prompt and set the hostname to blahblah and when I logged into gnome it would reflect blahblah (however, when I checked what the hostname was using set, it showed up as the 9 duets again). I verified in the /etc/hosts file that the hostname was set correctly (it was), and rebooted, again with the duets, I finally got the hostname blahblah to stick by going through the network gui off of the system settings. So my question is what does the system settings portion update to make this change????

Old 04-16-2003, 07:22 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Try setting it in /etc/sysconfig/network


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squirremail says invalid user or invalid password. rnj Fedora 9 10-25-2004 10:56 PM
AuthUserFile Invalid !!??? Louie55 Linux - Networking 2 04-18-2004 08:41 PM
what is an invalid shell? danahata Linux - General 3 08-22-2003 10:03 AM
invalid hostname using dhcp hbob Linux - Networking 8 05-27-2002 02:36 AM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 06:01 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration