Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Judd Vinet (judd)
Monday, 13 February 2006, 04:33 GMT
Reason for closing:  Fixed
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.

Loading...