Hi Again, please cc kannel list.
Kannel now sees the modem but failed with CPIN command. This is the sim PIN you have defined on your config. If the sim does not need a PIN to work, just comment that line. Regards Alvaro |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.com On Sat, Oct 18, 2014 at 12:27 AM, Anjaly Kurian <anjalykurian1...@yandex.com > wrote: > Hi Sir > I just change /dev/ttyS0 to /dev/ttyS2 then I got the following modem > log..It got reply OK.. > > 2014-10-18 10:51:33 [2708] [6] INFO: AT2[simcom]: trying to use speed > <9600> from modem definition > 2014-10-18 10:51:33 [2708] [6] INFO: AT2[simcom]: opening device > 2014-10-18 10:51:34 [2708] [6] DEBUG: AT2[simcom]: device opened. Telnet > mode = 0 > 2014-10-18 10:51:34 [2708] [6] DEBUG: AT2[simcom]: device opened > 2014-10-18 10:51:34 [2708] [6] INFO: AT2[simcom]: speed set to 9600 > 2014-10-18 10:51:34 [2708] [6] DEBUG: AT2[simcom]: --> ^M > 2014-10-18 10:51:36 [2708] [6] DEBUG: AT2[simcom]: --> AT^M > 2014-10-18 10:51:36 [2708] [6] DEBUG: AT2[simcom]: <-- AT > 2014-10-18 10:51:36 [2708] [6] DEBUG: AT2[simcom]: <-- OK > 2014-10-18 10:51:36 [2708] [6] INFO: AT2[simcom]: Closing device > 2014-10-18 10:51:36 [2708] [6] INFO: AT2[simcom]: speed is 9600 > 2014-10-18 10:51:36 [2708] [6] INFO: AT2[simcom]: opening device > 2014-10-18 10:51:36 [2708] [6] DEBUG: AT2[simcom]: device opened. Telnet > mode = 0 > 2014-10-18 10:51:36 [2708] [6] DEBUG: AT2[simcom]: device opened > 2014-10-18 10:51:36 [2708] [6] INFO: AT2[simcom]: Logging in > 2014-10-18 10:51:36 [2708] [6] INFO: AT2[simcom]: init device > 2014-10-18 10:51:36 [2708] [6] INFO: AT2[simcom]: speed set to 9600 > 2014-10-18 10:51:36 [2708] [6] DEBUG: AT2[simcom]: --> ATZ^M > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- ATZ > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- OK > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: --> AT^M > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- AT > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- OK > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: --> AT&F^M > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- AT&F > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- OK > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: --> ATE0^M > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- ATE0 > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: <-- OK > 2014-10-18 10:51:37 [2708] [6] DEBUG: AT2[simcom]: --> AT+IFC=2,2^M > 2014-10-18 10:51:43 [2708] [6] INFO: AT2[simcom]: cannot enable hardware > handshake > 2014-10-18 10:51:43 [2708] [6] DEBUG: AT2[simcom]: --> AT+CPIN?^M > 2014-10-18 10:52:03 [2708] [6] ERROR: AT2[simcom]: Initialization of > device failed. Attempt #0 on -1 max. > 2014-10-18 10:52:03 [2708] [6] INFO: AT2[simcom]: Closing device > 2014-10-18 10:52:03 [2708] [6] ERROR: AT2[simcom]: Couldn't connect > (retrying in 10 seconds). > 2014-10-18 10:52:13 [2708] [6] INFO: AT2[simcom]: opening device > 2014-10-18 10:52:13 [2708] [6] DEBUG: AT2[simcom]: device opened. Telnet > mode = 0 > 2014-10-18 10:52:13 [2708] [6] DEBUG: AT2[simcom]: device opened > 2014-10-18 10:52:13 [2708] [6] INFO: AT2[simcom]: Logging in > 2014-10-18 10:52:14 [2708] [6] INFO: AT2[simcom]: init device > 2014-10-18 10:52:14 [2708] [6] INFO: AT2[simcom]: speed set to 9600 > 2014-10-18 10:52:14 [2708] [6] DEBUG: AT2[simcom]: --> ATZ^M > > Sir is now the modem is connected with Kannel..? > -- > With regards, > Anjaly Kurian >