Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-20-2005, 09:06 PM   #1
LQ Newbie
Registered: May 2005
Location: Newcastle upon Tyne, UK
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
Help setting host name please?


I've tried loads of different things, searched Google and other forums but nothing seems to work. Everytime I log in, I'm faced with the same thing:

could not look up internet address for x1-6-00-02-e3-0b-39-3f This may prevent GNOME from operating correctly.....
I've tried opening a terminal and typing su to go to root, then typing hostname localhost. It changes if I close then reopen the terminal, but when I log out, it goes back to how it was.

I've changed my hosts file in /etc/hosts to read: localhost@locaoldomain localhost

I've tried x1-6-00-02-e3-0b-39-3f localhost

I'm really stuck now.

Could someone please tell me how to set it up please?

I'm using Fedora Core 2 and have also tried adding it to the network setup. It doesn't even register there. lol

I do have my own domain names registered and they point to my IP, but I'm happy enough to have it say localhost at the bottom of the login screen rather than x1-6-00-02-e3-0b-39-3f

Many thanks and sorry about this. I know it's probably sometjhing that's been asked time and time again.
Old 05-20-2005, 10:33 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 59
Here's what my FC3 /etc/hosts looks like....
# Do not remove the following line, or various programs
# that require network functionality will fail.	localhost.localdomain	localhost	sony
and here is the /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
Setting up a virtual host zupidupi Linux - Networking 2 01-30-2005 08:58 AM
Setting the Host name xailer Linux - Newbie 9 11-18-2003 08:35 PM
setting up telnet host leroy27336 Linux - Networking 2 11-12-2003 02:13 PM
Setting up host in Terminal? CauSTiC Linux - General 6 10-06-2002 07:54 AM
Setting up host in Terminal? CauSTiC Linux - Newbie 3 10-06-2002 06:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:19 AM.

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