Re: Usb Modeswitch.

Robert Ladyman <it-Mr0VS1uEpT87VdE/[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Organization File-Away Limited
Message-ID <[email protected]>

I checked the old machine that I used to use and found this:

/etc/udev/rules.d/51-usb-modeswitch.rules:

SUBSYSTEM=="block", 
SYSFS{idProduct}=="5010", SYSFS{idVendor}=="1410", RUN="/bin/eject %k"

obviously the idProduct and idVendor might need to be changed and I have no 
idea whether udev rules are supported.


> [email protected] wrote:
> > ----- Mail original -----
> >
> >> De: "Robert Ladyman" <it-Mr0VS1uEpT87VdE/[email protected]>
> >> À: [email protected]
> >> Envoyé: Jeudi 8 Septembre 2011 10:16:54
> >> Objet: Re: [IPCop-devel] Usb Modeswitch.
> >>
> >> I used to have to do something similar with OpenSuse - I used the
> >> 'eject' command once the usb device was detected and then the system
> >> would pick up the modem. I added it somewhere in the usb detection
> >> routines, but can't for the life of me remember where. Hope that gives
> >> you a clue.
> >
> > Could that be related to the fact that we don't include the required tcl
> > interpreter?
> >
> > Without the tcl interpreter, usb-modeswitch would not create some
> > simlinks. I will test to compile the additional jimsh code that supply a
> > minimal tcl interpreter. I am not sure to have a proper usb device what
> > behave differently.
> >
> > Gilles
> 
> I think using jimsh is ideal for something as small as a firewall/router
> distro.
> 

-- 
Robert Ladyman
File-Away Limited
3 Ralston Business Centre, Newtyle, Blairgowrie
Perthshire  PH12 8TL SCOTLAND
Tel: +44 (0) 1828 898 158
Mobile: +44 (0) 7732 771 649
http://www.file-away.co.uk

============================================
Registered Office: 32 Church Street, Newtyle, Blairgowrie
Perthshire, PH12 8TZ SCOTLAND
Registered in Scotland, Company Number SC222086


------------------------------------------------------------------------------
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.