LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-21-2009, 09:47 AM   #1
xoham
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
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.
 
Old 10-01-2009, 10:45 AM   #2
xoham
LQ Newbie
 
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
How about an alternative technology?
 
  


Reply

Tags
ifplugd, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 07:32 AM
LVM - what if disk partition change causes the PV device file to change? catkin Linux - General 9 12-19-2008 06:43 PM
ifplugd: Link beat lost. AlucardZero Linux - Networking 2 08-30-2007 08:15 PM
How to force kernel to use a USB 2.0-compatible device (ehci_hcd) as a USB 1.1 device eze Linux - Hardware 0 05-16-2006 05:24 AM
HP Deskjet (USB) & CUPS & Slackware 9.1: Unable to open USB device "usb:/dev/usb/lp0&qu arnostienen Slackware 2 01-29-2004 03:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration