ifplugd does stop on suspend, but does not start again with resume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifplugd (Debian) |
Fix Released
|
Unknown
|
|||
ifplugd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello.
I am using ifplugd daemon for controling my ethernet card on my laptop (Sony Vaio VGN-FZ210C, but i believe that does not matter). It worked very well in gutsy. But it stopped working in hardy somehow and i cannot find what is a problem.
I have in /etc/network/
iface eth0 inet dhcp
wpa-conf /etc/wpa_
wpa-driver wired
#auto eth0
I am attaching part of log file, made by grep ifplug /var/log/daemon.log > /tmp/ifplug-
command. I havent found anything interesting in /var/log/daemon.log or else, but i can offer you any log if needed.
Problem is, after suspend to ram it does end. It is stopped, but dont know what does it. I found /etc/apm/
In /etc/default/
INTERFACES="eth0"
HOTPLUG_
ARGS="-q -f -u0 -d10 -w -I"
SUSPEND_
It was SUSPEND_
I can always make some script in /etc/acpi/
Oh, and i recall that used to work pretty well in gutsy. That is regression, it does not work in hardy as expected. I need wpa supplicant in university and i dont know better way for laptop. This way it does remove network connection if i unplug the cable, and i want that. Network manager is fine for wireless, but it does not allow wired supplicant. So i cannot use network manager now for ethernet.
Changed in ifplugd: | |
status: | Unknown → New |
Try adding your interface to HOTPLUG_INTERFACES in /etc/default/ ifplugd.
Upon suspend /lib/udev/ ifplugd. agent is called and stops ifplugd for all interfaces. On resume, it only starts ifplugd for interfaces listed in HOTPLUG_INTERFACES.
While looking for a solution to my problem, I found an (unrelated) error in /etc/apm/ scripts. d/ifplugd. The script ignores SUSPEND_ACTION=none because of small programming error. The attached patch is for this error, but does not help when using ACPI.