You are not logged in.

#1 2013-02-21 02:59:05

barronmo
Member
Registered: 2012-08-21
Posts: 55

[Solved] dhcpcd times out, fails

i686
kernel 3.6.6-1
dhcpcd 5.6.2
desktop xfce
My ethernet card is a Rhine II VT6102 rev 74 and the driver is via_rhine.

Today I installed xscreensaver and immediately lost my network connection.  So far I have tried the following without success:

  • killed xscreensaver and removed the package

  • reboot

  • found eth0 state was UNKNOWN rather than UP

  • tried several versions of ip link... without any change

  • unplugged the network cable for a few seconds; now eth0 state is UP

  • restarted dhcpcd@eth0

  • stopped dhcpcd@eth0 and tried just dhcpcd eth0

  • disable dhcpcd@eth0 and enable dhcpcd

  • reload the driver using modprobe

Sorry for the lack of log/error msg output but I have no way to get the data off the computer except copy by hand and then manually enter it here.  Journalctl and the error msgs are all similar however:

eth0: sending IPv6 router solicitation
rebinding lease of 192.168.1.22
sending IPv6 router solicitation
broadcasting for a lease
sending IPv6 router solicitation
sending IPv6 router solicitation
no IPv6 routers available
timed out
Failed to start dhcpcd on eth0
Unit dhcpcd@eth0.service entered failed state

What should I try next?  Thanks for any help.

Last edited by barronmo (2013-02-21 20:20:39)

Offline

#2 2013-02-21 03:12:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] dhcpcd times out, fails

You can use sprunge to post the tail of your pacman log: knowing what changed would be helpful.

kernel 3.6.6-1

Really?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-02-21 04:50:00

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] dhcpcd times out, fails

https://bbs.archlinux.org/viewtopic.php?pid=1189587

Two things to try from that thread.

Suggestion1:

 ip link set eth0 up
dhcpd eth0

Suggestion 2:
Increase the timeout period of dhcpd using "-t 120" syntax.

If those don't work perhaps a few ideas from https://bbs.archlinux.org/viewtopic.php?id=152991 might help.

Last edited by frank604 (2013-02-21 04:52:08)

Offline

#4 2013-02-21 17:44:11

barronmo
Member
Registered: 2012-08-21
Posts: 55

Re: [Solved] dhcpcd times out, fails

I tried removing xscreensaver and all its dependencies, but that did not help.  Here is a picture of journalctl output after restarting the dhcpcd@etho.service.

http://picpaste.com/photo-ss49EjET.JPG

Here is picture of my pacman.log:

http://picpaste.com/photo_1_-eIKG5mNL.JPG

I also tried the -t 120 idea without any change.  Here is a picture of my dhcpcd@.service file:

http://picpaste.com/photo_2_-SiRAN8eT.JPG

Anything else I could try?  Thanks.

Offline

#5 2013-02-21 18:09:27

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] dhcpcd times out, fails

Did you read the other thread I linked?  There's a bunch of suggestions in there.

Offline

#6 2013-02-21 18:19:00

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: [Solved] dhcpcd times out, fails

Are you able to reboot your router?
>90% of dhcp errors on my network are down to the router and solved by a reboot.

It's a state that's persisted across at least three routers and applies to Windows, Android and Linux desktops.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#7 2013-02-21 20:18:40

barronmo
Member
Registered: 2012-08-21
Posts: 55

Re: [Solved] dhcpcd times out, fails

Are you able to reboot your router?

I don't have access to the building's router but this got me thinking about hardware since software efforts had failed.  I replaced all the network cables and it is working now.  Thanks for everyone's help.

Offline

Board footer

Powered by FluxBB