Seems you modem is right on ttyUSB0

You might try with other speeds 34200?


Maybe it does not support AT commands at all?


|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México 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
>>
>> |-----------------------------------------------------------------------------------------------------------------|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel
>> en el Perú, México 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