yeah its mint 8 Linux version 2.6.31-21-generic ok, ill update it is the only way
if you are at kernel version 2.6.31-21-generic #59-Ubuntu… you can find out with this command
uname -a
you are ALLREADY at the latest kernel version for Mint 8/Ubuntu 9.10… and the HUAWEI E122 HSPA USB dongle should “Just Work”.
[ubuntu] ubuntu 9.10 3 usb dongle trouble this guy got one working, as did I (on Mint 8, Ubuntu 9.10, and Ubuntu 10.04)
Try deleteing ALL mobile broadband connections…
right-click network manager icon > edit connections > mobile broadband…highlight every connection and delete it.
Click “Add”, and go through the setup again… if it asks for a Keyring password, leave it blank, click continue, use unsafe area, continue.
previously we have tried
username: three
password: three
if this doesn’t work, try leaving that password blank too
Grrrrr what that was a typo is deffo wasn’t the latest kernel. Not to worry about that, I’ve installed Mint 9 and have different issues, there is not Wvdial for a start but i found Gnome-ppp This will not detect my modem, when i use Lsusb it tells me the manufacturer of the modem but not a model like it did when i used 8. i tryed the network manager and set it up as i did previously, but it gives me no option to dial lol. im going to go bash my head against the wall
Lol i have a million different distros of linux now spent about 25 quid on mags this past week
network manager doesn’t offer you a dial button… just right click the network manager icon and select enable mobile broadband… or if whilst setting it up, you select all users and connect automatically, it will just connect itself
when you first plug the dongle in you will have to wait a minute or so for that option to appear
Firstly I, need to say thank you for your help, and although what I tried I couldn’t get working, it spurred me to carry on. As your well aware there is a saying that goes, “Good things come to those who wait” and I managed it so I’m now running a shiny Linux system, yay me. So now I have what I need to start learning the OS so I can become at least competent in its use.
Now obviously your a pro so I’m not going to go through step by step on how to do it, but I’m going to post the link if that is okay on how I did it, as it may help others. Once again I thank you.
what i will ask tho is is there a way i can put that all into a script so i dont have to type it all out every time i restart my comp
Ok, without reading the thread, if it’s just a case of stringing together commands “yes”.
copy all the commands you want to use into a file using your fave editor.
make the first line say;
#!/bin/bash
Then do this to the file from the command line;
chmod a+x
If you then copy / move the file to /usr/local/bin (as the root user) you should be able to execute the commands by simply typing in the name of your file.
Excellent many thanks
When the dongle comes up as a ZeroCD, have you tried right-clicking the icon and selecting eject… it should be discovered as a modem.
I did try that but it didnt work. It all works now tho i added a couple of commands and now when i type 3connect it changes all the settings and connects me. Quite like this Linux lark and am very interested in learning all i can. So im going to start googling lol Thanks again for helping me free me self from the evil Micr$oft corp
Hello!
I tried to follow this thread to get my E122 dongle connected but didn’t work. I’m running Ubuntu 10.04 but had to use network-manager because of another bug. I’m using WICD no which only support wired and wireless connections.
I installed wvdial and added the following to the wvdial.conf file:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Username = three
Password = three
Modem = /dev/ttyUSB0
Dial Command = ATDT
Baud = 9600
[Dialer three]
Init2 = ATZ
Init3 = ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
Init5 = AT+CGDCONT=1,"IP","3internet"
ISDN = 0
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
Baud = 460800
The when I run it with ~$ sudo wvdial three
I get the following error:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
COMMAND NOT SUPPORT
--> Sending: ATQ0
OK
--> Re-Sending: ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
COMMAND NOT SUPPORT
--> Modem not responding.
Any help I could get is appreciated. Thanks!
EDIT: forgot to mention that I’m using this on Three Ireland and it works with Network Manager.
Have you tried installing gnome-ppp
sudo apt-get install gnome-ppp
and checking whether that can detect the dongle ?
Applications>Internet>GNOME PPP then click the Setup button, then the Detect button and see if it finds the dongle… if it does, just enter your username and password and *99# as the number, then connect.
if not, make sure the dongle is plugged in, then open a terminal, and send the output from:
lsusb
so we can check it’s being switched from ZeroCD to Modem.
you could also try changing the contents of wvdial.conf to:
[Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Stupid Mode = 1 Modem Type = Analog Modem ISDN = 0 Phone = *99# Username = three Password = three Modem = /dev/ttyUSB0 Dial Command = ATDT Baud = 9600[Dialer three]
Init3 = ATZ
Init4 = ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
Init5 = AT+CGDCONT=1,“IP”,“3ireland.ie”
ISDN = 0
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
Baud = 460800
Then see if
sudo wvdial three
works.
if not, post the results.
Hi Mark,
Thanks for your reply!
I tried all you recommendations but still won’t connect. gnome-ppp works and it detects the modem but won’t connect.
Output of lsusb:
~$ lsusb
Bus 008 Device 002: ID 17ef:1003 Lenovo
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0a5c:2145 Broadcom Corp.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 17ef:4807 Lenovo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I know it says E620 there but the sticker on the dongle says E122.
As I said, NM work fine, maybe if I give you the setting on NM it’ll help to figure it out. The first time the dongle is plugged NM pops up a wizard that configures it automatically and the settings are:
Number: *99#
APN: 3ireland.ie
Type: Any
PPP Settings:
EAP,PAP,CHAP,MSCHAPv2,MSCHAP
Allow BSD data compression
Allos Deflate data compresion
Use TCP header compression
IPv2 Settings
Automatic
First, let’s try some different GNOME PPP settings…
If PIN check is enabled on the SIM… ie. you had to enter a PIN in networkmanager, let me know.
If the PIN check is disabled on the SIM… try changing the GNOME PPP settings to:
Username: three
Password: three
Telephone number: *99#
in the GNOME PPP “Setup”
Modem (tab):
Device: /dev/ttyUSB0 (or whatever it was detected as)
Type: Analog Modem
Speed: 460800
Init strings (button):
Init 2 : ATZ
Init 3 : ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
Init 4 : AT+CGDCONT=1,“IP”,“3ireland.ie”
Options (tab):
put a tick in
Ignore terminal strings (stupid mode)
and
Auto reconnect
later (when we’ve got it working) you can also select On connection: Dock in notification area
If it connects, but you cannot browse the internet, try manually setting the DNS
(you can test if it’s connected but DNS isn’t working by entering 173.194.36.104 in your browsers address bar and hitting enter… or opening a terminal and entering ping 173.194.36.104… if anything is returned but you cannot get anywhere by entering http://www.google.com in your browser address bar, then you have a DNS issue)
Networking (tab):
put a tick in Manual DNS
DNS 1 172.31.140.69
DNS 2 172.30.140.69
if it doesn’t work, can you try this wvdial.conf, and send the output:
[Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Stupid Mode = 1 Modem Type = Analog Modem ISDN = 0 Phone = *99# Username = three Password = three Modem = /dev/ttyUSB0 Dial Command = ATDT Baud = 9600[Dialer three]
Init3 = ATZ
Init4 = ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
Init5 = AT+CGDCONT=1,“IP”,“3ireland.ie”
ISDN = 0
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
Baud = 460800
then in a terminal:
sudo wvdial three
I’m putting this here for future reference, but you might want to take a look at it too:
http://www.linux.ie/articles/tutorials/threeirelandUSBmodem.php
The sticker is wrong… the hardware is reporting itself as an E620, so if you decide to try this, you will have to change the modprobe command to:
modprobe usbserial vendor=0x12d1 product=0x1001
But I’m sure we can get GNOME PPP working, and that will be much easier to use
Hey! Tried all that but no luck.
Here’s the output:
~$ sudo wvdial three
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
COMMAND NOT SUPPORT
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
COMMAND NOT SUPPORT
--> Modem not responding.
danicast@danicast-laptop:~$ sudo wvdial three
--> 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 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
COMMAND NOT SUPPORT
--> Sending: ATQ0
ATQ0
OK
--> Re-Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
COMMAND NOT SUPPORT
--> Modem not responding.
Just to let you know, I borrowed a Vodafone K3520 of a friend, I sticked in my three SIM. Opened gnome-ppp, did the detect thing, entered three, three and *99# and it connected!
Weird that it’s acting up with my E122.
It seems to be failing at the second (default) init string… can you try making this your wvdial.conf
[Dialer Defaults] Init1 = ATZ Init2 = ATE0 V1 &D2 &C1 S0=0 +IFC=2,2 Init3 = AT+CGDCONT=1,"IP","3ireland.ie" Stupid Mode = 1 Modem Type = Analog Modem ISDN = 0 Phone = *99# Username = three Password = three Modem = /dev/ttyUSB0 Dial Command = ATDT Baud = 460800
Then run it with
sudo wvdial
and send the output.
Output this time:
sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
COMMAND NOT SUPPORT
--> Sending: ATQ0
OK
--> Re-Sending: ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
COMMAND NOT SUPPORT
--> Modem not responding.
Thanks!
Try this then
[Dialer Defaults] Init1 = ATZ Init2 = ATE0 Init3 = AT+CGDCONT=1,"IP","3ireland.ie" Stupid Mode = 1 Modem Type = USB Modem ISDN = 0 Phone = *99# Username = three Password = three Modem = /dev/ttyUSB0 Dial Command = ATDT Baud = 460800
then:
sudo wvdial
and post the output