Im running in ubuntu 7.10 via apt-get:
kannel 6663 0.0 0.0 7120 708 ? Ss 10:43 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_bearerbox.pid --no-extra-args /usr kannel 6664 95.3 0.1 106748 2544 ? Sl 10:43 0:02 /usr/sbin/bearerbox -v 4 -- /etc/kannel/kannel.conf kannel 6679 0.0 0.0 7124 708 ? Ss 10:43 0:00 /usr/sbin/run_kannel_box --pidfile /var/run/kannel/kannel_wapbox.pid --no-extra-args /usr/sb

I trying just type bearerbox /etc/kannel/kanne.conf but have the same error.

info.ubichip wrote:
Are you sure only one kannel process is running at the time ?



-----Original Message-----
From: Rafael Bernardes [mailto:[EMAIL PROTECTED]
Sent: mardi 8 janvier 2008 09:49
To: Alvaro Cornejo
Cc: users@kannel.org
Subject: Re: Problem Modem D301 USB

Im search in the list but nothing to see work:

ls -al ttyACM*
crwxrwxrwx 1 root dialout 166, 0 2008-01-08 15:28 ttyACM0 crwxrwxrwx 1 root
dialout 166, 1 2008-01-08 15:39 ttyACM1

In minicom, ttyACM0 and ttyACM1 working!
But in kannel have same error:

AT S7=45 S0=0 L1 V1 X4 &c1 E1
Q0 OK


ATI1


cxc1722861 OK ATI3 GW01 USB WMC Modem OK

Regards


Alvaro Cornejo wrote:
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>




--


* Rafael Bernardes *
Infra
55 11 3525-5364
55 11 8643-3454
[EMAIL PROTECTED]
[EMAIL PROTECTED]

<http://www.fbiz.com.br/scripts/origem.asp?IDOrigem=6018>

AgĂȘncia F.biz <http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408>
<http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408>






_____ Antivirus avast! <http://www.avast.com> : message Sortant sain.

Base de donnees virale (VPS) : 080108-0, 08/01/2008
Analyse le : 08/01/2008 13:28:18
avast! - copyright (c) 1988-2008 ALWIL Software.




--


* Rafael Bernardes *
Infra
55 11 3525-5364
55 11 8643-3454
[EMAIL PROTECTED]
[EMAIL PROTECTED]

<http://www.fbiz.com.br/scripts/origem.asp?IDOrigem=6018>

AgĂȘncia F.biz <http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408>
<http://www.fbiz.com.br/scripts/origem.asp?idorigem=2408>


Reply via email to