ifplugd: no link change for USB device
Hello,
I'm attempting to use ifplugd to detect when USB is plugged in. I am using USB Gadget; ethernet over USB. If I run ifplugd like this on eth1, it works great:
ifplugd -n -i eth1
When I plug and unplug eth1, I see the link go down and up and reacquire a DHCP lease. It works as expected.
When I do the same with usb0, I see no change in link state which I can test with ifplugstatus. I am able to get a DHCP lease over usb correctly though.
This is an embedded design running 2.6.27 kernel. Dhclient is supplying the DHCP.
Note, my distribution of iplugd (assume I cannot get a different one), does not include a startup script so I am launching it manually.
Thanks for you help.
Last edited by xoham; 09-22-2009 at 04:56 PM.
|