Sorry for the delay in responding The logs and the configuration are attached.
I had found a similar case at http://www.nabble.com/Problem-with-GSM-Modem---Connect-in-wvdial-td21377640.html Thanks Anand Ayyappan "Formal education will make you a living; self-education will make you a fortune." - Jim Rohn Post free classified ads at http://www.getkochi.com 2009/4/5 Nikos Balkanas <[email protected]> > OK. But you need to post better logs. You need bearerbox logs from > startup till panic (if it doesn't find the modem). Also repost your > configuration you have deleted. > > Nikos > > ----- Original Message ----- > *From:* Anand Ayyappan <[email protected]> > *To:* Nikos Balkanas <[email protected]> > *Cc:* Alvaro Cornejo <[email protected]> ; [email protected] > *Sent:* Sunday, April 05, 2009 11:47 AM > *Subject:* Re: The modem always shows connecting > > Hi, > > I was able to connect to the modem using minicom. > > at > dev/ttyS0 > 9600 8N1 > > But the same configuration is given to kannel.conf > > Initiall the log said permission denied for modem error 13 > > then i did a chmod 777 /dev/ttyS0 > > Then the log changed to > 2009-04-05 04:41:53 [5382] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type > 2009-04-05 04:41:53 [5382] [6] INFO: AT2[/dev/ttyS0]: opening device > 2009-04-05 04:41:53 [5382] [6] DEBUG: AT2[/dev/ttyS0]: device opened > 2009-04-05 04:41:54 [5382] [6] DEBUG: AT2[/dev/ttyS0]: device opened > 2009-04-05 04:41:54 [5382] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 > 2009-04-05 04:41:54 [5382] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M > 2009-04-05 04:45:46 [5440] [4] DEBUG: AT2[/dev/ttyS0]: detecting modem type > 2009-04-05 04:45:46 [5440] [4] INFO: AT2[/dev/ttyS0]: opening device > 2009-04-05 04:45:46 [5440] [4] DEBUG: AT2[/dev/ttyS0]: device opened > 2009-04-05 04:45:48 [5382] [6] DEBUG: AT2[/dev/ttyS0]: --> AT^M > > Still the status is > > SMSC connections: > *unknown* AT2[/dev/ttyS0] (connecting, rcvd 0, sent 0, failed 0, > queued 0 msgs) > > Any Help ! > > Thanks > > Anand Ayyappan > > > "Formal education will make you a living; self-education will make you a > fortune." - Jim Rohn > > Post free classified ads at http://www.getkochi.com > >
2009-04-08 03:22:48 [4339] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2009-04-08 03:22:48 [4339] [0] INFO: HTTP: Opening server at port 13000. 2009-04-08 03:22:48 [4339] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-04-08 03:22:48 [4339] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-04-08 03:22:48 [4339] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-04-08 03:22:48 [4339] [0] DEBUG: starting smsbox connection module 2009-04-08 03:22:48 [4339] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2009-04-08 03:22:48 [4339] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2009-04-08 03:22:48 [4339] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2009-04-08 03:22:48 [4339] [0] INFO: Set SMS resend frequency to 60 seconds. 2009-04-08 03:22:48 [4339] [0] INFO: SMS resend retry set to unlimited. 2009-04-08 03:22:48 [4339] [0] INFO: DLR rerouting for smsc id <(null)> disabled. 2009-04-08 03:22:48 [4339] [0] INFO: Added logfile `/var/log/kannel/kannel.smsc.log' with level `0'. 2009-04-08 03:22:48 [4339] [0] INFO: AT2[/dev/ttyS0]: configuration doesn't show modemtype. will autodetect 2009-04-08 03:22:48 [4339] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4339. 2009-04-08 03:22:48 [4339] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/kannel.smsc.log' with level `0'. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2009-04-08 03:22:48 [4339] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 4339. 2009-04-08 03:22:48 [4339] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2009-04-08 03:22:48 [4339] [0] DEBUG: starting UDP sender/receiver module 2009-04-08 03:22:48 [4339] [0] INFO: Adding interface * 2009-04-08 03:22:48 [4339] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9200> 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 8 (gw/bb_udp.c:udp_receiver) 2009-04-08 03:22:48 [4339] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps to pid 4339. 2009-04-08 03:22:48 [4339] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 9 (gw/bb_udp.c:udp_sender) 2009-04-08 03:22:48 [4339] [0] DEBUG: udpc_create: Bound to UDP <0.0.0.0:9201> 2009-04-08 03:22:48 [4339] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 10 (gw/bb_udp.c:udp_receiver) 2009-04-08 03:22:48 [4339] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender) maps to pid 4339. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 11 (gw/bb_udp.c:udp_sender) 2009-04-08 03:22:48 [4339] [0] DEBUG: starting wapbox connection module 2009-04-08 03:22:48 [4339] [0] ERROR: Missing wapbox-port variable, cannot start WAP 2009-04-08 03:22:48 [4339] [0] DEBUG: starting WDP router 2009-04-08 03:22:48 [4339] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router) maps to pid 4339. 2009-04-08 03:22:48 [4339] [12] DEBUG: udp_die: removing producers from udp-lists 2009-04-08 03:22:48 [4339] [12] DEBUG: Thread 12 (gw/bearerbox.c:wdp_router) terminates. 2009-04-08 03:22:48 [4339] [0] DEBUG: Started thread 12 (gw/bearerbox.c:wdp_router) 2009-04-08 03:22:48 [4339] [0] INFO: ---------------------------------------- 2009-04-08 03:22:48 [4339] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2009-04-08 03:22:48 [4339] [0] INFO: MAIN: Start-up done, entering mainloop 2009-04-08 03:22:48 [4339] [0] DEBUG: AT2[/dev/ttyS0]: start called 2009-04-08 03:22:48 [4339] [7] DEBUG: sms_router: gwlist_len = 0 2009-04-08 03:22:49 [4339] [5] INFO: Client connected from <127.0.0.1> 2009-04-08 03:22:49 [4339] [13] DEBUG: Thread 13 (gw/bb_boxc.c:function) maps to pid 4339. 2009-04-08 03:22:49 [4339] [5] DEBUG: Started thread 13 (gw/bb_boxc.c:function) 2009-04-08 03:22:49 [4339] [14] DEBUG: Thread 14 (gw/bb_boxc.c:boxc_sender) maps to pid 4339. 2009-04-08 03:22:49 [4339] [13] DEBUG: Started thread 14 (gw/bb_boxc.c:boxc_sender)
2009-04-08 03:22:49 [4355] [0] INFO: Added logfile `/var/log/kannel/kannel.smsbox.log' with level `0'. 2009-04-08 03:22:49 [4355] [0] INFO: Service global sender set as '' 2009-04-08 03:22:49 [4355] [0] INFO: HTTP: Opening server at port 13013. 2009-04-08 03:22:49 [4355] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4355. 2009-04-08 03:22:49 [4355] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-04-08 03:22:49 [4355] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4355. 2009-04-08 03:22:49 [4355] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-04-08 03:22:49 [4355] [0] INFO: Set up send sms service at port 13013 2009-04-08 03:22:49 [4355] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread) maps to pid 4355. 2009-04-08 03:22:49 [4355] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread) 2009-04-08 03:22:49 [4355] [0] DEBUG: ---------------------------------------------- 2009-04-08 03:22:49 [4355] [0] DEBUG: Kannel smsbox version 1.4.1 starting 2009-04-08 03:22:49 [4355] [4] DEBUG: Thread 4 (gw/smsbox.c:obey_request_thread) maps to pid 4355. 2009-04-08 03:22:49 [4355] [0] DEBUG: Started thread 4 (gw/smsbox.c:obey_request_thread) 2009-04-08 03:22:49 [4355] [5] DEBUG: Thread 5 (gw/smsbox.c:url_result_thread) maps to pid 4355. 2009-04-08 03:22:49 [4355] [0] DEBUG: Started thread 5 (gw/smsbox.c:url_result_thread) 2009-04-08 03:22:49 [4355] [6] DEBUG: Thread 6 (gw/smsbox.c:http_queue_thread) maps to pid 4355. 2009-04-08 03:22:49 [4355] [0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread) 2009-04-08 03:22:49 [4355] [0] INFO: Connected to bearerbox at 127.0.0.1 port 13001. 2009-04-08 03:22:49 [4355] [7] DEBUG: Thread 7 (gw/heartbeat.c:heartbeat_thread) maps to pid 4355. 2009-04-08 03:22:49 [4355] [0] DEBUG: Started thread 7 (gw/heartbeat.c:heartbeat_thread)
2009-04-08 03:22:48 [4339] [6] DEBUG: AT2[/dev/ttyS0]: detecting modem type 2009-04-08 03:22:48 [4339] [6] INFO: AT2[/dev/ttyS0]: opening device 2009-04-08 03:22:48 [4339] [6] DEBUG: AT2[/dev/ttyS0]: device opened 2009-04-08 03:22:49 [4339] [6] DEBUG: AT2[/dev/ttyS0]: device opened 2009-04-08 03:22:49 [4339] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600 2009-04-08 03:22:49 [4339] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M
kannel.conf
Description: Binary data
modems.conf
Description: Binary data
