Re: cannot detect modem

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization The Kannel Group
Message-ID <[email protected]>
David wrote:

> Hi,
> 
> i've tried using wvdialconf and according to it, my gsm modem seems 
> working fine, here is the output from wvdialconf:
> ------------------------------------
> ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
> ttyS0<*1>: ATQ0 V1 E1 -- OK
> ttyS0<*1>: ATQ0 V1 E1 Z -- OK
> ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> ttyS0<*1>: Modem Identifier: ATI -- WAVECOM MODEM

ok, we see here that the modem identifier string is 'WAVECOM'.

> ttyS0<*1>: Speed 19200: AT --
> ttyS0<*1>: Speed 19200: AT --
> ttyS0<*1>: Speed 19200: AT --
> ttyS0<*1>: Max speed is 9600; that should be safe.
> ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
> Port Scan<*1>: S2   S3   S4   S5   S6   S7
> 
> Found a modem on /dev/ttyS0.
> Modem configuration written to /etc/wvdial.conf.
> ttyS0<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> -------------------------------------
> 
> however, i couldn't make kannel work, i'm guessing it couldn't detect my 
> modem according to this messages:
> ---------------------------
> 2005-01-24 23:16:50 [7645] [7] DEBUG: Loading include file `modem.conf' 
> (on line 26 of file kannel.conf).2005-01-24 23:16:50 [7645] [7] DEBUG: 
> AT2[gsmmodem]: Found <1> modems in config
> 2005-01-24 23:16:50 [7645] [7] PANIC: AT2[gsmmodem]: Cannot detect modem 
> and generic not found
> 2005-01-24 23:16:50 [7645] [7] PANIC: ./bearerbox(gw_panic+0x174) 
> [0x80c70b8]
> 2005-01-24 23:16:50 [7645] [7] PANIC: ./bearerbox [0x8068f17]
> 2005-01-24 23:16:50 [7645] [7] PANIC: ./bearerbox [0x806580c]
> 2005-01-24 23:16:50 [7645] [7] PANIC: ./bearerbox [0x80bcc48]
> 2005-01-24 23:16:50 [7645] [7] PANIC: /lib/tls/libpthread.so.0 [0x6bd1d5]
> 2005-01-24 23:16:50 [7645] [7] PANIC: /lib/tls/libc.so.6(__clone+0x5a) 
> [0x47e2da]
> --------------------------
> 
> my modem.conf:
> 
> group = modems
> id = nokiaphone
> name = "Nokia Phone"
> detect-string = "Nokia Mobile Phone"
> need-sleep = true
> keepalive-cmd = "AT+CBC;+CSQ"
> enable-mms = false

so, why is there _only_ a nokiaphone group in your modem.conf?

According to cvs's doc/examples/modems.conf there is a group:

group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"

which should be doing the work.

Actually the panic means, Kannel didn't find a matching GSM modem string 
according to those found in modems.conf and there was no generic. Hence Kannel 
treats the situation as: I can't figure out what you have for a modem.

You should include the packaged modems.conf and re-try.

Stipe

mailto:stolj_{at}_wapme.de
-------------------------------------------------------------------
Wapme Systems AG

Vogelsanger Weg 80
40470 Düsseldorf, NRW, Germany

phone: +49.211.74845.0
fax: +49.211.74845.299

mailto:info_{at}_wapme-systems.de
http://www.wapme-systems.de/
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.