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
|
Details
Line 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.