Ubuntu version = 9.10 (netbook remix)
Kernel = 2.6.31-19-generic i686
Hardware = Asus EEE PC 701sd
I'm trying to use a Huawei E122 USB stick to connect to the internet on UK mobile network "3". I've tried all kinds of ways to get it to work but with no joy.
Starting off in network manager adding a new Mobile Broadband connection, the device is automatically recognised as "HUA WEI Huawei Mobile". I then choose the right country and network and this sets the APN as "3internet", the number to dial as *99# and the username and password blank. I then try to connect. Nothing happens for a few seconds, then I just get a network manager message saying "GSM Network - Disconnected - You are now offline". I've tried changing the dial number to *99***1# which is the number used in Windows, and I've tried entering various things for username/password but nothing makes a difference.
The next thing I tried was connecting using wvdial in the terminal. I ran "sudo apt-get install wvdial". Then I ran wvdialconf, which generates the following /etc/wvdial.conf file:
I edited wvdial.conf to look like this:[Dialer Defaults]
Init2 = AT0Q V1 E1 S0=0 &C1 &D2
Modem Type = Analog Modem
; Phone = <Target Phone Number>
ISDN = 0
; Username = <Your login name>
Init1 = ATZ
; Password <Your Password>
Modem = /dev/ttyUSB0
Baud = 9600
Next I ran sudo wvdial. This was the output:[Dialer Defaults]
Init2 = AT0Q V1 E1 S0=0 &C1 &D2
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Username = three
Init1 = ATZ
Password = three
Modem = /dev/ttyUSB0
Baud = 9600
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Modem Initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT 7200000
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Thu Mar 11 16:15:41 2010
--> Pid of pppd: 2570
This goes on with a few lines of pppd: p[08]9 ? and includes "Authentication (CHAP) successful" but then I get this:
It then Auto Reconnects over and over.--> Disconnecting at Thu Mar 11 16:15:42 2010
--> 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.
I have tried adding the line "Init3 = AT+CGDCONT=1,"IP","3internet"" to wvdial.conf and I have tried things like "Stupid Mode = 1" as well as changing the dial number, username, password etc. Whatever I do I still get the same output from wvdial.
I have also tried connecting using various versions of Vodafone Mobile Connect (with ozerocdoff and usb-modeswitch installed) but it seems to give a similar result; the device is recognised and it gets so far in connecting but then it just fails.
Everything I've tried is just based on stuff I have found on forums. I'm actually a complete ubuntu newbie and now completely out of things to try. Any ideas other than taking it back to the shop? Thanks.
[EDIT] Sorry forgot to mention - I also installed the program "3connect" through wine. It's the windows dialer program that comes on the stick, installation seemed to go fine, but again it can't connect. I should mention that I can connect using this same stick absolutely fine in windows xp.
Bookmarks