Find the answer to your Linux question:
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 ...
  1. #1
    Linux 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.

    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.
    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?

    Any help would be great!!!!!
    An IM would be greatly appreciated also if anyone is up for it: ibanex22

    THANKS,
    Erik

  2. #2
    Linux 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.

  3. #3
    Linux 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?

  4. #4
    Linux 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.

  5. #5
    Linux Newbie
    Join Date
    Oct 2006
    Posts
    101
    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.
    DHCP is enabled on my router starting at 192.168.0.100 with 50 DHCP users.

  6. #6
    Linux 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
    Code:
    sudo [or as root...] /etc/init.d/networking stop
    sudo [or as root...] /etc/init.d/networking start
    If it goes through and connects like it tried to in the first post, great. If not, enter:
    Code:
    dhclient
    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.

  7. #7
    Just 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.....

  8. #8
    Linux 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •