I use some udev rules to name the usb devices. * * * * * * *Diogo Hartmann*
*skype: diogodhh* *fone: 42 9910 0078* * * 2012/1/12 Diogo Hartmann <diogo...@gmail.com> > Hi everyone! > > I'm having a big problem here... I have 10 USB modems Sierra 305 AT&T and > I'd like to send messages from them. > > *smsc.conf* > group = smsc > smsc = at > smsc-id = GSM01 > modemtype = GSM01 > device = /dev/GSM01 > log-file = "/var/log/kannel/smsc/smsc01.log" > log-level = 0 > #max-sms-octets = 160 > alt-charset = "ASCII" > > *modems.conf* > group = modems > id = GSM01 > name = "ATET 01" > #init-string = "ATZ" > reset-string = "AT" > message-storage = SM > speed = 115200 > > All the modens are returning "+CME ERROR: SIM not inserted". > > 2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: opening device > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: device opened. Telnet > mode = 0 > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: device opened > 2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: Logging in > 2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: init device > 2012-01-12 19:55:48 [8912] [6] INFO: AT2[GSM01]: speed set to 115200 > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: --> ATZ^M > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: <-- OK > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: --> AT^M > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: <-- AT > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: <-- OK > 2012-01-12 19:55:48 [8912] [6] DEBUG: AT2[GSM01]: --> AT&F^M > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: <-- AT&F > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: <-- OK > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: --> ATE0^M > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: <-- ATE0 > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: <-- OK > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: --> AT+IFC=2,2^M > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: <-- ERROR > 2012-01-12 19:55:49 [8912] [6] ERROR: AT2[GSM01]: Generic error: ERROR > 2012-01-12 19:55:49 [8912] [6] INFO: AT2[GSM01]: cannot enable hardware > handshake > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: --> AT+CPIN?^M > 2012-01-12 19:55:49 [8912] [6] DEBUG: AT2[GSM01]: <-- +CME ERROR: SIM not > inserted > 2012-01-12 19:55:49 [8912] [6] ERROR: AT2[GSM01]: +CME ERROR: +CME ERROR: > SIM not inserted > 2012-01-12 19:56:09 [8912] [6] DEBUG: AT2[GSM01]: --> AT+CPIN?^M > 2012-01-12 19:56:09 [8912] [6] DEBUG: AT2[GSM01]: <-- +CME ERROR: SIM not > inserted > 2012-01-12 19:56:09 [8912] [6] ERROR: AT2[GSM01]: +CME ERROR: +CME ERROR: > SIM not inserted > 2012-01-12 19:56:09 [8912] [6] ERROR: AT2[GSM01]: Initialization of device > failed. Attempt #10 on -1 max. > 2012-01-12 19:56:09 [8912] [6] INFO: AT2[GSM01]: Closing device > 2012-01-12 19:56:09 [8912] [6] ERROR: AT2[GSM01]: Couldn't connect > (retrying in 10 seconds). > 2012-01-12 19:56:15 [9263] [8] INFO: AT2[GSM01]: trying to use speed > <115200> from modem definition > > * > * > * > * > * > * > *Diogo Hartmann* > > *skype: diogodhh* > *fone: 42 9910 0078* > * > * > >