I ran wvdialconf command for my modem and I got the following output

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Undefined
ttyUSB0<*1>: Speed 230400: AT -- 
ttyUSB0<*1>: Speed 230400: AT -- 
ttyUSB0<*1>: Speed 230400: AT -- x��
ttyUSB0<*1>: Max speed is 115200; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

It is saying ATI command is not defined, As ATI command is not defined it is
unable to detect the modem and when I start bearer box I am getting the
following error.

: Cannot detect modem, using generic
2009-07-19 12:19:23 [3006] [6] DEBUG: AT2[/dev/ttyUSB0]: Reading modem
definitions from </etc/kannelworking.conf>
2009-07-19 12:19:23 [3006] [6] DEBUG: AT2[/dev/ttyUSB0]: Found <1> modems in
config
2009-07-19 12:19:23 [3006] [6] PANIC: AT2[/dev/ttyUSB0]: Cannot detect modem
and generic not found
2009-07-19 12:19:23 [3006] [6] PANIC: ./bearerbox(gw_panic+0xaf) [0x80ca29f]
2009-07-19 12:19:23 [3006] [6] PANIC: ./bearerbox [0x806c900]
2009-07-19 12:19:23 [3006] [6] PANIC: ./bearerbox [0x80c0d9d]
2009-07-19 12:19:23 [3006] [6] PANIC: /lib/libpthread.so.0 [0xb3d935]
2009-07-19 12:19:23 [3006] [6] PANIC: /lib/libc.so.6(clone+0x5e) [0xa7182e]

Please suggest if any one of you come across this problem.

Thanks,
Suman


ravurisuman wrote:
> 
> Hi All,
>          I am trying to configure kannel with 'TELTONIKA' GSM modem. I
> used the following modem configuration.
> 
> # MODEM DEFINITIONS
> group = modems
> id = Teltonika
> name = "Teltonika ModemUSB G10"
> detect-string = "Teltonika"
> init-string = "AT<cr>"
> init-string = "ATE0V1<cr>"
> init-string = "AT &C1 &D2 V1 S0=0<cr>"
> 
>     I have not pasted remaining configuartion infromation as it is pretty
> much same for all configurations. When I try to bearer box I got the
> following error in logs.
> 
> 009-07-18 23:47:23 [3254] [0] INFO:
> ----------------------------------------
> 2009-07-18 23:47:23 [3254] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2009-07-18 23:47:23 [3254] [0] INFO: MAIN: Start-up done, entering
> mainloop
> 2009-07-18 23:47:23 [3254] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
> 2009-07-18 23:47:24 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
> 2009-07-18 23:47:24 [3254] [6] INFO: AT2[/dev/ttyUSB0]: speed set to
> 115200
> 2009-07-18 23:47:24 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
> 2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
> 2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
> 2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
> 2009-07-18 23:47:26 [3254] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
> 2009-07-18 23:47:26 [3254] [6] INFO: AT2[/dev/ttyUSB0]: detect speed is
> 115200
> 2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
> type
> 2009-07-18 23:47:26 [3254] [6] INFO: AT2[/dev/ttyUSB0]: opening device
> 2009-07-18 23:47:26 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
> Telnet mode = 0
> 2009-07-18 23:47:27 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
> 2009-07-18 23:47:27 [3254] [6] INFO: AT2[/dev/ttyUSB0]: speed set to
> 115200
> 2009-07-18 23:47:27 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
> 2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
> 2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT
> 2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
> 2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
> 2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- AT&F
> 2009-07-18 23:47:29 [3254] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- ERROR
> 2009-07-18 23:47:29 [3254] [6] ERROR: AT2[/dev/ttyUSB0]: Generic error:
> ERROR
> 
> I think GSM modem I am using is unable to detect the  AT&F command. GSM
> modem  I am using is TELTONIKA G10 modem, I tried to get some information
> about this modem, but user guide is not useful to me.
> 
> 
> Thanks,
> Suman
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unable-to-connecy-to-teltonika-gsm-modem-tp24545192p24550828.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to