run a shell script when I plug/unplugg usb adsl modem

Paul S paulatgm at gmail.com
Fri May 4 12:26:47 UTC 2007


rodrigochinaski said the following on 05/03/2007 03:21 PM:
> Greetings!
> 
> I have a usb adsl modem Netopia 3342, i've already have it working.. Now I would like to run a shell script whenever I connect and disconnect the modem from the usb port.
> How can I accomplish this?

That's what udev is for.  Check out the man page(s) for ideas.  But, I 
tried it with a usb 56k modem and could not get it to work.  So, it's 
not perfect.





More information about the ubuntu-users mailing list