You are not logged in.

#1 2010-02-03 02:15:41

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 73

dhcpcd times out, always

Hello,

I just rebooted my desktop and the Network failed to start. I tried to run 'dhcpcd eth0' but it just times out. I tried to use the release command and that didn't work.

I manually upgraded (with the help of a USB key) to the latest dhcpcd, still nothing. Internet works on my laptop so it can't be the router...

Does anyone have any ideas?

Thanks
~Kalinda


Arch Linux Plasma 5 | AMD Ryzen 7 1700 | 16GB DDR4 RAM | Nvidia GeForce GTX 980

Offline

#2 2010-02-03 02:19:05

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: dhcpcd times out, always

Assuming that your settings are good, you may want to try dhclient instead. I have a wireless card that doesn't work at all with dhcpcd, but it works perfectly with dhclient.

Offline

#3 2010-02-03 02:35:16

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 73

Re: dhcpcd times out, always

Hmm, it seems that it's perhaps not my setup after all.

I just slapped an Arch live CD in and when trying to run dhcpcd on there, it also times out. So maybe it's something to do with my router or some other thing...


Arch Linux Plasma 5 | AMD Ryzen 7 1700 | 16GB DDR4 RAM | Nvidia GeForce GTX 980

Offline

#4 2010-02-03 02:42:48

sdolim
Member
Registered: 2010-01-20
Posts: 67

Re: dhcpcd times out, always

dhcpcd also recently stopped working for me -- same timeout issue.  It worked fine up until a reboot several days ago.

I switched to dhclient instead, and my (wireless) network connection is back in business.  To do this I added the following to my netcfg profile file for my wireless card:

SCAN="no"
DHCLIENT="yes"
DHCP_TIMEOUT=30

I'm not sure if SCAN or DHCP_TIMEOUT are necessary or not, since I added those first, and it didn't help.  When I added DHCLIENT I got my network connection back.  (I first had to pacman -S dhclient through a wired connection that I manually configured.)

Offline

#5 2010-02-03 07:07:37

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: dhcpcd times out, always

Actually there is a bug with dhcpcd.
Here the thread: http://bbs.archlinux.org/viewtopic.php?pid=691936
Here the bug: http://bugs.archlinux.org/task/17838

Offline

#6 2010-02-03 10:09:28

equilar
Member
Registered: 2010-01-30
Posts: 3

Re: dhcpcd times out, always

You could try running this in a terminal

rm /var/lib/dhcpcd/dhcpcd-eth0.lease

Offline

#7 2010-02-03 14:13:38

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: dhcpcd times out, always

dhcpcd was updated to 5.1.5 yesterday, Feb 2.
This presumably fixes the timeout bug. Any feedback is welcome, so we can put this to bed.

Offline

#8 2010-03-26 05:45:53

Cows
Member
From: Brooklyn, NY
Registered: 2007-05-20
Posts: 101

Re: dhcpcd times out, always

How can I get this fix on my netbook? I'm trying to install Arch via net install but my dhclient and dhcpcd both fail on eth0. My wireless card is detected but I don't know how to use it to connect to a WPA network. Even with wpa_supplicant, I don't know. I usually just use Network Manager GUI on GNOME or w/e KDE uses to connect.

Offline

#9 2010-03-26 14:51:42

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: dhcpcd times out, always

Please Cows open a new thread. This is altmost dead.

Offline

Board footer

Powered by FluxBB