SMS Server Tools 3
 Menu
Basic information:
Additional information:
Support:
Get SMS Server Tools 3:
Additional Options

 Sponsored links

 Search
Custom Search

 Visitor locations
 
 SMS Server Tools 3 Community
Welcome, Guest. The forum is currently read-only, but will open soon. Tue Jul 01, 2025 08:16
SMSTools3 Community » Search Bottom

Page:  1

Keywords:
Mode: All keywords (AND)
ianbst: I know this was posted in 2016 but this script and python program has really saved me a lot of time and frustration. :D I don't think there is another mechanism for identifying the correct ttyUSBy device to use when inserting USB GSM modems in random order that works quite as well. If something else works better than this please let us know. A big thank you for this. I made one change to the eventer.sh script to locate the IMEI and USB_INTERFACE_NUM and decided to post this in case someone else comes across this really helpful script. In eventer.sh changed this: alias=`grep $imei /etc/udev/rules.d/IDS.lst | grep $ID_USB_INTERFACE_NUM | cut -d " " -f 3` to alias=`grep "$imei $ID_USB_INTERFACE_NUM" /etc/udev/rules.d/IDS.lst | cut -d " " -f 3` Reason: If the IMEI contains a sequence appearing in the $ID_USB_INTERFACE_NUM variable, an unwanted result can occur EG entries in IDS.lst as in this example will always return modem8 for all rows with this IMEI as the grep for 00 $ID_USBINTERFACE_NUM will find 00 in the IMEI reference on all rows EG. IDS.lst 860016016276797 00 modem6 860016016276797 01 modem7 860016016276797 02 modem8 #grep 860016016276797 IDS.lst|grep 00 IDS.lst 860016016276797 00 modem6 860016016276797 01 modem7 860016016276797 02 modem8 #grep "860016016276797 00" IDS.lst 860016016276797 00 modem6 Thanks again for this clever mechanism

Page:  1

SMSTools3 Community » Search Top

 
Time in this board is UTC.  

Privacy Policy   SMS Server Tools 3 Copyright © Keijo Kasvi.