Hello i have a problem to connect my GSM Modem to Kannel the config and the log files...
Kannel.conf group = core smsbox-port = 13001 admin-port = 13000 admin-password = bar log-file = "/var/log/kannel/bearerbox.log" log-level = 0 access-log = "/var/log/kannel/access.log" store-file = "/var/log/kannel/kannel.store" # SMSC GSM group = smsc smsc-id = GSMModem smsc = at modemtype = simcom_ltd device = /dev/ttyUSB0 max-error-count = 1 speed = 460800 keepalive = 60 my-number = +507??????? sms-center = ??????????? #access-log = modem.access.log log-file = "/var/log/kannel/smsc.log" # MODEM CONFIG group = modems id = simcom_ltd name = simcom detect-string = Modem enable-hwhs = "AT" init-string = "AT+CNMI=2,1,0,1,1;+CMGF=0;+CPIN?;+CREG?;+COPS?;+CSCA?;+CPMS?;+CPBR=?;+CMEE=2;" message-storage = SM # PARA TEST: keepalive-cmd = AT+CSQ #reset-string = AT+CFUN=1 modem.log 2009-01-09 13:14:32 [9331] [6] INFO: AT2[GSMModem]: opening device 2009-01-09 13:14:32 [9331] [6] DEBUG: AT2[GSMModem]: device opened 2009-01-09 13:14:32 [9331] [6] DEBUG: AT2[GSMModem]: device opened 2009-01-09 13:14:32 [9331] [6] INFO: AT2[GSMModem]: init device 2009-01-09 13:14:32 [9331] [6] INFO: AT2[GSMModem]: speed set to 460800 2009-01-09 13:14:32 [9331] [6] DEBUG: AT2[GSMModem]: --> ATZ^M 2009-01-09 13:14:36 [9331] [6] ERROR: AT2[GSMModem]: Wrong or no answer to ATZ, ignoring 2009-01-09 13:14:36 [9331] [6] DEBUG: AT2[GSMModem]: --> AT^M bearerbox.log 2009-01-09 13:14:32 [9331] [0] INFO: Added logfile `/var/log/kannel/bearerbox.log' with level `0'. 2009-01-09 13:14:32 [9331] [0] INFO: Started access logfile `/var/log/kannel/access.log'. 2009-01-09 13:14:32 [9331] [0] INFO: SSL not supported, no SSL initialization done. 2009-01-09 13:14:32 [9331] [0] INFO: HTTP: Opening server at port 13000. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-01-09 13:14:32 [9331] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 9331. 2009-01-09 13:14:32 [9331] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-01-09 13:14:32 [9331] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2009-01-09 13:14:32 [9331] [0] DEBUG: starting smsbox connection module 2009-01-09 13:14:32 [9331] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default (100). 2009-01-09 13:14:32 [9331] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 4 (gw/bb_boxc.c:sms_to_smsboxes) 2009-01-09 13:14:32 [9331] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 5 (gw/bb_boxc.c:smsboxc_run) 2009-01-09 13:14:32 [9331] [0] INFO: Set SMS resend frequency to 60 seconds. 2009-01-09 13:14:32 [9331] [0] INFO: SMS resend retry set to unlimited. 2009-01-09 13:14:32 [9331] [0] INFO: DLR rerouting for smsc id <GSMModem> disabled. 2009-01-09 13:14:32 [9331] [0] INFO: Added logfile `/var/log/kannel/smsc.log' with level `0'. 2009-01-09 13:14:32 [9331] [0] INFO: AT2[GSMModem]: configuration shows modemtype <simcom_ltd> 2009-01-09 13:14:32 [9331] [0] DEBUG: AT2[GSMModem]: Reading modem definitions from </etc/kannel/kannel.conf> 2009-01-09 13:14:32 [9331] [0] DEBUG: AT2[GSMModem]: Found <1> modems in config 2009-01-09 13:14:32 [9331] [0] INFO: AT2[GSMModem]: read modem definition for <simcom> 2009-01-09 13:14:32 [9331] [6] DEBUG: Thread 6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 9331. 2009-01-09 13:14:32 [9331] [6] INFO: Logging thread `6' to logfile `/var/log/kannel/smsc.log' with level `0'. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 6 (gw/smsc/smsc_at.c:at2_device_thread) 2009-01-09 13:14:32 [9331] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 9331. 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2009-01-09 13:14:32 [9331] [0] INFO: ---------------------------------------- 2009-01-09 13:14:32 [9331] [0] INFO: Kannel bearerbox II version 1.4.1 starting 2009-01-09 13:14:32 [9331] [0] INFO: Loading store file `/var/log/kannel/kannel.store' 2009-01-09 13:14:32 [9331] [0] INFO: Store-file size 183, starting to unpack 2009-01-09 13:14:32 [9331] [0] INFO: Retrieved 1 messages, non-acknowledged messages: 1 2009-01-09 13:14:32 [9331] [8] DEBUG: Thread 8 (gw/bb_store.c:store_dumper) maps to pid 9331. 2009-01-09 13:14:32 [9331] [0] DEBUG: Started thread 8 (gw/bb_store.c:store_dumper) 2009-01-09 13:14:32 [9331] [0] INFO: MAIN: Start-up done, entering mainloop 2009-01-09 13:14:32 [9331] [0] DEBUG: AT2[GSMModem]: start called 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: gwlist_len = 1 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: handling message (0x91d8330 vs 0x91d8330) 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: handling message (0x91d8330 vs 0x91d8330) 2009-01-09 13:14:32 [9331] [7] DEBUG: sms_router: time to sleep 30.00 secs. 2009-01-09 13:14:52 [9331] [8] DEBUG: Dumping 1 messages to store 2009-01-09 13:15:02 [9331] [7] DEBUG: sms_router: gwlist_len = 1 2009-01-09 13:15:02 [9331] [7] DEBUG: sms_router: handling message (0x91d8330 vs 0x91d8330) 2009-01-09 13:15:02 [9331] [7] DEBUG: sms_router: handling message (0x91d8330 vs 0x91d8330) 2009-01-09 13:15:02 [9331] [7] DEBUG: sms_router: time to sleep 30.00 secs. and this is a wvdial.conf... work great.... Init1 = AT init2 = AT+CPIN? Init3 = AT+CMEE=1 Init3 = AT+CIMI Init4 = AT+CSCA? Init5 = AT+CSCS="UCS2" Init6 = AT+CLIP=1&w Init7 = AT+COPS? Init8 = AT+NMSI? Stupid Mode = 1 Modem Type = Analog Modem Baud = 460800 New PPPD = yes Modem = /dev/ttyUSB0 ISDN = 0 Phone = 3600223 Password = off Username = off Dial Command = ATD Remote Nane = "*" wvdial Response: --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: AT AT OK --> Sending: AT+CPIN? AT+CPIN? +CPIN: READY OK --> Sending: AT+CIMI AT+CIMI ????????????? OK --> Sending: AT+CSCA? AT+CSCA? +CSCA: "????????????????",145 OK --> Sending: AT+CSCS="UCS2" AT+CSCS="UCS2" OK --> Sending: AT+CLIP=1&w AT+CLIP=1&w OK --> Sending: AT+COPS? AT+COPS? +COPS: 0,0,"020" OK --> Sending: AT+NMSI? AT+NMSI? +CNMSI: 0 OK I dont know whats happen... i read and change the config... Thanks for all.... -- View this message in context: http://www.nabble.com/Problem-with-GSM-Modem---Connect-in-wvdial-tp21377640p21377640.html Sent from the Kannel - User mailing list archive at Nabble.com.