cannot detect modem
David <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
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 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 and a portion of kannel.conf: group = smsc smsc = at modemtype = wavecom device = /dev/ttyS0 smsc-id = gsmmodem speed = 9600 any idea what's making my bearerbox chew out those errors? Thanks a lot!