Computing.Net > Forums > Linux > host name

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

host name

Reply to Message Icon

Name: kris
Date: May 27, 2002 at 16:24:14 Pacific
Comment:

when I boot up my redhat 7.0, I get an error stating that the system could not look up the internet address for localhost.localdomain. I can still get on the internet with my road runner connection and everything else seems to be ok. It said to manually enter the localhost.localdomain into etc\host file so I did but I still get the error message.



Sponsored Link
Ads by Google

Response Number 1
Name: Lawrence
Date: May 27, 2002 at 17:42:57 Pacific
Reply:

What exactly does it, content, look like?

Lawrence


0

Response Number 2
Name: xnetfly
Date: May 27, 2002 at 20:09:59 Pacific
Reply:

ink it reads like that but you get the jist) change that to what ever you host name is:

Mine was deskdog so that would replace it: 127.0.0.1 deskdog localhost
should look like that for me!!!!

I hope this helps out!!!!!

xnetfly



0

Response Number 3
Name: xnetfly
Date: May 27, 2002 at 20:12:13 Pacific
Reply:

opps something happened there sorry here is what I meant:

I can share the wealth!!! I had the same problem. Came to this site and figured it out. What you have here is a /etc/hosts file that is not working properly.

You are probably not getting a graphical loggin either. Here is how to fix your problem!

1. When you boot up and your screen comes to the login in prompt, read what it says for the host name. Other words the login prompt looks like this:

(host name) login:

Where mine is:
deskdog login:

2. Now right that down and login under root. type cd .. to get to the top of the dir. then cd in etc. In this folder is a file named hosts... type more hosts to read it. (if you have more I am sure you do) Where it has localhost.localdomain (I think it reads like that but you get the jist) change that to what ever you host name is:

Mine was deskdog so that would replace it: 127.0.0.1 deskdog localhost
should look like that for me!!!!

I hope this helps out!!!!!

xnetfly


0

Response Number 4
Name: xnetfly
Date: May 27, 2002 at 20:13:51 Pacific
Reply:

Opps forgot something you might need to know:

to change the file type:

%pico hosts
That should get you to a text editor!!!

COOL LATER!


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: host name

bind host names www.computing.net/answers/linux/bind-host-names/13967.html

Cannot Resolve Host Names www.computing.net/answers/linux/cannot-resolve-host-names/9485.html

changing host name (linux) www.computing.net/answers/linux/changing-host-name-linux/12428.html