Thank you for your answer. Since my last message, I've better results : with Gnokii, I can send SMS ! Gnokii is not interessant in it, but it proves that my M20 works (with my new SIM card). And it's configured with the /dev/ttyS0 device...
Unfortunately, it doesn't works with Kannel... always the same error : ju:~# bearerbox -v 0 /etc/kannel/sms.conf [...] 2009-09-05 16:34:33 [2854] [6] DEBUG: AT2[/dev/ttyS0]: device opened 2009-09-05 16:34:33 [2854] [6] INFO: AT2[/dev/ttyS0]: init device 2009-09-05 16:34:33 [2854] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 2009-09-05 16:34:33 [2854] [6] DEBUG: AT2[/dev/ttyS0]: --> ATZ^M 2009-09-05 16:34:37 [2854] [6] ERROR: AT2[/dev/ttyS0]: Wrong or no answer to ATZ, ignoring 2009-09-05 16:34:37 [2854] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M 2009-09-05 16:34:41 [2854] [6] ERROR: AT2[/dev/ttyS0]: Wrong or no answer to AT. Trying again 2009-09-05 16:34:41 [2854] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M 2009-09-05 16:34:45 [2854] [6] ERROR: AT2[/dev/ttyS0]: Second attempt to send AT failed 2009-09-05 16:34:45 [2854] [6] ERROR: AT2[/dev/ttyS0]: Opening failed. Terminating 2009-09-05 16:34:45 [2854] [6] INFO: AT2[/dev/ttyS0]: closing device [...] I don't no what to do.... Thanx a lot. Nikos Balkanas wrote: > > Hi, > > I don't know gnokii, and I am not interested in it. However, I do know > wvdial, minicom and statserial all useful tools to diagnose serial > problems. > > Are you sure your modem is at /dev/ttyS0? What does: > > dmesg | grep tty > > show? > > BR, > Nikos > ----- Original Message ----- > From: "Juxener" <[email protected]> > To: <[email protected]> > Sent: Wednesday, August 19, 2009 9:05 PM > Subject: Re: Send SMS with Siemens M20 on Linux > > >> >> Thanks for your answer Jovan, >> >> but in my /etc/kannel/sms.conf I've : >> include = "/etc/kannel/modems.conf" >> >> And in my /etc/kannel/modems.conf I've : >> group = modems >> id = siemens_m20 >> name = "Siemens M20" >> detect-string = "SIEMENS" >> detect-string2 = "M20" >> speed = 19200 >> enable-hwhs = "AT\\Q3" >> keepalive-cmd = "AT+CBC;+CSQ" >> need-sleep = true >> >> But that doesn't works... >> >> >> >> Jovan Kostovski-2 wrote: >>> >>> On Mon, Aug 17, 2009 at 12:01 AM, Juxener<[email protected]> wrote: >>>> >>>> Hello, >>>> sorry for my english (I'm french). >>>> >>>> I'm trying to use an Siemens M20 modem >>>> (http://www.coster.info/costerit/teleges/doc/gsm812s.pdf), to send a >>>> text. >>>> I'm on Linux. >>> >>> Check this list message: >>> http://www.ultraviolet.org/mail-archives/kannel.2006/msg01164.html >>> >>> BR, Jovan >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Send-SMS-with-Siemens-M20-on-Linux-tp24941326p25049150.html >> Sent from the Kannel - User mailing list archive at Nabble.com. >> >> > > > > -- View this message in context: http://www.nabble.com/Send-SMS-with-Siemens-M20-on-Linux-tp24941326p25308016.html Sent from the Kannel - User mailing list archive at Nabble.com.
