Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_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#2719 - ifplugd - ifdown issues

Attached to Project: Arch Linux
Opened by Aaron Griffin (phrakture) - Wednesday, 11 May 2005, 03:34 GMT
Last edited by Dale Blount (dale) - Wednesday, 11 May 2005, 12:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Johnson (eric)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

ifplugd.action (part of the ifplugd package) should have ifdown match the network script (that is, it is missing an additional "ifconfig $1 down" call)

On my machine this causes issues when switching from wired to wireless, where the eth0 connection does not go down, and apps like firefox will use eth0 before wlan0 (dunno how it orders them)

My modified ifdown looks like this:
ifdown()
{
varname="\$${1}"
eval new_ifline=$varname
if [ "$new_ifline" = "dhcp" ]; then
/bin/kill `cat /etc/dhcpc/dhcpcd-${1}.pid`
fi
/sbin/ifconfig $1 down
return $?
}

This task depends upon

Closed by  Kevin Piche (kpiche)
Monday, 06 June 2005, 02:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  Merged the fix from phrakture and upgraded to version 0.28.

Loading...