Hi,

That's probably not your problem. You probably have the wrong device. Read User's manual about modem installation. In USB devices you get 3 devices/USB. 1 is the header/control and the other 2 are serial. Verify with minicom that the device you have chosen responds to AT commands.

BR,
Nikos
----- Original Message ----- From: Helge Wiemann
To: users@kannel.org
Sent: Wednesday, June 30, 2010 11:05 AM
Subject: Re: problem by starting bearerbox


Hello,

I have still bad problems with this Wavecom WM0D2, also with other speed configurations.

Which AT commands does it have to support? The user-guide on www.cognitivekipple.com/store/WMOD2-UserGuide.pdf for example does not show the ATZ command



On 23.06.2010 20:41, Alvaro Cornejo wrote:
Seems you modem is right on ttyUSB0

You might try with other speeds 34200?


Maybe it does not support AT commands at all?


|-----------------------------------------------------------------------------------------------------------------|
Envie y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Peru, Mexico y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
             Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Wed, Jun 23, 2010 at 10:53 AM, Helge Wiemann <h...@open-your-bytes.de> wrote:

Hi,

thanks first of all :-)

A dmesg gives me:

[17701.392078] usb 3-1: new full speed USB device using uhci_hcd and
address 17
[17701.554295] usb 3-1: configuration #1 chosen from 1 choice
[17701.557205] pl2303 3-1:1.0: pl2303 converter detected
[17701.569263] usb 3-1: pl2303 converter now attached to ttyUSB0

And a wvdial wvdial.conf gives me:

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


What might be the problem? Any idea?


On 23.06.2010 17:35, Alvaro Cornejo wrote:

Hi

You can use vwdial config option to have it search for the modem and
test some basic init-strings.

use

# wvdialconf wvdial.conf

It will scan all available ports/speeds and will try to fecth a basic
config. With
the info gathered, you can test a manual connection with minicom and
if it works go and configure kannel.

Regards

Alvaro

|-----------------------------------------------------------------------------------------------------------------|
Envie y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Peru, Mexico y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
             Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Wed, Jun 23, 2010 at 10:20 AM, Milan P. Stanic <m...@arvanta.net> wrote:


[ A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing? ]

On Wed, 2010-06-23 at 16:52, Helge Wiemann wrote:


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


Looks like your modem is not connected.



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


Try to connect to modem with minicom and issue some commands to see if
it works.

--
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code.










Reply via email to