Monday, June 22, 2009

Privacy Policy

A cookie is a piece of data stored on the user’s computer tied to information about the user. We do use cookies to store information, such as your personal preferences when you visit our site. We also use third party advertisements on to support our site. Some of these companies (such as Google through Google Adsense Program) may use technology such as cookies and web beacons when they advertise on our site, which will use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by Google, click here.

Saturday, June 13, 2009

Setting Huawei E220 Modem in Ubuntu 9.04

I know that Ubuntu 9.04 already detect Huawei E220 modem. So we can just plug the modem, configure the APN, and use it to surf. But, how to do it from terminal. Previous version of Ubuntu didn't support Huawei E220 modem yet, so we have to install manually from terminal.
I'm still using this config manually from terminal, even with ubuntu 9.04.

This is how I usually do.

1. Search from google, and look for "huaweiAktBbo-i386.out". Download that file because we're going to use it.

2. Plug the modem, and check if Ubuntu has detected it. Don't forget to log in as root from terminal.

EC@ubuntu:~$ lsusb
Bus 007 Device 004: ID 04f2:b017 Chicony Electronics Co., Ltd
Bus 007 Device 001: ID 0000:0000
Bus 006 Device 001: ID 0000:0000
Bus 005 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 005: ID 08ff:2580 AuthenTec, Inc.

3. Give permission to the file.
EC@ubuntu:~$ chmod +x huaweiAktBbo-i386.out

4. Execute that file using command:
EC@ubuntu:~$ ./huaweiAktBbo-i386.out

5. Make wvdial.conf file
EC@ubuntu:~$ wvdial.conf

6. Edit wvdial.conf to match your ISP settings
EC@ubuntu:~$ nano /etc/wvdial.conf

This is an example for my ISP settings in my country:
[Dialer Tsel]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,”IP”,”telkomsel”
Password = ‘
Check Def Route = on
Phone = *99#
Idle Seconds = 0
Auto DNS = 1
Abort on Busy = 0
Abort on No Dialtone = 0
Modem Type = Analog Modem
Stupid Mode = 1
Baud = 9600
New PPPD = yes
Dial Command = ATDT
Modem = /dev/ttyUSB0
ISDN = 0
Username = ‘
Carrier Check = 0

7. Let's connect to the Internet using this command. Press Ctrl+C to disconnect.

EC@ubuntu:~$ wvdial {dialer name}
EC@ubuntu:~$ wvdial Tsel

That's about it, and you're ready to surf the Internet.