LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-13-2003, 06:04 PM   #1
lnxusr01
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Rep: Reputation: 0
Exclamation red hat 9 logon error


I just installed Red Hat 9. Right after I logon, I get the following error:

Could not look up internet address for dhcp-82-86. This will prevent GNOME from operating correctly. It may be possible to correct this problem by adding dhcp-86-82 to the file etc/hosts.

[Log in Anyway] [Try Again]


Bypassing the error by hitting Log in Anyway continues the login, and I have no problems accessing the internet or anything else for that matter. I tried adding the line suggested to hosts, which didn't change anything. I have cable internet, and network prefs are set to use automatic dhcp configuration, so I'm not sure what is going on. When I log on, it also lists my account as 'dhcp-86-82@localhost.localhost. What's going on here?

Thanks in advance - any help or advice is greatly appreciated!
 
Old 07-14-2003, 12:57 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I also use cable modem and I have the same problem.
Linux will work correctly (including GNOME).

If I understand what is happening, your system is getting this address (dhcp-86-82) from your ISP and, unfortunately, when the system tries to resolve it, it will not find it, because dhcp-86-82 is not valid.

Long story short. I do not know how to correctly fix this issue. I ended up using one of my valid domain names as a hostname for my box. -> Problem fixed.
But not everyone as a domain name.

If you plan on using SendMail locally, every e-mail you send out on the internet will have a return-path: root@dhcp-86-82, which may caused some problems when some people, not all, try to reply.


If anyone knows how to fix this correctly, please post all suggestions.
 
Old 07-14-2003, 08:24 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
i think it's trying to find that address on your local
machine, and your hostname isn't set up right, or
it's loopback entry doesn't exist in /etc/hosts, such
as
127.0.0.1 localhost
or whatever yourhostname is.
 
Old 07-14-2003, 11:00 PM   #4
seabass55
Member
 
Registered: Jan 2003
Location: 127.0.0.1
Distribution: Fedora&Gentoo
Posts: 207

Rep: Reputation: 30
In order to fix this just do the following.

hostname <makesoemthingupthat'scool>
vi /etc/sysconfig/network
Change your hostname to what you changed it to above
vi /etc/hosts

Since the dhcpwhatever your ISP issues you isn't a real hostname you can make your computer think it's a real hostname by adding it to /etc/hosts since your computer will search it first.

# Do not remove the following line, or various programs
# that require network functionality will fail.
192.168.0.3 Shadow dell
192.168.0.4 Crackwhore laptop
192.168.0.2 Daemon daemon
127.0.0.1 localhost Router

in the above example "Router" is what I named that machine as so I added that to hosts.

Once you name it whatever you want and add it to hosts you won't have this problem.

seabass
 
Old 07-15-2003, 04:45 PM   #5
lnxusr01
LQ Newbie
 
Registered: Jul 2003
Distribution: Red Hat 9
Posts: 9

Original Poster
Rep: Reputation: 0
Thumbs up fixed it!

Thanks seabass55, your solution worked great! Much obliged!

lnxusr01
 
  


Reply


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
During Red Hat Linux 9 install: error "No devices found to install Red Hat Linux" rbradtx Linux - Newbie 11 06-25-2010 05:55 PM
Error during installation Red Hat 9 cispa Red Hat 1 03-31-2004 11:58 AM
./configure error on Red Hat 9 blakezinho Linux - Newbie 2 03-28-2004 04:45 PM
red hat 7.1 iptables error aviad Linux - Networking 1 05-27-2003 09:08 AM
Installation Error for Red Hat 7.1 xc_racer Linux - Software 1 02-12-2002 05:50 AM


All times are GMT -5. The time now is 06:46 PM.

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