USB Modem Connection Problems
Hi all, Apologies for the rather lame posting - I ought to be able to work this one out myself, but I've been trying for weeks now, with no luck. I'd appreciate someone giving me a pointer to what I'm doing wrong here... I have a USB connected GSM modem - an OEM Nokia 12i (Teltonkia). Previous postings, both here and elsewhere have shown some very happy users, so I know the device works... After loading kernel drivers, I can access the device at /dev/ttyUSB0 ... but *only* when I use minicom!!! Settings under minicom = 230400 baud 8N1 Kannel (in fact everything other than minicom) refuses to see the modem - I assume because of the speed (gnokii gives a helpful 230400 baud not supported). The log files under kannel show the AT command being sent to /dev/ttyUSB0, but no response is ever received. Am I doing something stupid here? Is it not possible for me to use minicom to tell the modem to use a lower baud rate? (I have tried using AT+IPR=115200, but to no avail - all that does is breaks the minicom connection, which i cannot reestablish at a lower baud rate subsequently). It really is beginning to bug me... Hints? Tips? anyone? Many thanks, Phil
Kannel 1.4.1: DLR-NACK/MALFORMED error
I've been looking for an answer for my problem with Kannel v1.4.1. Currently I'm using Siemens MC35i terminal as modem. For some reason some of my SMS's don't get sent. Problem occurs only with first message of a bundle of messages. Kannel error message says: 2007-11-27 19:30:49 FAILED Send SMS [SMSC:SIEMENS_MC35i] [SVC:XXX] [ACT:] [BINF:] [from:XXX] [to:XXX] [flags:-1:0:-1:-1:18] [msg:75:Host As XXX is DOWN Info: PING CRITICAL -] [udh:0:] 2007-11-27 19:30:49 DLR SMS [SMSC:SIEMENS_MC35i] [SVC:] [ACT:] [BINF:] [from:] [to:] [flags:-1:-1:-1:-1:16] [msg:14:NACK/MALFORMED] [udh:0:] Aarno Syvänen's answer on some forum told that NACK/MALFORMED means malformed message, but this cannot be true since exactly the same message is sent to other recipients. http://www.mail-archive.com/[EMAIL PROTECTED]/msg05916.html -article was told something about modem not being ready for AT command. I could not apply the specified patch since the c-file wasn't found on my installation. This is my kannel.conf: group = core admin-port = 13000 admin-password = XXX status-password = XXX admin-allow-ip = 127.0.0.1;xx.xx.xx* log-file = /var/log/kannel/kannel.log log-level = 3 access-log = /var/log/kannel/access.log smsbox-port = 13001 box-deny-ip = *.*.*.* box-allow-ip = 127.0.0.1;xx.xx.xx.* dlr-storage = mysql store-file = /var/log/kannel/kannel.store # SMSC CONNECTIONS - GLOBAL FIELDS group = smsc smsc = at smsc-id = SIEMENS_MC35i device = /dev/ttyS0 modemtype = siemens_mc35i sim-buffering = true keepalive = 60 #pin = 1234 group = modems id = siemens_mc35i name = Siemens MC35i detect-string = SIEMENS detect-string2 = MC35i init-string = AT+CNMI=1,2,0,1,1 speed = 19200 enable-hwhs = AT\\Q3 need-sleep = true # SMSBOX SETUP group = smsbox bearerbox-host = localhost sendsms-port = 13131 sendsms-chars = 0123456789 +-, global-sender = xxx log-file = /var/log/kannel/smsbox.log log-level = 3 access-log = /var/log/kannel/access.log # SEND-SMS USERS group = sendsms-user username = XXX password = XXX user-allow-ip = 127.0.0.1;xx.xx.xx.* max-messages = 7 concatenation = true dlr-url = http://tekstiviestit.xxx.fi:13131/cgi-bin/sendsms?username=xxpassword=XXsender=%pto=xxxtext=Viestin+lähettäminen+vastaanottajalle:+%p+ei+onnistunut.+Virhekoodi:%d; Is there something in my modem's setup that should be changed or is this a bug in kannel? I'd really appreciate your help. BR, Tommi Linna
RE: USB Modem Connection Problems
Hi, We have plenty of Nokia12 working in usb. my first advice : use a lower speed, the bottle neck is never the serial speed but more the dialogue AT with the nokia, so you will not have major improvement with high speed. my second advice : be carefull the usb is still on the same unix file handler, usb is hot pluggable so it oculd change time to time, we have been using some script developped by another compagny (I found back their address is www.wireless-expertise.com) to do it with multiples USB modems on a same machine. my htird advice : first configure your nokia12 with the configurator software to be sure to make autopin and some stuf like that and to setup the right baud speed. If kannel is not able to connect, it willl try the other speed. So if oyu make running you N12 on windows, it is almost 80% of the job. hope that help _ From: White, Phil [mailto:[EMAIL PROTECTED] Sent: mercredi 28 novembre 2007 08:49 To: users@kannel.org Subject: USB Modem Connection Problems Hi all, Apologies for the rather lame posting - I ought to be able to work this one out myself, but I've been trying for weeks now, with no luck. I'd appreciate someone giving me a pointer to what I'm doing wrong here... I have a USB connected GSM modem - an OEM Nokia 12i (Teltonkia). Previous postings, both here and elsewhere have shown some very happy users, so I know the device works... After loading kernel drivers, I can access the device at /dev/ttyUSB0 ... but *only* when I use minicom!!! Settings under minicom = 230400 baud 8N1 Kannel (in fact everything other than minicom) refuses to see the modem - I assume because of the speed (gnokii gives a helpful 230400 baud not supported). The log files under kannel show the AT command being sent to /dev/ttyUSB0, but no response is ever received. Am I doing something stupid here? Is it not possible for me to use minicom to tell the modem to use a lower baud rate? (I have tried using AT+IPR=115200, but to no avail - all that does is breaks the minicom connection, which i cannot reestablish at a lower baud rate subsequently). It really is beginning to bug me... Hints? Tips? anyone? Many thanks, Phil _ Antivirus avast! http://www.avast.com : message Sortant sain. Base de donnees virale (VPS) : 071127-0, 27/11/2007 Analyse le : 28/11/2007 13:19:37 avast! - copyright (c) 1988-2007 ALWIL Software.