Hi

Check mailing list. There are several threads about this issue.

Check device write permissions.

Check kannel is connecting to the right device. Some USB devices use
/dev/ttyUSBxx, /dev/ttyAMCxx, etc

On 1/8/08, Rafael Bernardes <[EMAIL PROTECTED]> wrote:
> Hi to everyone!
> I have a modem D301 (with ATI1 command in minicom returns GW01 USB WMC
> Modem). When i start the kannel my log show me the following lines:
>
> 2008-01-08 13:04:15 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
> 2008-01-08 13:04:19 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
> 2008-01-08 13:04:23 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem
> type
> 2008-01-08 13:04:23 [9794] [6] INFO: AT2[/dev/ttyACM0]: opening device
> 2008-01-08 13:04:23 [9794] [6] WARNING: AT2[/dev/ttyACM0]: trying to
> open device with not closed device!!! Please report!!!
> 2008-01-08 13:04:23 [9794] [6] INFO: AT2[/dev/ttyACM0]: closing device
> 2008-01-08 13:04:23 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2008-01-08 13:04:24 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2008-01-08 13:04:24 [9794] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600
> 2008-01-08 13:04:24 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> ^M
> 2008-01-08 13:04:26 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT^M
> 2008-01-08 13:04:30 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: --> AT&F^M
> 2008-01-08 13:04:34 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: detecting modem
> type
> 2008-01-08 13:04:34 [9794] [6] INFO: AT2[/dev/ttyACM0]: opening device
> 2008-01-08 13:04:34 [9794] [6] WARNING: AT2[/dev/ttyACM0]: trying to
> open device with not closed device!!! Please report!!!
> 2008-01-08 13:04:34 [9794] [6] INFO: AT2[/dev/ttyACM0]: closing device
> 2008-01-08 13:04:34 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2008-01-08 13:04:35 [9794] [6] DEBUG: AT2[/dev/ttyACM0]: device opened
> 2008-01-08 13:04:35 [9794] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600
>
> Kannel Conf:
> group = core
> admin-port = 13000
> admin-password = bar
> admin-allow-ip = ""
> smsbox-port = 13001
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> box-allow-ip = ""
>
>
> group = smsc
> smsc = at
> modemtype = "usb modem"
> device = /dev/ttyACM0
> pin = 3636
> speed = 9600
> sim-buffering = true
> log-file = "/var/log/kannel/sms.log"
> log-level = 0
>
> group = modems
> id = auto
> name = "GW01 USB WMC Modem?
> broken = true
> detect-string = "D301"
> detect-string2 = "GW01"
> init-string = "AT+CNMI=1,2,0,1,1"
> speed = 19200
> enable-hwhs = "AT\\Q3"
> need-sleep = true
> #message-storage = "ME"
> keepalive-cmd = "AT+CSQ"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13003
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
> group = core
> admin-port = 13000
> admin-password = bar
> admin-allow-ip = ""
> smsbox-port = 13001
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> box-allow-ip = ""
>
>
> group = smsc
> smsc = at
> modemtype = "usb modem"
> device = /dev/ttyACM0
> pin = 3636
> speed = 9600
> sim-buffering = true
> log-file = "/var/log/kannel/sms.log"
> log-level = 0
>
> group = modems
> id = auto
> name = "GW01 USB WMC Modem?
> broken = true
> detect-string = "D301"
> detect-string2 = "GW01"
> init-string = "AT+CNMI=1,2,0,1,1"
> speed = 19200
> enable-hwhs = "AT\\Q3"
> need-sleep = true
> #message-storage = "ME"
> keepalive-cmd = "AT+CSQ"
>
> group = smsbox
> bearerbox-host = localhost
> sendsms-port = 13003
> log-file = "/var/log/kannel/smsbox.log"
> log-level = 0
>
> Regards
>
> Rafael
>
>
>
> <http://www.fbiz.com.br/scripts/origem.asp?IDOrigem=6018>
>
>
> <http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408>
>
>
>


-- 
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.smsglobal.com.mx y www.pravcom.com

Reply via email to