You are not logged in.

#1 2014-03-11 22:47:54

ZHoob2004
Member
Registered: 2014-03-11
Posts: 4

Anyone else having trouble with dhcpcd?

So I'm currently running arch on two machines, a laptop and a desktop, and I noticed a few days ago that the laptop couldn't get a network connection (using wicd). I traced the issue to the version of dhcpcd I was using from the testing repo, so I went back to the stable version and it worked fine. I recently ran my updates again on the desktop and laptop, and now dhcpcd won't acquire an address on either machine, so I have to do everything manually. Anyone else having this issue, or is it just me?

Offline

#2 2014-03-11 23:14:23

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

Re: Anyone else having trouble with dhcpcd?

Just you. Anything in the journal after a failed connection attempt? No other network services running?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-03-11 23:18:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Anyone else having trouble with dhcpcd?

Actually, just yesterday I had the new version of dhcpcd core dump on me.  I had been meaning to switch to connman on that machine anyway though, and promptly forgot about the dhcpcd issue.  Connman just seems to handle ipv6 beautifully, which I set up the other day.  (Comcast may have terrible customer service and be something of an oligopoly with TW, but I have to say that their native dual stack is a good thing.)

Offline

#4 2014-03-11 23:40:07

ZHoob2004
Member
Registered: 2014-03-11
Posts: 4

Re: Anyone else having trouble with dhcpcd?

was getting core dumps on the testing version, this is the journal output from trying again just now "[13722.597384] dhcpcd[16552]: segfault at 10 ip 000000000042086c sp 00007fffc7802db0 error 4 in dhcpcd[400000+30000]"

I've been running with wicd disabled for testing this, shouldn't have any other network services since these are both clean installs.

Offline

#5 2014-03-11 23:47:46

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Anyone else having trouble with dhcpcd?

I would say report it and then have wicd switch to dhclient for now.

Offline

#6 2014-03-12 11:57:58

Knasher
Member
Registered: 2013-10-09
Posts: 12

Re: Anyone else having trouble with dhcpcd?

Yeah, me too.  Out of interest, where are you getting the lease from.  I ask because my laptop seems to get a lease correctly when I'm in work, however I get the same error while at home.  My router is running OpenWRT.  Just wondering if you happen to be running the same?

Last edited by Knasher (2014-03-12 11:58:29)

Offline

#7 2014-03-12 15:20:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Anyone else having trouble with dhcpcd?

Barrier Breaker here...

ssh to my router wrote:

BARRIER BREAKER (Bleeding Edge, r39757)

Offline

#8 2014-03-12 19:58:57

ZHoob2004
Member
Registered: 2014-03-11
Posts: 4

Re: Anyone else having trouble with dhcpcd?

hmm, I'm running openwrt barrier breaker as well...

BARRIER BREAKER (Bleeding Edge, r39582)

but for now, dhclient is working wonders (and it's way faster), so I'll probably not be switching back when it is fixed.

Last edited by ZHoob2004 (2014-03-12 20:00:53)

Offline

#9 2014-03-13 02:22:49

gsilvers
Member
Registered: 2013-06-22
Posts: 11

Re: Anyone else having trouble with dhcpcd?

I'm not sure if its the same issue but I had to roll back to dhcpcd-6.2.1-1 due to a variety of issues.

I am using wicd as well but my router runs dd wrt

Offline

#10 2014-03-13 02:28:00

gsilvers
Member
Registered: 2013-06-22
Posts: 11

Re: Anyone else having trouble with dhcpcd?

Also is dhclient really that good? Because this is my boot:

gsilvers@gsgalag  pkg   systemd-analyze blame                    22:26:05
           541ms dhcpcd.service
           189ms systemd-vconsole-setup.service
           177ms wicd.service

That's a hot half a second of my life I'd love to get back!

Offline

#11 2014-03-13 08:23:45

ZHoob2004
Member
Registered: 2014-03-11
Posts: 4

Re: Anyone else having trouble with dhcpcd?

gsilvers wrote:

Also is dhclient really that good?

I don't have any numbers, but I no longer have any wait for network connection upon login (had to wait a few seconds before). Transition from wired to wireless and back is also much faster. It makes me want to look into why it isn't the default for wicd.

Offline

#12 2014-03-13 15:35:57

anatolik
Developer
Registered: 2012-09-27
Posts: 458

Re: Anyone else having trouble with dhcpcd?

It is a dhcpcd bug and probably already fixed upstream https://bugs.archlinux.org/task/39381


Read it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster

Offline

#13 2014-03-13 16:46:46

rsmarples
Member
Registered: 2009-05-12
Posts: 287

Re: Anyone else having trouble with dhcpcd?

ZHoob2004 wrote:

BARRIER BREAKER (Bleeding Edge, r39582)

The DHCPv6 server they ship is has a fault with reconfigure authentication which triggered a fault in dhcpcd.
Both upstreams have now been fixed.

but for now, dhclient is working wonders (and it's way faster), so I'll probably not be switching back when it is fixed.

dhclient is only faster because it doesn't do any ARP checking.
You can turn this off in dhcpcd if you know no-one else has stupidly assigned themselves the IP the DHCP client wants to give you.

See dhcpcd.conf(5) for the noarp option.

Offline

#14 2014-03-13 23:48:09

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Anyone else having trouble with dhcpcd?

Thanks for the info Roy.  Its great to have your direct feedback in these threads!

Offline

Board footer

Powered by FluxBB