There is no answer from the modem to kannel... maybe your modem is
connected to a port different from /dev/ttyS0... or you are using the
wrong cable...

Also try with different speeds or use wvdial to find out the correct port config

Regards

|-----------------------------------------------------------------------------------------------------------------|
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.NET www.smsglobal.com.mx y
www.pravcom.com



On Tue, Feb 15, 2011 at 12:44 PM, becoco <[email protected]> wrote:
> Hi all,
> I can not connect the Nokia 22 has kannel :-(
> Here's my config :
>
> # modem
> group = smsc
> smsc = at
> modemtype = premicell
> device = /dev/ttyS0
>
> group = modems
> id = premicell
> name = Premicell
> detect-string = "PREMICEL"
> no-pin = true
> no-smsc = true
>
> My log:
>
> 2011-02-15 17:57:57 [3040] [0] INFO:
> ----------------------------------------
> 2011-02-15 17:57:57 [3040] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2011-02-15 17:57:57 [3040] [0] INFO: MAIN: Start-up done, entering mainloop
> 2011-02-15 17:57:57 [3040] [0] DEBUG: AT2[/dev/ttyS0]: start called
> 2011-02-15 17:57:57 [3040] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender) maps
> to pid 3040.
> 2011-02-15 17:57:57 [3040] [10] DEBUG: Thread 10 (gw/bb_udp.c:udp_receiver)
> maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [8] DEBUG: Thread 8 (gw/bb_udp.c:udp_receiver)
> maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [11] DEBUG: Thread 11 (gw/bb_udp.c:udp_sender)
> maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
> maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [12] DEBUG: Thread 12
> (gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [13] DEBUG: Thread 13 (gw/bb_boxc.c:wapboxc_run)
> maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [14] DEBUG: Thread 14 (gw/bearerbox.c:wdp_router)
> maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [6] DEBUG: Thread 6
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 3040.
> 2011-02-15 17:57:57 [3040] [6] INFO: AT2[/dev/ttyS0]: trying to use speed
> <9600> from modem definition
> 2011-02-15 17:57:57 [3040] [6] INFO: AT2[/dev/ttyS0]: opening device
> 2011-02-15 17:57:57 [3040] [6] DEBUG: AT2[/dev/ttyS0]: device opened. Telnet
> mode = 0
> 2011-02-15 17:57:57 [3040] [6] DEBUG: AT2[/dev/ttyS0]: device opened
> 2011-02-15 17:57:57 [3040] [6] INFO: AT2[/dev/ttyS0]: speed set to 9600
> 2011-02-15 17:57:57 [3040] [6] DEBUG: AT2[/dev/ttyS0]: --> ^M
> 2011-02-15 17:57:58 [3040] [13] INFO: Client connected from <127.0.0.1>
> 2011-02-15 17:57:58 [3040] [13] DEBUG: Started thread 15
> (gw/bb_boxc.c:function)
> 2011-02-15 17:57:58 [3040] [15] DEBUG: Thread 15 (gw/bb_boxc.c:function)
> maps to pid 3040.
> 2011-02-15 17:57:58 [3040] [15] DEBUG: setting up systems for new wapbox
> 2011-02-15 17:57:58 [3040] [15] DEBUG: Started thread 16
> (gw/bb_boxc.c:boxc_sender)
> 2011-02-15 17:57:58 [3040] [16] DEBUG: Thread 16 (gw/bb_boxc.c:boxc_sender)
> maps to pid 3040.
> 2011-02-15 17:57:58 [3040] [5] INFO: Client connected from <127.0.0.1>
> 2011-02-15 17:57:58 [3040] [5] DEBUG: Started thread 17
> (gw/bb_boxc.c:function)
> 2011-02-15 17:57:58 [3040] [17] DEBUG: Thread 17 (gw/bb_boxc.c:function)
> maps to pid 3040.
> 2011-02-15 17:57:58 [3040] [17] DEBUG: Started thread 18
> (gw/bb_boxc.c:boxc_sender)
> 2011-02-15 17:57:58 [3040] [18] DEBUG: Thread 18 (gw/bb_boxc.c:boxc_sender)
> maps to pid 3040.
> 2011-02-15 17:57:59 [3040] [2] DEBUG: HTTP: Creating HTTPClient for
> `192.168.1.4'.
> 2011-02-15 17:57:59 [3040] [2] DEBUG: HTTP: Created HTTPClient area
> 0x91a62f0.
> 2011-02-15 17:57:59 [3040] [3] DEBUG: HTTP: Resetting HTTPClient for
> `192.168.1.4'.
> 2011-02-15 17:58:59 [3040] [1] DEBUG: Timeout for fd:52 appeares.
> 2011-02-15 17:58:59 [3040] [1] DEBUG: HTTP: Destroying HTTPClient area
> 0x91a62f0.
>
>
> my status page:
>
> SMSC connections:
>     unknown    AT2[/dev/ttyS0] (connecting, rcvd 0, sent 0, failed 0, queued
> 0 msgs)
>
>
> Please help,
> Mickael

Reply via email to