LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-11-2002, 10:57 AM   #1
EEprom
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Rep: Reputation: 0
Login Error


Just installed RedHat 8.0 along with WinXP. Install seemed to go fine and am able to boot into either operating system. However I do get this error when I am logging on tho RedHat:

'Could not lookup internet address for dhcp-270-3. This will prevent Gnome from operating correctly. It may be possible to correct problem by adding dhcp-270-3 to the file /etc/hosts.'

I then get an option to logon anyways and I can still get to my desktop and am able to access the internet thru Mozilla or e-mail.
I have a cable modem going to the uplink port on my hub and my computer is hooked into one of the existing ports. I have another computer hooked into another port on my hub but am not networking these together..just sharing internet. The cable modem assigns IPs to my computers and my internet provider permits up to 5 IPs per household.

Just looking for a little assistance on clearing up this logon issue. TIA
 
Old 10-11-2002, 03:10 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,576

Rep: Reputation: 191Reputation: 191
Do you know what dhcp-270-3 is?
 
Old 10-11-2002, 07:37 PM   #3
EEprom
LQ Newbie
 
Registered: Oct 2002
Posts: 2

Original Poster
Rep: Reputation: 0
not sure ...possibly cable modem since that is where my computer gets its IP
 
Old 12-04-2003, 09:19 PM   #4
rpkosuri
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
I too have a similar problem when i log into Linux 'Could not lookup internet address for x1-6-00-e0-29-88-64-85. This will prevent Gnome from operating correctly. It may be possible to correct problem by adding x1-6-00-e0-29-88-64-85 to the file /etc/hosts.'

I have relocated recently and got new internet connection. I have a dual boot system, both XP and Red Hat LInux 8.
Earlier I used to have two computers connected to the cable modem through a Linksys Router.

The /etc/hosts has the following information:
127.0.0.1 localhost.localdomain localhost


Now since I am not connecting through a Router, i guess i need to do something with network configuration.

Any help to resolve this issue is very much appreciated.
 
Old 12-05-2003, 01:45 PM   #5
rpkosuri
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
Just want to add to my previous request that '00-e0-29-88-64-85' is the ethernet hardware address.
 
Old 12-05-2003, 02:09 PM   #6
mac_phil
Member
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
Ok, take my advice with a grain of salt, but here it is.

Check the file /etc/hosts. If you are on DHCP it should ONLY contain:
127.0.0.1
localhost

If it contains anything else the copy the file to /etc/hosts.old. (In case this screws up you can revert back by doing cp /etc/hosts.old /etc/hosts). Now open up /etc/hosts in a text editor and delete all the other entries.

Now try restarting your connection and/or xserver.

Also is your internet connection set up for DHCP?
 
Old 12-10-2003, 03:17 PM   #7
rpkosuri
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
I checked /etc/hosts file. There is only one line in it:
127.0.0.1 localhost.localdomain localhost

Yes, my internet is set up for DHCP.

The only difference is, earlier, I have connected this computer through a router to the cable modem. Now I have no router, connecting directly to the cable modem.

I am still looking for solution to over come this problem. - Thanks.
 
Old 12-11-2003, 01:18 PM   #8
rpkosuri
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
Did some more search and noted the following:
The file /etc/rc.d/rc.sysinit, which is run at boot time, executes /bin/hostname.
and assigns to environment variable HOSTNAME. When /bin/hostname is executed, it is returning
'x1-6-00-e0-29-88-64-85' of which '00-e0-29-88-64-85' is the ethernet address. It should be returning
'localhost'.

I don't know why /bin/hostname executable is not retuning the proper hostname.

Any help please.
Thanks.
 
Old 12-11-2003, 02:29 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,576

Rep: Reputation: 191Reputation: 191
I guess it's the host name from DHCP. It may help to run
hostname dhcp-270-3
because I understand it has something connected with your machine.
 
Old 12-11-2003, 03:23 PM   #10
rpkosuri
LQ Newbie
 
Registered: Dec 2003
Posts: 9

Rep: Reputation: 0
Just want to know what is dhcp-270-3 and what does it do when i type hostname dhcp-270-3.

Meanwhile before i received your suggestion, I tried to run hostname localhost. It did take it and
set the environment variable HOSTNAME to localhost. But the computer stopped responding to
any commands such as opening a new window etc.
So, I rebooted the computer. The hostname is pointing back to the ethernet address.

Just want to know a little more about what dhcp-270-3 does before i run it.

Thanks for your help.
 
Old 12-11-2003, 03:32 PM   #11
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,576

Rep: Reputation: 191Reputation: 191
It looks just like a name. You have it somewhere in your configuration file (hmm..maybe it's your default gateway?).
 
  


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
Login error drowbot Linux From Scratch 1 12-21-2004 12:44 PM
Login error..... josh89 Red Hat 11 01-10-2004 07:19 AM
Login error MrFlex Linux - Newbie 5 11-24-2003 09:07 PM
Newbie Login Error HELP! Ro_laids Linux - General 6 04-17-2003 09:19 PM
GNOME error on login lgabrees Linux - Software 5 03-11-2003 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 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