Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: bonbob on August 12, 2017, 03:22:09 PM

Title: Random ttyUSB modem name by usb-modeswitch
Post by: bonbob on August 12, 2017, 03:22:09 PM
I have two modems plugged in my PC. One SIERRA named ttyUSB9 and another - ZTE named ttyUSB2. Usually i used only ZTE. And it is used in my ppp option script to connect via 3G-modem. But sometimes, after reboot TCL this ttyUSB's randomly change each other. So SIERRA became ttyUSB2 and ZTE became ttyUSB9. PPP option script not working till i am not change ttyUSB2 to ttyUSB9. How can i to attach ttyUSB-number to a specific modem. Or how can i recognize each ttyUSB if it impossible to attach number?
Title: Re: Random ttyUSB modem name by usb-modeswitch
Post by: Juanito on August 12, 2017, 11:53:31 PM
You could write a udev rule for this?
Title: Re: Random ttyUSB modem name by usb-modeswitch
Post by: bonbob on August 15, 2017, 08:43:53 AM
I have tried use a couple of rules, by they are not working. Anyway USBtty's appeares after usb-modeswitch aggregate modem plugging in act. So maybe i need to look at the usb-modeswitch configs.