Thomson Speedtouch 330 modem
From WikiDoc
Requirements:
1. speedtouch 330 revision= 0, 2 lub 4 (appropriate colours for versions given: green, purple or silver);
2. ppp-2.4.3
3. download a firmware-extractor. You can get it from here: http://www.linux-usb.org/SpeedTouch/firmware/firmware.html, click:"firmware-extractor" and download it;
4. firmware for our modem can be downoladed from the same address:
a) if it is a green speedtouch rev.0, click "this tarball" ( you will download speedmgmt whic is needed for this speedtouch version)
b) if it is version 2 and 4 , click "this zipfile" or use neostrada from the CD. Find a file called: "SpeedTouch330_firmware_3012.zip". For ver. 2 you need a file called: KQD6_3.012, for ver. 4, use ZZZL_3.012 .
If you do not know what modem you have (which type):#cat /proc/bus/usb/devices | grep -B 1 THOMSON or #cat /proc/bus/usb/devices | grep -B 1 ALCATEL
Let's begin:
Login as root, unpack firmware-extractor.tar.gz to your chosen folder; copy ZZZL_3.012 into it and change its name to: mgmt.o . Then write ./configure ....... : as below:
$su
tar xzf firmware-extractor.tar.gz && cd firmware-extractor && cp ../mgmt.o mgmt.o && ./configure && make && make install
You will get three files as a result. The first one is: firmware.agent in /etc/hotplug , others are: speedtch-1.bin, speedtch-2.bin in /lib/firmware folder, which can be checked by using the following command:
ls /lib/firmware speedtch-1.bin speedtch-2.bin <-- .
Create text files (pap-secrets and chap-secrets) in /etc/ppp , where you type:
uzytkownik@neostrada.pl * password
You got them as a result of the registration. Then copy and paste the user and password (as in pap-... and chap-...) into /etc/ppp/peers/speedtchfile, which you had to create before hand. (an ordinary text file).
lcp-echo-interval 10 lcp-echo-failure 3 noipdefault defaultroute user uzytkownik@neostrada.pl noauth noaccomp nopcomp noccp novj holdoff 4 persist maxfail 25 updetach usepeerdns plugin pppoatm.so 0.35
We shall change the access rights to the following files: (or other rights - it is left to your discretion) Use the commands:
chmod 600 /etc/ppp/{chap-secrets,pap-secrets,peers/speedtch} rm -f /etc/resolv.conf
If you have already deleted resolv.conf file, then create a file of the same name in /etc/ppp Create a link by typing:
cd /etc ln -s ./ppp/resolv.conf /etc/resolv.conf
you should have the following data in resolv.conf:
"nameserver 194.204.152.34 nameserver 217.98.63.164"
As a result, resolv... file disappers from /etc/ , and in its place a shortcut appears to a file of the same name but different location (/etc/ppp/resolv.conf , which contains DNS numbers). And that's it as far as internet connection is concerned!!!
To connect: reboot the system. Your modem must be switched on. After you login, type the following command:
pppd call speedtch you should get something like this :
Plugin pppoatm.so loaded. PPPoATM plugin_init PPPoATM setdevname_pppoatm - SUCCESS:0.35 creating device node '/dev/ppp' pppd 2.4.3 started by root, uid 0 Using interface ppp0 Connect: ppp0 <--> 0.35 CHAP authentication succeeded local IP address 83.30.213.237 remote IP address 213.25.2.188 primary DNS address 194.204.152.34 secondary DNS address 217.98.63.164
If you want to stop adsl service, type:
killall pppd
If you wish to start adsl when system starts, you have to write /usr/sbin/pppd call speedtch in /etc/rc.d/rc.local file. And that's the end!!!
Restart the system one more time and you should see the following message before you login:
Plugin pppoatm.so loaded. PPPoATM plugin_init PPPoATM setdevname_pppoatm - SUCCESS:0.35 creating device node '/dev/ppp' pppd 2.4.3 started by root, uid 0 Using interface ppp0 Connect: ppp0 <--> 0.35 CHAP authentication succeeded local IP address 83.30.213.237 remote IP address 213.25.2.188 primary DNS address 194.204.152.34 secondary DNS address 217.98.63.164
To check if the connection was set up, type:
ifconfig ppp0 Link encap:Point-to-Point Protocol inet addr:83.30.255.1 P-t-P:213.25.2.188 Mask:255.255.255.255 UP

