DebianThis forum is for the discussion of Debian Linux.
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've just installed (eh, well several times since I thought I did something wrong when rebuilding the kernel for my needs) debian 7.5.0 i386 on an old Toshiba Satellite A100.
The installation works alright except when it comes to dhcp where I had to try several times to get an ip. The installation eventually did complete but now I rarely get an ip for that machine.
I have several machines (win & debian6) connected to the router and have never had any issues before. Is dhcp unstable in 7.5 or is it just my hardware (Intel PRO/100 VE)
Debian 6.0.9 is still available, shall I get that instead or is this a fixable issue?
Oh, I don't think it should affect things to the worse but I'm not installing any gui, it's just a console install. I intend to run the machine as a server and manage it via Putty.
Amazing... while typing this the machine actually did get an ip! Anyway, it should be more or less instant so something isn't as it should.
the dhcp client should be rock solid. Can you check the logs of your dhcp server? Also, can you post the output of dhcp while it is struggling to get an IP address? Either of these may provide clues about possible settings you could tweak in /etc/dhcp/dhclient.conf (or on your dhcp server) to make it work better.
Today I got ip directly at boot so I tried to force the issue by running ifdown/ifup but of course without any "real success".
Messing around a bit however revealed something that might be significant. I removed the cable and did ifdown. I then inserted the cable again and did ifup and now I get (without the leading copyright and so on)
Quote:
DHCPDISCOVER on ETH0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on ETH0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ETH0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ETH0 to 255.255.255.255 port 67 interval 20
...
NO DHCPOFFERS recieved
and this with no trace of any activity in the router log.
A shutdown -r 0 didn't resolve anything and neither did a shutdown -h 0 with a following power button start. Since this is an old laptop with a bad battery and I left it unconnected yesterday I now suspected that removing the battery might help and, voila!, it did!
To me it seems like the hardware isn't properly handled/resetted and thus may end up in some invalid state. What to do about it is another story...
My dhclient.conf is just as it is from a fresh install but here it is anyway
Quote:
# Configuration file for /sbin/dhclient, which is included in Debian's
# dhcp3-client package.
#
# This is a sample configuration file for dhclient. See dhclient.conf's
# man page for more information about the syntax of this file
# and a more comprehensive list of the parameters understood by
# dhclient.
#
# Normally, if the DHCP server provides reasonable information and does
# not leave anything out (like the domain name, for example), then
# few changes must be made to this file, if any.
#
option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
Well, when starting today the battery contained some power and I didn't get an ip. Unplugging it resolved the issue again so I think it's quite safe to say that the root cause is some driver or hardware bug. Even though the issue isn't really solved I mark the thread as so. Fixing the driver would be the proper thing to do but without the necessary hardware documentation it's probably quite a task.
Hm, marking the thread as unresolved again since today it's impossible to get an ip even when doing a full power reset.
The eth0 is an Intel PRO/100 VE and it seems that it has caused headaches to a lot of people...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.