How to Install Huawei E220 on SliTaz

My primary objective is to resurrect my old laptop (Toshiba 1065cds) using SliTaz, an open source free operating system, and have an internet connection using Sun Broadband post-paid plan.

Installing SliTaz is very easy, because it is very small, light and easy to use. But now the challenge begins, how will I able to make the modem work on my newly resurrected laptop? I've been looking over the net for 3 days and yet no solution. Not until I read efrenefren's post. Thanks man!!!

After looking over the net, I stumble upon and got inspired by this article: Sun Broadband Wireless Working in Puppy Linux.

This may work on some other linux distributions with installed wvdial, and linux kernel 2.6.20 and higher.

Do it yourself procedures.

1. Check your kernel.
root@slitaz $ uname -sr
root@slitaz $ Linux 2.6.25.5-slitaz

2. Check your modem and create/update wdial.conf file.
root@slitaz $ wvdial /etc/wvdial.conf

3. Edit wvdial.conf and insert the text as shown on Sample 1 or Sample 2.
root@slitaz $ vi /etc/wvdial.conf

4. Run wvdial
root@slitaz $ wvdial sun

Sample 1

[Dialer sun]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 =
Init2 = ATZ
Carrier Check = yes
Dial Command = ATDT
Phone = *99#
Username = MY2USERNAME
Password = MY2PASSWORD
Stupid Mode = yes
Auto Reconnect = yes


Sample 2

[Dialer sun]
Phone = *99#
Username = irrelevant
Password = irrelevant
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,"IP","internet";

[Dialer pin]
Init1 = AT+CPIN=****

Comments

Popular posts from this blog

Remote Deployment with Ant and Rsync

How to Install CruiseControl