On 06-Sep-09, at 10:05 PM, Rony wrote:

> Hello,
>
> What is the system's flag to detect the presence and absence of a usb
> modem that gets up on /dev/ttyACM0 when plugged in?
>
> I need to put that line in a cron based script running every minute to
> automatically trigger a dialup connection whenever a usb modem is
> plugged in and shut it down whenever it is pulled out. The recent  
> flood
> on 'visarjan' day has knocked out my client's telephone lines and
> triband too has stopped after the 24 hour period. I don't want to give
> any admin access to the users. Whenever triband will be down, this usb
> modem will be their alternate connection. Simply plug it in and use. I
> only need the line to check for the presence and absence of a usb  
> modem
> on ttyACM0.


You should  look into ivman and udev rules.  You can configure an  
action / script to run when you plug in the modem.



Regards,

Sameep
[tuxdvds.com]
The Best Online Linux Distro Store


>
> Any help will be highly appreciated. In the meantime I am already
> checking up google but no results so far.
>
> -- 
> Regards,
>
> Rony.
>
> GNU/Linux !
> No Viruses
> No Spyware
> Only Freedom.
>
> -- 
> http://mm.glug-bom.org/mailman/listinfo/linuxers

-- 
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to