dhcpcd-discuss

Re: dhcpcd nor working until after dhclient

Jeremy C. Reed

Thu Jul 08 22:03:07 2010

My /var/log/messages has:

Jul  9 01:38:58  dhcpcd[382]: version 5.2.6 starting
Jul  9 01:38:58  dhcpcd[382]: ral0: rebinding lease of 192.168.1.5
Jul  9 01:38:58  dhcpcd[382]: ral0: acknowledged 192.168.1.5 from 192.168.1.1
Jul  9 01:38:58  dhcpcd[382]: ral0: checking for 192.168.1.5
Jul  9 01:39:03  dhcpcd[382]: ral0: leased 192.168.1.5 for 86400 seconds
Jul  9 01:39:03  dhcpcd[581]: ral0: carrier lost
Jul  9 01:39:03  dhcpcd[382]: forked to background, child pid 581

Console had shown that it had forked too, no notice about carrier lost. 

Jul  9 01:39:06  dhcpcd[581]: ral0: carrier acquired
Jul  9 01:39:06  dhcpcd[581]: ral0: rebinding lease of 192.168.1.5
Jul  9 01:39:06  dhcpcd[581]: ral0: acknowledged 192.168.1.5 from 192.168.1.1
Jul  9 01:39:06  dhcpcd[581]: ral0: checking for 192.168.1.5
Jul  9 01:39:11  dhcpcd[581]: ral0: leased 192.168.1.5 for 86400 seconds
Jul  9 01:39:11  dhcpcd[581]: ral0: carrier lost
Jul  9 01:39:14  dhcpcd[581]: ral0: carrier acquired
Jul  9 01:39:14  dhcpcd[581]: ral0: rebinding lease of 192.168.1.5
Jul  9 01:39:14  dhcpcd[581]: ral0: acknowledged 192.168.1.5 from 192.168.1.1
Jul  9 01:39:14  dhcpcd[581]: ral0: checking for 192.168.1.5
Jul  9 01:39:19  dhcpcd[581]: ral0: leased 192.168.1.5 for 86400 seconds
Jul  9 01:39:19  dhcpcd[581]: ral0: carrier lost

I gave up and sent a TERM signal to it:

Jul  9 01:39:20  dhcpcd[581]: received SIGTERM, stopping
Jul  9 01:39:20  dhcpcd[581]: ral0: removing interface

And started dhclient:

Jul  9 01:39:29  dhclient: Internet Systems Consortium DHCP Client V3.0.3
Jul  9 01:39:29  dhclient: Copyright 2004-2005 Internet Systems Consortium.
Jul  9 01:39:29  dhclient: All rights reserved.
Jul  9 01:39:29  dhclient: For info, please visit http://www.isc.org/products/DHCP
Jul  9 01:39:29  dhclient: 
Jul  9 01:39:29  dhclient: Listening on BPF/ral0/00:0c:41:6a:20:16
Jul  9 01:39:29  dhclient: Sending on   BPF/ral0/00:0c:41:6a:20:16
Jul  9 01:39:29  dhclient: Sending on   Socket/fallback
Jul  9 01:39:31  dhclient: DHCPREQUEST on ral0 to 255.255.255.255 port 67
Jul  9 01:39:32  dhclient: DHCPACK from 192.168.1.1
Jul  9 01:39:32  dhclient: bound to 192.168.1.5 -- renewal in 35828 seconds.

I want to use dhcpcd so I can try dhcpcd-ui more.

I also run with -d and see more details but no explanation on repeated 
"carrier lost" and "carrier acquired".

References:
dhcpcd nor working until after dhclientJeremy C. Reed
Archive administrator: postmaster@marples.name