Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently installed Debian on a laptop using a live CD. Now with the same NIC and ethernet connection, I can't get a DHCP offer. I'm running Windows machines off the same cable modem no problem.
I've looked at many FAQs, HOWTOs and forums but cannot seem to resolve this issue. ifconfig reveals eth0, which appears to be functioning normally (it's plugged in).
Using ifdown eth0 and then ifup eth0, I get a series of DHCPDISCOVERs but no DHCPOFFERs. Resetting the cable modem and restarting the computer does not resolve this issue. All the while, my Windows machines work fine.
I suspect it's not a hardware issue since I used the same NIC and ethernet connection to install Debian in the first place. I'd be more than grateful for any advice on how to troubleshoot this issue and can provide the syslog entries if that would help.
Have you tried using dhclient? You could run the following command:
dhclient ethX
where X is the number of the interface you are using. That command will get your machine to try again for a DHCP address. If your not running as root you may need to preface it with 'sudo'.
You might also try running:
mii-tool ethX
This will show your link status. Again these commands need to be ran as the user root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.