Yet another Huawei 3G USB modem problem....

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Yet another Huawei 3G USB modem problem....

Postby NotExcessive » Sat Feb 05, 2011 2:41

I've noticed I'm not alone in having a Huawei modem that used to work, and after something upgraded, having no more 3G access. I have both an E122 and an E1550, but the result is the same - no connection. I've searched the forums and found lots of information, but I still haven't found a solution yet.

The contents of wvdial.conf are:

Code: Select all
[Dialer Defaults]
Stupid Mode = 1
init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","3netaccess"
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Dial Command = ATD
Auto Reconnect = on
Carrier Check = yes
Username = three
Password = three
Modem = /dev/ttyUSB2
Baud = 460800


The only thing I've noticed is that it used to work on /dev/ttyUSB0, but now it's /dev/ttyUSB2 that wvdialconfig detects, so I've left it at /dev/ttyUSB2. Running usb_modeswitch I get:

Code: Select all
klaatu etc # usb_modeswitch -c usb_modeswitch.conf

Looking for target devices ...
 Found devices in target mode or class (1)
Looking for default devices ...
 No devices in default mode or class found. Nothing to do. Bye.



And the entry I'm using in usb_modeswitch.conf is this, which used to work before (in other words, I found it to work with both modems perfectly, before whatever it is broke):

Code: Select all
########################################################
# Huawei E122  (HSPA+ modem)
#

DefaultVendor=  0x12d1
DefaultProduct= 0x1446

TargetVendor=   0x12d1
TargetProduct=  0x1001

MessageContent="55534243123456780000000000000011060000000000000000000000000000"

CheckSuccess=5


Now, invoking wvdial shows:

Code: Select all
klaatu etc # wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","3netaccess"
AT+CGDCONT=1,"IP","3netaccess"
OK
--> Modem initialized.
--> Sending: ATD*99#
--> Waiting for carrier.
ATD*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Feb  5 12:15:49 2011
--> Pid of pppd: 13939
--> pppd: �[7f]
--> Using interface ppp0
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> pppd: �[7f]
--> Disconnecting at Sat Feb  5 12:16:19 2011
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","3netaccess"
AT+CGDCONT=1,"IP","3netaccess"
OK
--> Modem initialized.
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","3netaccess"
AT+CGDCONT=1,"IP","3netaccess"
OK
--> Modem initialized.
--> Sending: ATD*99#
--> Waiting for carrier.
ATD*99#
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATD*99#
--> Waiting for carrier.
^BOOT:30117084,0,0,0,87
ATD*99#
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATD*99#
--> Waiting for carrier.
ATD*99#
NO CARRIER
--> No Carrier!  Trying again.
--> Sending: ATD*99#
--> Waiting for carrier.
ATD*99#
NO CARRIER
--> No Carrier!  Trying again.
^CCaught signal 2:  Attempting to exit gracefully...
--> Disconnecting at Sat Feb  5 12:16:27 2011
klaatu etc #


looking at /var/log/messages shows nothing specific.

Can anyone help?
NotExcessive
Simple Hen
 
Posts: 77
Joined: Mon May 12, 2008 7:26

Re: Yet another Huawei 3G USB modem problem....

Postby yogieza » Sat Feb 05, 2011 6:42

have you try running wvdialconf ?
yogieza
Baby Hen
 
Posts: 11
Joined: Sun Dec 26, 2010 6:41
Location: Indonesia

Re: Yet another Huawei 3G USB modem problem....

Postby NotExcessive » Sat Feb 05, 2011 6:50

Yes, the results are identical to my original wvdial.conf file, with the exception of /dev/ttyUSB2 vs /dev/ttyUSB0.
NotExcessive
Simple Hen
 
Posts: 77
Joined: Mon May 12, 2008 7:26

Re: Yet another Huawei 3G USB modem problem....

Postby mauriceplus » Thu Mar 24, 2011 19:30

Hi...
Have you tried using GNOME PPP???
I use it since I installed Sabayon due to software troubles with my mobile provider.....

It works....
Look at my post, I can translate it to English if you need help!!
viewtopic.php?f=22&t=22069&p=124471&hilit=e122#p124471

bye :mrgreen: :mrgreen: :mrgreen:
mauriceplus
Baby Hen
 
Posts: 2
Joined: Mon Oct 18, 2010 18:23

Re: Yet another Huawei 3G USB modem problem....

Postby NotExcessive » Thu Mar 24, 2011 23:54

I ended up rebuilding the entire laptop with a new installation of 64-bit 5.5, and it worked out of the box. Don't know what the original issue was since the usb_modeswitch and wvdial configuration files are exactly the same.
NotExcessive
Simple Hen
 
Posts: 77
Joined: Mon May 12, 2008 7:26


Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 2 guests