Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#3592 - netcfg dhcpcd -k needs to specify interface
Attached to Project:
Arch Linux
Opened by Norman Su (normsu) - Tuesday, 06 December 2005, 23:34 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 11 February 2006, 13:50 GMT
Opened by Norman Su (normsu) - Tuesday, 06 December 2005, 23:34 GMT
Last edited by arjan timmerman (blaasvis) - Saturday, 11 February 2006, 13:50 GMT
|
DetailsLine 55 of /usr/bin/netcfg needs to specify the interface to be killed. Otherwise it assumes eth0, which may not be correct (wireless cards may be set to wlan0 or eth1).
A possible fix is: # bring down dhcpcd if we're using it [ "$IFOPTS" = "dhcp" -o "$IFOPTS" = "DHCP" ] && dhcpcd -k $INTERFACE ^^^^^^^^^^ Thanks to phrakture for assistance in bug hunting. |
This task depends upon
Comment by Judd Vinet (judd) -
Monday, 13 February 2006, 04:33 GMT
Actually, the latest version no longer uses dhcpcd -k, it uses the old "kill $PID". But it look up the right pid by interface.