can you add "+CMEE=1" or "+CMEE=2" to your modem init string? It might
give you more detail on "generic error" message.

Regards

Alvaro

On 6/25/12, vouk voukam voukam <[email protected]> wrote:
>
> I gave full access to USB01 chmod 777 /dev/ttyUSB0 and to /devttyUSB1The
> same error occurs
>> Date: Mon, 25 Jun 2012 10:39:49 -0500
>> Subject: Re: Huawei E220 Generic error: ERROR - Initialization of device
>> failed.
>> From: [email protected]
>> To: [email protected]
>> CC: [email protected]
>>
>> check read/write permissions for kannel user into /dev/ttyUSB01
>>
>> Regards
>>
>> Alvaro
>>
>> On 6/25/12, vouk voukam voukam <[email protected]> wrote:
>> >
>> > I want to setup Kannel in my Ubuntu machine. I have a Huawei e220 modem
>> > which is equipped with a SIM card and i have tested through minicom. It
>> > can
>> > successfully reads and sends SMS messages to phone numbers.This is my
>> > configuration:
>> >
>> >     group = core    admin-port = 13002    smsbox-port = 13003
>> > admin-password = bar    box-deny-ip = "*.*.*.*"    box-allow-ip =
>> > "127.0.0.1"        group = smsc    smsc = at    modemtype = huawei
>> > device
>> > = /dev/ttyUSB1    my-number = number    sms-center = number #SIM Number
>> > my-number = number #SIM Number    log-level = 1            group =
>> > modems
>> > id = huawei_e220    name = "Huawei_E220"    detect-string = "huawei"
>> > init-string = "ATZ"    init-string = "ATQ0 V1 E1 S0=0 &C1 &D2
>> > +FCLASS=0"
>> > message-storage=sm    speed=9600            group = smsbox
>> > bearerbox-host
>> > = 127.0.0.1    sendsms-port = 13013    global-sender = numberThe
>> > init-strings have been taken from /etc/wvdial.confwhen i am starting
>> > bearerbox it seems that it is not starting correctly:
>> > 2012-06-25 16:56:36 [8531] [6] ERROR: AT2[Huawei-e220]: Initialization
>> > of
>> > device failed.2012-06-25 16:56:36 [8531] [6] INFO: AT2[Huawei-e220]:
>> > Closing
>> > device2012-06-25 16:56:36 [8531] [6] ERROR: AT2[Huawei-e220]: Couldn't
>> > connect (retrying in 10 seconds).2012-06-25 16:56:46 [8531] [6] INFO:
>> > AT2[Huawei-e220]: opening device2012-06-25 16:56:46 [8531] [6] INFO:
>> > AT2[Huawei-e220]: Logging in2012-06-25 16:56:46 [8531] [6] INFO:
>> > AT2[Huawei-e220]: init device2012-06-25 16:56:46 [8531] [6] INFO:
>> > AT2[Huawei-e220]: speed set to 1152002012-06-25 16:56:47 [8531] [6]
>> > ERROR:
>> > AT2[Huawei-e220]: Generic error: ERROR2012-06-25 16:56:47 [8531] [6]
>> > ERROR:
>> > AT2[Huawei-e220]: Initialization of device failed.2012-06-25 16:56:47
>> > [8531]
>> > [6] INFO: AT2[Huawei-e220]: Closing device2012-06-25 16:56:47 [8531]
>> > [6]
>> > ERROR: AT2[Huawei-e220]: Couldn't connect (retrying in 10
>> > seconds).2012-06-25 16:56:57 [8531] [6] INFO: AT2[Huawei-e220]: opening
>> > device2012-06-25 16:56:57 [8531] [6] INFO: AT2[Huawei-e220]: Logging
>> > in2012-06-25 16:56:58 [8531] [6] INFO: AT2[Huawei-e220]: init
>> > device2012-06-25 16:56:58 [8531] [6] INFO: AT2[Huawei-e220]: speed set
>> > to
>> > 1152002012-06-25 16:56:58 [8531] [6] ERROR: AT2[Huawei-e220]: Generic
>> > error:
>> > ERROR2012-06-25 16:56:58 [8531] [6] ERROR: AT2[Huawei-e220]:
>> > Initialization
>> > of device failed.2012-06-25 16:56:58 [8531] [6] INFO: AT2[Huawei-e220]:
>> > Closing device2012-06-25 16:56:58 [8531] [6] ERROR: AT2[Huawei-e220]:
>> > Couldn't connect (retrying in 10 seconds).2012-06-25 16:57:08 [8531]
>> > [6]
>> > INFO: AT2[Huawei-e220]: opening device2012-06-25 16:57:08 [8531] [6]
>> > INFO:
>> > AT2[Huawei-e220]: Logging in2012-06-25 16:57:09 [8531] [6] INFO:
>> > AT2[Huawei-e220]: init device2012-06-25 16:57:09 [8531] [6] INFO:
>> > AT2[Huawei-e220]: speed set to 1152002012-06-25 16:57:10 [8531] [6]
>> > ERROR:
>> > AT2[Huawei-e220]: Generic error: ERROR2012-06-25 16:57:10 [8531] [6]
>> > ERROR:
>> > AT2[Huawei-e220]: Initialization of device failed.2012-06-25 16:57:10
>> > [8531]
>> > [6] INFO: AT2[Huawei-e220]: Closing device2012-06-25 16:57:10 [8531]
>> > [6]
>> > ERROR: AT2[Huawei-e220]: Couldn't connect (retrying in 10
>> > seconds).2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]: opening
>> > device2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]: Logging
>> > in2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]: init
>> > device2012-06-25 16:57:20 [8531] [6] INFO: AT2[Huawei-e220]: speed set
>> > to
>> > 1152002012-06-25 16:57:21 [8531] [6] ERROR: AT2[Huawei-e220]: Generic
>> > error:
>> > ERROR
>> > What am i doing wrong with the conf?
>> >
>> >                                    
>>
>>
>> --
>> |-----------------------------------------------------------------------------------------------------------------|
>> 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
>                                       


-- 
|-----------------------------------------------------------------------------------------------------------------|
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

Reply via email to