Sunday, October 26, 2008

Huawei E220 on Ubuntu 8.01 Distro

Although there is many article on internet that descriptive a way to install E220 to ubuntu, Still It took me 3-4 days to install this device to my Ubuntu. Since every article told different way, mainly on settings.

Here is the way
  1. Download this driver, on http://www.2shared.com/file/3803973/3d7ff4cb/huaweiAktBbo-i386.html or your E220 will be detected as flash disk only.
  2. After download, open terminal and type sudo su for login as root
  3. plug your E220 device on computer, and wait for a second and type lsusb, after a list come out with Bus 005 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem .
  4. Install the driver with command chmod +x huaweiAktBbo-i386.out and type
  5. And checking your device have been installed by driver yet, type sudo wvdialconf /etc/wvdial.conf
  6. And Edit your wvdial.conf file to compatible with your provider connection, by typing sudo gedit /etc/wvdial.conf And remove all content, and pasting with this
[Dialer Defaults]
New PPPD = yes
Dial Command = ATDT
Dial Attempts = 1
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
ISDN = 0
Baud = 115200
Username = ''
Password = ''
Init1 = ATZ
Init2 = AT&F E1 V1 X1 &D2 &C1 S0=0

[Dialer hspa]
Phone = *99***1#
Stupid Mode = 1
Init3 = AT+CGDCONT=1,"IP","internet"

[Dialer myPIN]
Init4 = AT+CPIN=1234
Ussually for different provider you only need to change your IP as Access Point Name, Username, Password , And Dial Phone Number, And PIN Number also.
Save and Exit from gedit, after that try to dial you wvdial, if your sim card have a pin by typsudo wvdial myPIN, after that type sudo wvdial hspa and a list of descript will show like below this

–> 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
OK
–> Sending: AT+CGDCONT=1,”IP”,”internet”
AT+CGDCONT=1,”IP”,”telkomsel”
OK
–> Modem initialized.
–> Sending: ATDT*99#
–> Waiting for carrier.
ATDT*99#
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Thu Sep 25 16:28:55 2008
–> Pid of pppd: 7019
–> Using interface ppp0
–> pppd: ?[06][08]
–> pppd: ?[06][08]
–> pppd: ?[06][08]
–> pppd: ?[06][08]
–> pppd: ?[06][08]
–> pppd: ?[06][08]
–> pppd: ?[06][08]
–> local IP address 10.133.104.97
–> pppd: ?[06][08]
–> remote IP address 10.64.64.64 ————————- remember this gateway ip
–> pppd: ?[06][08]
–> primary DNS address 202.3.208.10
–> pppd: ?[06][08]
–> secondary DNS address 202.3.210.10
–> pppd: ?[06][08]

After that open a new terminal, and type sudo route add default gw 10.64.64.64 , where 10.64.64.64 is geteway ip that listed on below. And you already connected to internet. Happy Browsing and Downloading ^o^

Eh to disconnect your modem, press Ctrl + C to break your internet connection.

Related Posts by Categories



3 comments:

Eiger Yap said...

kalo setting speedy cemana ya?

LipSen said...

Speedy ?
untuk Speedy ya harus punya modem Speedy atau Router DSL. paling mudahnya ya telepon 104 + 2 ^^

tapi umumnya ya Router kita yang koneksi ke server telkom secara Dial Up, nantinya kita menyesuaikan ip jaringan kita dengan router DSL, dan gatewaynya kita isikan dengan IP Router, dan untuk DNS nya disamakan dengan DNS Router. Dimana DNS dan IP router itu didapatkan dari server Telkom :)

LipSen said...

Nanti klo sempat saya buatkan cara setting Speedynya juga deh ;)