Results 1 to 8 of 8
Recently I changed my linux box's input from a port on my hub directly to my router. I could not connect to the internet and my system said eth0 was ...
- 11-09-2006 #1Linux Newbie
- Join Date
- Oct 2006
- Posts
- 101
DHCPDISCOVER error when configuring eth0
Recently I changed my linux box's input from a port on my hub directly to my router. I could not connect to the internet and my system said eth0 was not active. I tried installing/reconfiguring etherconf but I keep getting this error when it finishes.
Could be a very easy error... I have been messing around with my internet/router settings so I could have changed something in there. Also, I do not really know what my domain is or how to find it. I looked up on my router settings and found hsd1.il.comcast.net but it doesn't want to work. Also found c-24-15-54-123.hsd1.il.comcast.net. Which one, if any, should I use?Code:Listening on LPF/eth0/00:11:d8:4e:8f:91 Sending on LPF/eth0/00:11:d8:4e:8f:91 Sending on Socket/fallback/fallback-net DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 No DHCPOFFERS recieved. No working leases in persistent database. Exiting.
Any help would be great!!!!!
An IM would be greatly appreciated also if anyone is up for it: ibanex22
THANKS,
Erik
- 11-09-2006 #2Linux Newbie
- Join Date
- Aug 2006
- Posts
- 107
It means it is not getting information from your DHCP server which is likely your router in this case. What is asking for domain name? You shouldn't need one at all.
- 11-09-2006 #3Linux Newbie
- Join Date
- Oct 2006
- Posts
- 101
When I reconfigure etherconf package it asks for it. How would I get information from my DHCP server/router?
- 11-09-2006 #4Linux User
- Join Date
- Aug 2005
- Posts
- 408
What does your /etc/network/interfaces file look like?
'cat /etc/network/interfaces'
Also, you may have DCHP turned off on your router.
- 11-09-2006 #5Linux Newbie
- Join Date
- Oct 2006
- Posts
- 101
DHCP is enabled on my router starting at 192.168.0.100 with 50 DHCP users.Code:### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT. auto lo eth0 iface lo inet looplback iface eth0 inet dhcp ### END OF DEBCONF AREA. PLACE YOUR EDITS BELOW; THEY WILL BE PRESERED.
- 11-09-2006 #6Linux User
- Join Date
- Aug 2005
- Posts
- 408
Hmm. First, I would delete the "l" in the middle of "looplback." That shouldn't be there. It should just read "loopback."
After you edit that out (ignoring that strident warning from debconf), try
If it goes through and connects like it tried to in the first post, great. If not, enter:Code:sudo [or as root...] /etc/init.d/networking stop sudo [or as root...] /etc/init.d/networking start
If that doesn't work, the next is a very simple suggestion: do you have wired and wireless ethernet on that computer? If so, which one is eth0 and how are you trying to connect? Obviously, if it only has an entry for wireless (eth0) and you're trying to connect via a wired connection (eth1), there's no entry for it. Sorry for the comment, but sometimes obvious things like this are involved.Code:dhclient
- 11-09-2006 #7Just Joined!
- Join Date
- Nov 2006
- Location
- under the bridge
- Posts
- 14
Check your dhcp server
Also you must check your dhcp-server configuration.
Is the dhcp-server fixing address for each network-card(mac-address)?
Is it using a range of IP addresses?
Try the basic stuff first(eraker has told you many things..), then try what I've suggested to you.....
- 11-10-2006 #8Linux Newbie
- Join Date
- Oct 2006
- Posts
- 101
Thank you guys so much, I stopped and started and it connected again with some work. THANKS AGAIN!!! VERY GRATEFUL!!!!
-Erik



