FS#33035 - [netcfg] Does not start dhcpcd if time out occurs during first attempt to get IP address

Attached to Project: Arch Linux
Opened by Marc Rechté (mrechte) - Monday, 10 December 2012, 18:39 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 30 April 2013, 01:04 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I have set /etc/conf.d/dhcpcd with:
DHCPCD_ARGS="--quiet --background"

This to enable dhcpcd to retrieve the IP address later should not it be ready at first attempt (eth0 is my Internet box, and may take time to pass WAN IP address)

This is what I get in the log:

déc. 10 19:19:52 linux2 dhcpcd[778]: version 5.6.3 starting
déc. 10 19:19:52 linux2 dhcpcd[778]: eth0: broadcasting for a lease
déc. 10 19:19:53 linux2 avahi-daemon[439]: Registering new address record for fe80::fad1:11ff:fe10:a118 on eth0.*.
déc. 10 19:19:56 linux2 dhcpcd[778]: eth0: offered 81.56.129.7 from 81.56.129.254
déc. 10 19:19:56 linux2 dhcpcd[778]: eth0: acknowledged 81.56.129.7 from 81.56.129.254
déc. 10 19:19:57 linux2 dhcpcd[778]: eth0: checking for 81.56.129.7
déc. 10 19:20:02 linux2 dhcpcd[778]: timed out
déc. 10 19:20:02 linux2 netcfg-daemon[443]: :: eth0 up DHCP IP lease attempt failed.
déc. 10 19:20:02 linux2 netcfg-daemon[443]: [fail]


I end up with a down eth0 and no dhcpcd running.

I need to manually issue "netcfg eth0" to recover eth0


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 30 April 2013, 01:04 GMT
Reason for closing:  Won't fix
Additional comments about closing:  netcfg has been moved to AUR

Loading...