WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Random ttyUSB modem name by usb-modeswitch  (Read 128 times)

Offline bonbob

  • WikiUser
  • *
  • Posts: 34
Random ttyUSB modem name by usb-modeswitch
« 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?

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9370
Re: Random ttyUSB modem name by usb-modeswitch
« Reply #1 on: August 12, 2017, 11:53:31 PM »
You could write a udev rule for this?

Offline bonbob

  • WikiUser
  • *
  • Posts: 34
Re: Random ttyUSB modem name by usb-modeswitch
« Reply #2 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.