Internetworking and Linux fher98 on 25 Sep 2008 02:31 PM
As connect to the Internet with the USB modem Huawei E226
Here I've prepared a little guide for installation and configuration in order to use the E226 USB modem on the 3G network in Linux Debian etch / Lenny or Ubuntu 8.04
- Within Synaptic, or the option Add / Remove program installed the gnome-ppp
- We connect the modem E226
- The LED light or the modem should be blinking
- We started the program gnome-ppp
- We enter the user name, password and phone number. If you ignore these passes can be found here, including those of Guatemala is of course APN / Digital PCS and Tigo.
- Click on Setup
- And now detect
- Then turn to the networking tab
- Here we write the configuration according to the supplier adjust the IP, DNS. This is also the link above
- Now tab on the options we activate dock in notification area
- We close and we click on connect, we expect a moment and go!
Popularity: 49% [?]
10 comments to "How to connect to the internet with the modem Huawei E226 usb"
Trackback URI | Comments RSS







on 29 Sep 2008 at 5:05 pm # Balarama
And follow your directions, but when I fail to connect achievement surf, no problem if the init or DNS, I have Entel Chile, I have to do? can help me, my knowledge of ubuntu is not much.
Thank you very much. The following is the script that appears in the gnome ppp when I connect, but not navigate.
ecochamachi @ Ecochamachi-desktop: ~ $ sudo-i
sudo: unable to resolve host Ecochamachi-desktop
[sudo] password for ecochamachi:
root @ Ecochamachi-desktop: ~ # wvdial entelpcs
-> Wvdial: Internet dialer version 1.60
-> Can not get information for serial port.
-> Initializing modem.
-> Sending: ATZ
ATZ
OK
-> Sending: ATQ V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
ATQ V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
OK
-> Sending: ATZ + cgdcont = 1, "IP", "imovil.entelpcs.cl"
ATZ + cgdcont = 1, b [1d] IPB [1d], b [1d] imovil.entelpcs.clb [1d]
ERROR
-> Bad init string.
-> Can not get information for serial port.
-> Initializing modem.
-> Sending: ATZ
ATZ
OK
-> Sending: ATQ V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
ATQ V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
OK
-> Sending: ATZ + cgdcont = 1, "IP", "imovil.entelpcs.cl"
ATZ + cgdcont = 1, b [1d] IPB [1d], b [1d] imovil.entelpcs.clb [1d]
ERROR
-> Bad init string.
-> Can not get information for serial port.
-> Initializing modem.
-> Sending: ATZ
ATZ
OK
-> Sending: ATQ V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
ATQ V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
OK
-> Sending: ATZ + cgdcont = 1, "IP", "imovil.entelpcs.cl"
ATZ + cgdcont = 1, b [1d] IPB [1d], b [1d] imovil.entelpcs.clb [1d]
ERROR
-> Bad init string.
root @ Ecochamachi-desktop: ~ #
[Reply]
fher98 responded on September 30th, 2008:
The mistake I see is "Bad init string". Apparently the not well in the init string configuration.
Sending: ATZ + cgdcont = 1, "IP", "imovil.entelpcs.cl"
They are the correct APN's ISP?
Another thing you can try is to run the following command while the modem is connected:
wvdialconf / etc / wvdail.conf
[Reply]
on 22 Oct 2008 at 7:39 pm # sa
It is also easy to install with only install wvdial to dial modem. In your distro debian sarge / etch / sid or in Ubuntu hardy etc, you type as root
# Apt-get install wvdial
Edit the configuration file / etc / wvdial.conf, so that you will find in this way, you can really copy / paste this code
[Dialer Defaults]
; Init1 = ATZ
; Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Init1 = AT + CGDCONT = 1, "IP", "internet.tigo.gt"
Modem Type = USB Modem
ISDN = 0
Phone = * 99 *** 1 #
; Username =
New pppd = yes
; Password =
Modem = / dev/ttyACM0
Baud = 460800
Password = ""
Username = ""
Save the file and run wvdial and you mark your connection from your linux TIGO 3.5G in Australia.
# Wvdial
And you can already surf!
[Reply]
on 22 Oct 2008 at 7:55 pm # How to connect your modem Internet Tigo 3.5G Linux for Guatemala | Five Horizons
[...] The steps for installing and configuring the modem Huawei can find them on guatewireless.org. [...]
on 05 Nov 2008 at 9:31 am # fher98
The point of access internet.tigo.gt is low-speed GPRS technology, I think. To get high-speed 3G configure your connection with broadband.tigo.gt
[Reply]
on 08 Nov 2008 at 3:57 pm # Jorge Mairena
I have a question, the ubuntu 8.10 and it detects no problems (the modem), to just plug into a USB port on the machine, but still does not connect to the internet .. will be possible to comment on this aspect? in windows works perfectly, with the same parameters but not in ubuntu ...
Thank you!
[Reply]
fher98 responded on November 27th, 2008:
If it detects only need to configure it. That's what you do with the command wvdial.
[Reply]
on 26 Nov 2008 at 8:35 pm # lucas
I want to ask is the same as the lord of up question
I work as an achievement in the ubuntu 8.10 that recognizes it but me
no sails into anything and I would like to know how you gain that connection! Bone comnados to install something or one thing you have to do to make it work-.gracias
[Reply]
fher98 responded on November 27th, 2008:
Obviously it will not sail if you have not put numbers to which you have to mark, or the info of the connection.
If you read this as above.
[Reply]
on 16 Dec 2008 at 4:30 pm # Mr. Ribs
I think the problem is solved by adding a default route that uses the modem as a gateway. In another forum I found the following command:
I use it touched me because normally I'm connected to the LAN, not the modem E226.
sudo ip route of default; sudo ip route add dev default ppp0
[Reply]