Hi, Thank you very much Nikos.. It was actually a problem with the modem.
-Regards Sam 2009/9/3 Nikos Balkanas <[email protected]>: > Hi, > > Please use: > > 1) dmesg | grep tty > To verify that your modem is indeed in dev/ttyS0. If not update > configuration and restart kannel. > > 2) minicom or wvdial and try to connect to modem to see if you get any > replies. > When typing AT to it you should get an OK response. Currently kannel doesn't > get any response from your modem and is searching in vain. If you don't get > a response either, you have a hardware problem (serial port, cable, modem). > > BR, > Nikos > > ----- Original Message ----- From: "nu mail" <[email protected]> > To: <[email protected]> > Sent: Thursday, September 03, 2009 1:26 AM > Subject: Wavecom Modem Not Responding. > > >> Hi, >> >> Please can someone advise me. I have a Wavecom supreme 10 modem >> running on a RedHat linux box. Recently, i just observed the following >> in the logfiles. The process loops indefinitely. Please advise. >> >> Your response will be appreciated. >> >> ######### Config file ################# >> group = smsc >> smsc = at >> smsc-id = modemSmsc >> modemtype = WAVECOM >> device = /dev/ttyS0 >> my-number = ******** >> connect-allow-ip = 127.0.0.1 >> log-level = 0 >> keepalive = 4 >> denied-prefix = 0;***;+***;+;* >> >> group = modems >> id = WAVECOM >> name = "WAVECOM" >> detect-string = "WAVECOM" >> >> ####################################### >> >> #################################################### >> >> 2009-09-02 08:54:55 [5218] [0] INFO: >> ---------------------------------------- >> 2009-09-02 08:54:55 [5218] [0] INFO: Kannel bearerbox II version 1.4.3 >> starting >> 2009-09-02 08:54:55 [5218] [9] DEBUG: Thread 9 >> (gw/bb_smscconn.c:sms_router) maps to pid 5218. >> 2009-09-02 08:54:55 [5218] [0] INFO: MAIN: Start-up done, entering >> mainloop >> 2009-09-02 08:54:55 [5218] [0] DEBUG: AT2[modemSmsc]: start called >> 2009-09-02 08:54:55 [5218] [8] DEBUG: Thread 8 >> (gw/smsc/smsc_http.c:httpsmsc_send_cb) maps to pid 5218. >> 2009-09-02 08:54:55 [5218] [7] DEBUG: Thread 7 >> (gw/smsc/smsc_http.c:httpsmsc_receiver) maps to pid 5218. >> 2009-09-02 08:54:55 [5218] [6] INFO: AT2[modemSmsc]: speed set to 9600 >> 2009-09-02 08:54:55 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:54:56 [5218] [5] INFO: Client connected from <127.0.0.1> >> 2009-09-02 08:54:56 [5218] [5] DEBUG: Started thread 10 >> (gw/bb_boxc.c:function) >> 2009-09-02 08:54:56 [5218] [10] DEBUG: Thread 10 >> (gw/bb_boxc.c:function) maps to pid 5218. >> 2009-09-02 08:54:56 [5218] [10] DEBUG: Started thread 11 >> (gw/bb_boxc.c:boxc_sender) >> 2009-09-02 08:54:56 [5218] [11] DEBUG: Thread 11 >> (gw/bb_boxc.c:boxc_sender) maps to pid 5218. >> 2009-09-02 08:54:56 [5218] [10] DEBUG: boxc_receiver: got boxc_id >> <smsbox> from <127.0.0.1> >> 2009-09-02 08:54:57 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:54:59 [5218] [5] INFO: Client connected from <127.0.0.1> >> 2009-09-02 08:54:59 [5218] [5] DEBUG: Started thread 12 >> (gw/bb_boxc.c:function) >> 2009-09-02 08:54:59 [5218] [12] DEBUG: Thread 12 >> (gw/bb_boxc.c:function) maps to pid 5218. >> 2009-09-02 08:54:59 [5218] [12] DEBUG: Started thread 13 >> (gw/bb_boxc.c:boxc_sender) >> 2009-09-02 08:54:59 [5218] [13] DEBUG: Thread 13 >> (gw/bb_boxc.c:boxc_sender) maps to pid 5218. >> 2009-09-02 08:54:59 [5218] [12] DEBUG: boxc_receiver: got boxc_id >> <smsbox> from <127.0.0.1> >> 2009-09-02 08:55:02 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:06 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:10 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:55:10 [5218] [6] INFO: AT2[modemSmsc]: speed in modem >> definition don't work, will autodetect >> 2009-09-02 08:55:10 [5218] [6] DEBUG: AT2[modemSmsc]: detecting modem >> speed. >> 2009-09-02 08:55:10 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:55:10 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:55:10 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:55:10 [5218] [6] INFO: AT2[modemSmsc]: speed set to 115200 >> 2009-09-02 08:55:10 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:55:12 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:18 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:22 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:26 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:55:26 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:55:26 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:55:26 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:55:26 [5218] [6] INFO: AT2[modemSmsc]: speed set to 57600 >> 2009-09-02 08:55:26 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:55:29 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:35 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:39 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:43 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:55:43 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:55:43 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:55:43 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:55:43 [5218] [6] INFO: AT2[modemSmsc]: speed set to 38400 >> 2009-09-02 08:55:43 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:55:45 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:51 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:55 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:55:59 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:55:59 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:55:59 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:55:59 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:55:59 [5218] [6] INFO: AT2[modemSmsc]: speed set to 19200 >> 2009-09-02 08:55:59 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:56:01 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:07 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:11 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:15 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:56:15 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:56:15 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:56:15 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:56:15 [5218] [6] INFO: AT2[modemSmsc]: speed set to 9600 >> 2009-09-02 08:56:15 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:56:17 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:23 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:27 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:32 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:56:32 [5218] [6] INFO: AT2[modemSmsc]: cannot detect speed >> 2009-09-02 08:56:32 [5218] [6] ERROR: AT2[modemSmsc]: Couldn't connect >> (retrying in 10 seconds). >> 2009-09-02 08:56:41 [5218] [6] INFO: AT2[modemSmsc]: trying to use >> speed <9600> from modem definition >> 2009-09-02 08:56:41 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:56:42 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:56:42 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:56:42 [5218] [6] INFO: AT2[modemSmsc]: speed set to 9600 >> 2009-09-02 08:56:42 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:56:46 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:52 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:56:56 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:57:00 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:57:00 [5218] [6] INFO: AT2[modemSmsc]: speed in modem >> definition don't work, will autodetect >> 2009-09-02 08:57:00 [5218] [6] DEBUG: AT2[modemSmsc]: detecting modem >> speed. >> 2009-09-02 08:57:00 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:57:00 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:57:00 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:57:00 [5218] [6] INFO: AT2[modemSmsc]: speed set to 115200 >> 2009-09-02 08:57:00 [5218] [6] DEBUG: AT2[modemSmsc]: --> ^M >> 2009-09-02 08:57:02 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:57:08 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:57:12 [5218] [6] DEBUG: AT2[modemSmsc]: --> AT^M >> 2009-09-02 08:57:16 [5218] [6] INFO: AT2[modemSmsc]: Closing device >> 2009-09-02 08:57:16 [5218] [6] INFO: AT2[modemSmsc]: opening device >> 2009-09-02 08:57:16 [5218] [6] DEBUG: AT2[modemSmsc]: device opened. >> Telnet mode = 0 >> 2009-09-02 08:57:16 [5218] [6] DEBUG: AT2[modemSmsc]: device opened >> 2009-09-02 08:57:16 [5218] [6] INFO: AT2[modemSmsc]: speed set to 57600 >> #################################################### >> > >
