As connect to internet with Huawei E226 USB modem
Aca I've prepared a little guide for installation and configuration to use the E226 USB modem on the 3G network on Linux Debian Etch / Lenny or Ubuntu 8.04
- Within Synaptic, or the option Add / Remove program installed the gnome-ppp
- We connected the E226 modem
- The modem LED should light or flashing
- We started the program gnome-ppp
- We enter the user name, password and phone number. If they ignore these passes can be found here, including the NPC has to Guatemala Claro / PCS Digital and Tigo.
- Click on setup
- And now detect
- Then we moved to the networking tab
- Aca write the settings to adjust the IP provider, DNS. This is also the link above
- Now on the options tab activate dock in notification area
- We close and we click on connect, wait a moment and go!
Popularity: 25%






























I follow your directions, but when I fail to connect navigate achievement, no problem if the init or the DNS, I Entel Chile, I have to do? can help me, my knowledge of ubuntu are 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:
Ecochamachi root @ ubuntu: ~ # 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, IPA â € €, € â € 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, IPA â € €, € â € 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, IPA â € €, € â € imovil.entelpcs.clâ
ATZ + CGDCONT = 1, b [1d] IPB [1d], b [1d] imovil.entelpcs.clb [1d]
ERROR
-> Bad init string.
Ecochamachi root @ ubuntu: ~ #
The error I get is "Bad init string". Apparently he is not either the init string in the configuration.
Sending: ATZ + CGDCONT = 1, IPA â € €, € â € imovil.entelpcs.clâ
You are correct the APN of the ISP?
Another thing you can try is to run the following command while the modem is connected:
wvdialconf / etc / wvdail.conf
It is also easy to install just by installing wvdial to dial modem. In your distro debian sarge / etch / sid and Ubuntu hardy and so on, you type as root
# Apt-get install wvdial
You edit the configuration file n / etc / wvdial.conf, so it looks like this, you can give copy / paste this code
[Dialer Defaults]
; Init1 = ATZ
; Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Init1 = AT + CGDCONT = 1, IPA â € €, € â € 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 to your linux tigo 3.5G from Guatemala.
# Wvdial
And you can surf!
The point is internet.tigo.gt accesso low-speed GPRS technology I think. To get high-speed 3G configure your connection with broadband.tigo.gt
I have a question, the ubuntu 8.10 and it detected no problems (the modem), to only connect to the USB port of the machine, but aà º n loop does not connect to internet .. be possible to comment on this? in windows works fine, with them to handle meters but not on ubuntu ...
Thank you!
If it detects only need to configure it. That is what is done with the command wvdial.
what I want to ask is the same as above seà ± or question
I work as an achievement in ubuntu 8.10 that I recognized but
does not surf at all and would like to know how to achieve that connection! Grays bone to install something or something you have to do to work-.gracias
Obviously not going to navigate if you have not put numbers to which you have to mark, or the info from the connection.
If you read above is like.
I think the problem is solved by adding a default route that uses the modem as a gateway. On another forum found © the following command:
³ concerns me because normally I'm using it connected to the LAN and not to mà ³ dem E226.
sudo ip route del default; sudo ip route add default dev ppp0
Que tal amigos I could not connect in any way, I have Debian Lenny released on December 15, 2008 I installed Gnome-PPP try this and I could not navigate Wvdial and then try either. With both I was able to connect but I can not navigate.
This is the configuration of my wvdial.conf file
[Dialer Defaults]
; Init1 = ATZ
; Init2 = ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
Init1 = AT + CGDCONT = 1, "IP", "broadband.tigo.gt"
Modem Type = USB Modem
ISDN = 0
Phone =* 99 #
; Username = guest
; Password = guest
Modem = / dev/ttyUSB0
Baud = 460800
Password = "guest"
Username = "guest"
New PPPD = yes
And to connect with WvDial shows me this:
debian: / home / briayan # wvdial
-> WvDial: Internet dialer version 1.56
-> Can not get information for serial port.
-> Initializing modem.
-> Sending: AT + CGDCONT = 1, "IP", "broadband.tigo.gt"
AT + CGDCONT = 1, "IP", "broadband.tigo.gt '
OK
-> Modem initialized.
-> Configuration does not specify a valid login name.
-> Configuration does not specify a valid password.
debian: / home / briayan # vi / etc / wvdial.conf
debian: / home / briayan # wvdial
-> WvDial: Internet dialer version 1.56
-> Can not get information for serial port.
-> Initializing modem.
-> Sending: AT + CGDCONT = 1, "IP", "broadband.tigo.gt"
AT + CGDCONT = 1, "IP", "broadband.tigo.gt"
OK
-> Modem initialized.
-> Sending: ATDT * 99 #
-> Waiting for carrier.
ATDT * 99 #
CONNECT
-> Carrier detected. Waiting for prompt.
-> Do not know what to do! Starting pppd and hoping for the best.
-> Starting pppd at Sat Dec 27 06:06:29 2008
-> Pid of pppd: 5747
-> Using interface ppp0
-> Pppd: ï ¿½ hï ¿½
-> Pppd: ï ¿½ hï ¿½
-> Pppd: ï ¿½ hï ¿½
-> Pppd: ï ¿½ hï ¿½
-> Pppd: ï ¿½ hï ¿½
-> Pppd: ï ¿½ hï ¿½
-> Pppd: ï ¿½ hï ¿½
-> Local IP address 10,248,231,123
-> Pppd: ï ¿½ hï ¿½
-> Remote IP address 10.64.64.64
-> Pppd: ï ¿½ hï ¿½
-> Primary DNS address 10.11.12.13
-> Pppd: ï ¿½ hï ¿½
-> Secondary DNS address 10.11.12.14
-> Pppd: ï ¿½ hï ¿½
And when I connect using Gnome-PPP as root and as normal user I get this:
debian: / home / briayan # gnome-ppp
WVCONF: / root / .wvdial.conf
GNOME PPP: Connecting ...
GNOME PPP: STDERR: -> Ignoring malformed input line: "Do NOT edit this file by hand!"
GNOME PPP: STDERR: -> WvDial: Internet dialer version 1.56
GNOME PPP: STDERR: -> Can not get information for serial port.
GNOME PPP: STDERR: -> Initializing modem.
GNOME PPP: STDERR: -> Sending: ATZ
GNOME PPP: STDERR: ATZ
GNOME PPP: STDERR: OK
GNOME PPP: STDERR: -> Sending: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
GNOME PPP: STDERR: ATQ0 V1 E1 S0 = 0 & C1 & D2 + FCLASS = 0
GNOME PPP: STDERR: OK
GNOME PPP: STDERR: -> Modem initialized.
GNOME PPP: STDERR: -> Sending: ATM1L3DT * 99 #, * 99 #
GNOME PPP: STDERR: -> Waiting for carrier.
GNOME PPP: STDERR: ATM1L3DT * 99 #, * 99 #
GNOME PPP: STDERR: CONNECT
GNOME PPP: STDERR: -> Carrier detected. Waiting for prompt.
GNOME PPP: STDERR: -> Do not know what to do! Starting pppd and hoping for the best.
GNOME PPP: STDERR: -> Starting pppd at Sat Dec 27 06:15:32 2008
GNOME PPP: STDERR: -> Pid of pppd: 5817
GNOME PPP: STDERR: -> Using interface ppp0
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> local IP address 10,248,167,140
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> remote IP address 10.64.64.64
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> primary DNS address 10.11.12.13
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
GNOME PPP: STDERR: -> secondary DNS address 10.11.12.14
GNOME PPP: STDERR: -> pppd: H [08] ï ¿½ ï ¿½ ï ¿½ Gï ¿½ ï ¿½ [
(gnome-ppp: 5814): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL) 'failed
What can I do? I hope your comments and best one-stop aà º n ³ n. Exitos y Feliz Aà ± o.
Earlier someone wrote that works with the user and contraseà ± a blank. I see that gives you the local IP and DNS, you got some network cable connected to your computer?
Que tal, gracias por responder, if I'm connected to a network, because I share from this computer to another.
Sera that the problem?
I'm going to try and then I put my results acÃ.
Feliz AÃ ± o!
Que tal! Thanks for answering, no, I have no network cable, I realized that the problem is in DNS 10.11. . as I do I put the dns in the wvdial file? I tried putting them directly in the application gnome-ppp but I've had a à º solely dns need to change these.
Thanks for your help! greetings.
guguguate and answer with the resolution to your problem, try and tell us.
Are there any usr / pw when using broadband.tigo.gt?
What type of authentication should be placed? In the configuration shown in XP but not CHAP username or pw.
In trying to connect opensuse asks me a username and pw and apparently can not be left blank. By bringing guest / guest turns on the green light so I think if you connect q, but still can not browse or ping to anything.
Thanks x the aid
Hola, Que tal.
I am using Acer Aspire One SSD model and Ubuntu 8.10, I managed to make mobile connections of Comcel.
I also tena similar problem, the problem was / etc / resolv.conf or configure DNS server is not exact.
First confirmed after establishing ³ n A connection, do
ping-c3 200.49.160.31 (Comcel DNS server or DNS server of your provider)
if you set your connection ³ n, find / etc / resolv.conf
if you like that, do not set well.
nameserver 10.11.12.13
nameserver 10.11.12.14
Handle change
nameserver 200.49.160.31
nameserver 200.49.160.35
(these are DNS server comcel tigo)
This works perfect
In OpenSUSE 11.1 q there are only modify these variables in / etc / sysconfig / network / config
NETCONFIG_DNS_STATIC_SEARCHLIST = "broadband.tigo.gt"
NETCONFIG_DNS_STATIC_SERVERS = "200.49.160.31 200.49.160.35"
Thank you very much
estimated seà ± ores, if someone could help me, I have problems with the moden Huawei to set the outloock tigo, my problem is with outgoing mail, I get an error that says can not find the outgoing mail server or need authentication or server name is not correct, if someone could tell me that I have data in the configuration change is the agradeceria mucho.
Hola, que tal,
What is your SMTP server?
If you can send mail normally, that's no problem HUAWEI modem,
I think your problem is poorly written or poorly checked smtp server authentication, perhaps, be better puregunatr their supplier.
Dear:
I'm in Uruguay and the broadband modem E226 of ANCEL Anteldata. I have Ubuntu Intrepid Ibex (basic without updates for my modem does not work).
I have correctly configured in the ± pestaà mobile broadband and connect but not navigate. If the URL of the Mozilla put the numeric address (66.249.93.104 for example), sailed OK, but if I put the address in letters (www.google.com) does not resolve the address.
Then the problem (and I've seen in the forums, they all feel the same, some consciously and others or they are conscious) is the primary and secondary DNS nameserver.
I tried losparametros of OpenDNS (208.67.222.222 and 208.67.220.220) but ME TO CONNECT WITH THE REWRITE 10.11.12.13 and 10.11.12.15. I changed the resolv.conf with root rights, but from nowhere the 10.11.12.13.etc appear again. Les peda Anteldata people from using the DNS addresses, and refused to give. It is classified information, they said.
Someone can help?
Thanks in advance.
According carlos in your case you want to use opendns do the following
$ Sudo cp / etc / resolv.conf / etc / resolv.conf.auto
$ Gksudo gedit / etc/dhcp3/dhclient.conf
# And add to in the document:
prepend domain-name-servers 208.67.222.222,208.67.220.220;
# Guards and salis
$ Sudo ifdown eth0 & & sudo ifup eth0
And presto, the above will cause your system to use the opendns dns forever. By the way, your ISP must be crazy to not want to give their addresses.
Carlos, I feel the same under win xp
could you solve this problem? I think there should be a hardware problem. I walk the modem on other machines but on my notebook, like you, do not resolve domain names.
Hi:
I followed the recommendations of fher98 no results.
But then I did work in Ubuntu Intrepid.
The solution is for 2 conditions to be met simultaneously:
a) the user to change the addresses of primary and secondary DNS in the resolv.conf, should be the ROOT. Or what is the same, use the prefix SUDO terminal in ubuntu.
(SUDO GTEDIT path / resolv.conf ....)
b) There are more than a resolv.conf file in the system. It should change all. Change the parameters of 10.11.12.13 for OPEN DNS. But in all files, and as SUDO. I had to change 5 files. The system always performs backups of these files, so there's always one that contains the 10.11.12.13. And because the system uses, it rewrites all the navigation impossible.
Thus he changed my resolv.conf 5 files, removing and putting 10.11.12.13 parameters of the open dns. If no prefix is used SUDO, the files do not change. You believe that if changed, but when you go to see, you see nothing of what you put was rewritten by old and dear 10.11.12.13.
Do not forget: 2 simultaneous conditions.
In my work I started.
Greetings from these distant lands (Uruguay)
Carlos
Gentlemen are really goddamn pc internet for this ymas for Linux .. I want to install my modem but Deplano to be drawn a few deans of engineering in systems and computing ... jejeje !!!!!!!!!!! voa probably have to wait prox linux version which only have to plug my modem and now !!!!!!!!! thanks ... ..
hola! I have an acer aspire one with Linpus / linux, and found a way to install the modem driver huawei e226, 3g Telcel in mexico, and apparently connected with the mobile partner, connection icon appears, and apparently sent information, but do not get, I send text messages to cellular but not surf the internet ... Can someone help? Thanks!
Hello.
A mi me the same thing happened. Apparently, it would be a DNS issue.
If the URL put the name "www.google.com" does not surf, but if I put its IP address, if it does.
I did 2 things:
a) precludes the use of the DNS offered by my Internet provider company, and use the 2 addresses of OpenDNS, which are even faster than those offered by my operator in Uruguay.
IP addresses using the OpenDNS are: 208.67.222.222 and 208.67.220.220
b) by opening a terminal as ROOT (OTA hobble the changes made are not recorded and have no effect), edit a file called "resolv.conf" and is in the subdirectory "/ etc". In my case (ubuntu 9.04) put:
"Sudo gedit / etc / resolv.conf"
and displays the contents of that file to edit, I get the 2 way that brings the default operating system that serve no purpose and therefore does not surf.
You have to change those 2 directions, by the above (openDNS).
Appears something like:
nameserver 10.11.12.13
nameserver 198.11.12.13
As you change those numbers by 208.67.222.222 and 208.67.220.220
And to save the changes, you must exit the terminal as ROOT. If you save it, stay with the old IP addresses and inoperative.
Reset, and voila
Good luck!
Maximum speed
Huawei E226 connect but not navigate
gentlemen, the reason is that, as connecting the nose,
moden huawei e226 on my laptop this team is Comcel
I allude aconectar nesecito this.
thank you very much;
att: German Dario L.
Just as Ubuntu is connected and surf should not change anything, you can try without installing, just have to ask the provider of Internet data connection.
In Paraguay alone and configure CTI figure I change the name and the DNS (very important) that gives me the supplier, I put an example.
NETWORK CONNECTIONS
Connection name: internet
Mobile Broadband
Basic
Number: * 99 #
Username: staff
Password: staff
Advanced
AP Name: Internet
Then: IPv4 settings
Method: Only automatic addresses (PPP)
DNS Server: 200.3.250.1, 200.3.250.2
Right: the connection information, if contains the DNS is OK. Connecting or disconnecting and stress again 8.10 in two or three works in 9.04 without problem (not that if the same connection.
I want to clarify something, to configure and apply, then connecting it Right:
Connection information.
If you set the DNS is OK.
hi all ... is not going to model the tutorial .. but I have the modem gbc (black) tigo and I just installed ubuntu 9.04 and manuals for this modem are for 8.10 and does not work as .... the truth is that I need to connect to internet .. jeje .. if anyone knows ... porfa ..
thanks
Good .. I'm trying to make a program that manages the Internet connection and send SMS from my 3G modem. I've managed to do both from Ubuntu but I certainly like to do both at a time, ie be connected to the internet and send an SMS. The port I use for both is the ttyUSBx but obviously I can not use both. Have any idea to do that?
io I connect and install and configure it to me ... not only gives me problems with internet connection tampoc =)
linuz Spanish
There E1612 Huawei modem drivers for Debian Lenny and Debian Etch?
I have a Huawei Modem Conet e1612 will not let me in windows 7 what do I do?