[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Odd dhcpcd behaviour



Recently, and I am guessing during an 'aptitude upgrade', dhcpcd was
uninstalled.  At the next boot I had no internet connection, and could
not reinstall dhcpcd without one.  I had to download the deb package
on another computer and then copy it over via floppy to run dpkg -i.
I mention this just in case this method makes some difference in
figuring out what is going on.  BTW, I did try aptitude install dhcpcd
to see what would be needed first, and this was all that it seemed to
want.

This was really no big deal, but now things have become really
strange.  About half the time since this I find that after booting I
have no internet connection.  Ifconfig shows that eth0 is up, but
there is apparently no dhcpcd operating.  Right now if I run 'ps aux |
grep dhcpcd' I get this: "root      3730  0.0  0.0   1592   200 ?
 S<s  16:45   0:03 /sbin/dhcpcd-bin -h celephais -Y -N -R eth0".  But,
 on the occasions I don't have any connection I get nothing at all
 from this.

This is obviously annoying, but normally I would think I could work
around it.  However, now I am finding that to be more difficult that I
would have expected.  I have hunted through /etc/init.d and have found
nothing which would be obvious in having the connection reprobed and
set up. I tried /etc/init.d/networking force-reload, and am simply
told that lo is already up and running.  Of course, so is eth0, but
there is no dhcpcd running, and that is what I want to get going.  I
have tried starting that manually but so far have been met with a
number of complaints but no success.  I have scanned dmesg, after both
successful and unsuccessful boots, and cannot find any reference at all
to dhcp and so cannot make a guess as to when and where dhcpcd is
being activated or how.  I also have watched during boot and don't
see anything but a passing reference to eth0, but no dhcp at all.

What this all means is that I have to reboot in order to get an
internet connection, and that is obviously not convenient.  I am
wondering two things now.  First, why is this not working every time?
It never failed until after I discovered that dhcpcd was no longer on
my computer and reinstalled it the less  Second is how can I get
it going after a boot so that I don't have to reboot entirely? 
Any suggestions or ideas are very much appreciated.

Many thanks,

Patrick



Reply to: