You are not logged in.

#1 2009-07-13 21:31:17

ash
Member
Registered: 2008-12-17
Posts: 134

no network hotplugging with dhcpcd 5

my system is configured with

INTERFACES=(eth0)
eth0="dhcp"
DAEMONS=(@network @netfs dbus hal kdm)

with dhcpcd 3.2 i have network hotplugging working ok. ie if i plug the cable after pc is up or if i unplug and plug again the cable i have internet after few seconds

with dhcpcd 4.X and 5.X i have internet only if the computer booted with the cable in. if i unplug and plug back the cable i have to run manually dhcpcd -k eth0 && dhcpcd eth0 to connect again

why does not dhcpcd 5 work ?

Offline

#2 2009-07-24 07:20:42

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

Re: no network hotplugging with dhcpcd 5

dhcpcd-4.x and 5.x have their own hotplugging support and relies on the kernel to correctling send netlink messages saying CARRIER UP and CARRIER DOWN. I guess your network drivers does not support this, and relies on other methods.

man dhcpcd.conf for details on disabling the link detection.

Offline

#3 2009-07-24 23:32:01

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: no network hotplugging with dhcpcd 5

I've experienced issues too with dhcpcd new version, so i use since then oldschool dhclient.

Offline

Board footer

Powered by FluxBB