This blog is subject the DISCLAIMER below.

Thursday, February 01, 2007

Linux How to: Install Speedtouch ADSL modem

In this article, i am going to explain how to install your Speedtouch ADSL modem on linux, so that you can start a new experience with linux and open source.

At first, you need to download the firmware for the modem from here. it contains many files for different versions of speedtouch. The file we need specifically is ZZZL_3.012. You also need to download the firmware extractor from here. Ofcourse you have to dowload them from Windows :D.

Extract the firmware

After downloading those files, you need to open a terminal and copy and paste these commands:

unzip SpeedTouch330_firmware_3012.zip &&
chmod +x firmware-extractor &&
./firmware-extractor ZZZL_3.012

Secrets

Then, open a text editor and copy n' paste this line:

"username@isp" "*" "password"

Ofcourse, you need to substitute the username and password with the ones given by your ISP. Then save this file in your home folder and call it secrets

If your ISP uses PPPoE skip down to PPP over Ethernet

PPP over ATM

Open a text editor again and copy and paste this:

noipdefault
defaultroute
user 'username@isp'
noauth
updetach
usepeerdns
plugin pppoatm.so
0.00

### If the firmware loads and pppd won't
### connect uncomment this option to make
### pppd be more verbose in the system log

# debug

### For more details (and more options)
### read man pppd

Replace the username and ISP with the real values. Also you need to replace the 0.00 with VP/VC value (determined by your ISP, In case you have subscribed with Tedata the value is 0.35).

Save this file in your home folder with the name speedtch

Go to "We are almost done"

PPP Over Ethernet

Open a text editor again and copy and paste this:

noipdefault
defaultroute
user 'username@isp'
noauth
updetach
usepeerdns
plugin rp-pppoe.so
nas0

### If the firmware loads and pppd won't
### connect uncomment this option to make
### pppd be more verbose in the system log

# debug

### For more details (and more options)
### read man pppd

You have to substitute the username and ISP for the real values.

Save this file in your home folder with the name speedtch

We are almost done

You need to become root(log on as root or type su then enter the root password), open a terminal and copy and paste those commands:

cp speedtch-{1,2}.bin /lib/firmware &&
install -m400 speedtch /etc/ppp/peers &&
install -m400 secrets /etc/ppp/chap-secrets &&
install -m400 secrets /etc/ppp/pap-secrets

Now reboot and you are done :)

Connect to the internet

Open a terminal and type this command:

pppd call speedtch

Congratulations, you are finally connected :)

Notes:

  • I have performed this tutorial in OpenSUSE 10.2. The link mentioned in the references below mentions the steps for other distros, although it should be almost the same.

  • This tutorial applies to Speedtouch 330 version, other versions may need other firmware. If so replace "ZZZL_3.012" with the firmware you want to try in the script that extracts the firmware. You may try other firmware files from the same zip file you have downloaded above.
References:
http://www.linux-usb.org/SpeedTouch/index.html

3 comments:

Ahmed Essawy said...

Of course you have to dowload them from Windows .
:D:D:D:D:D

(no existence without Windows ;) ).

Shereef Sakr said...

You can get it from another linux distro or from a friend :) . But downloading it from Windows is the most obvious solution(sorry for that:D ) as all of us have Windows installed.

Shady M. Najib said...

a lot of Linux dist have your network card installed & ready for use...so may be you want need windows any way :P...just go to your generous friend (or even any net cafe in the hood) that has a DSL connection & download what ever you want...go beyond windows ;)