Hi,

Seems you have wrong serial device for your modem. Please read User's guide about modem installation.

BR,
Nikos
----- Original Message ----- From: "Helge Wiemann" <h...@open-your-bytes.de>
To: <users@kannel.org>
Sent: Wednesday, June 23, 2010 5:52 PM
Subject: Re: problem by starting bearerbox


My kannel.conf looks like this:

group = smsc
smsc = at
modemtype = wavecom
device = /dev/ttyUSB0
speed = 9600
pin = mypin

group = modems
id = wavecom
name = "Wavecom WM0D2"
detect-string = "Wavecom"
detect-string2 = "WM0D2"
need-sleep = true

What might by the problem?

Now I am getting a:

2010-06-23 16:51:42 [6610] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
2010-06-23 16:51:42 [6610] [14] DEBUG: Thread 14
(gw/bearerbox.c:wdp_router) maps to pid 6610.
2010-06-23 16:51:42 [6610] [12] DEBUG: Thread 12
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 6610.
2010-06-23 16:51:42 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
Telnet mode = 0
2010-06-23 16:51:43 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2010-06-23 16:51:43 [6610] [6] INFO: AT2[/dev/ttyUSB0]: Logging in
2010-06-23 16:51:43 [6610] [6] INFO: AT2[/dev/ttyUSB0]: init device
2010-06-23 16:51:43 [6610] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 9600
2010-06-23 16:51:43 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATZ^M
2010-06-23 16:51:47 [6610] [6] ERROR: AT2[/dev/ttyUSB0]: Wrong or no
answer to ATZ, ignoring
2010-06-23 16:51:47 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2010-06-23 16:51:51 [6610] [6] ERROR: AT2[/dev/ttyUSB0]: Wrong or no
answer to AT. Trying again
2010-06-23 16:51:51 [6610] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M


Thanks for some help for a real dummy of mine!


On 23.06.2010 16:20, Milan P. Stanic wrote:
On Wed, 2010-06-23 at 16:10, Helge Wiemann wrote:

Hello,

I got the following output during starting the bearerbox.

2010-06-23 15:53:07 [6041] [8] DEBUG: Thread 8
(gw/bb_udp.c:udp_receiver) maps to pid 6041.
2010-06-23 15:53:07 [6041] [12] DEBUG: Thread 12
(gw/bb_boxc.c:wdp_to_wapboxes) maps to pid 6041.
2010-06-23 15:53:07 [6041] [10] DEBUG: Thread 10
(gw/bb_udp.c:udp_receiver) maps to pid 6041.
2010-06-23 15:53:07 [6041] [13] DEBUG: Thread 13
(gw/bb_boxc.c:wapboxc_run) maps to pid 6041.
2010-06-23 15:53:07 [6041] [9] DEBUG: Thread 9 (gw/bb_udp.c:udp_sender)
maps to pid 6041.
2010-06-23 15:53:07 [6041] [14] DEBUG: Thread 14
(gw/bearerbox.c:wdp_router) maps to pid 6041.
2010-06-23 15:53:07 [6041] [11] DEBUG: Thread 11
(gw/bb_udp.c:udp_sender) maps to pid 6041.
2010-06-23 15:53:07 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
Telnet mode = 0
2010-06-23 15:53:08 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2010-06-23 15:53:08 [6041] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 9600
2010-06-23 15:53:08 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
2010-06-23 15:53:10 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2010-06-23 15:53:14 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2010-06-23 15:53:18 [6041] [6] ERROR: AT2[/dev/ttyUSB0]: Couldn't
connect (retrying in 10 seconds).

My modem is a Wavecom.

What means the line?

2010-06-23 15:53:14 [6041] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M

AT&F is command to set default factory settings.

BTW, google is your friend. ;)







Reply via email to