Submitted by ramez.hanna on Wed, 16/03/2005 - 11:54.

i've been trying for a couple of days to get the speedtouch 330 dsl modem to run under linux and finally i got successful

so here it is

  1. get the firmware from thomson's website
  2. using the firmware_extractor split the firmware you got into speedtch-1.bin and speedtch-2.bin and move those files into /lib/firmware or wherever your distro wants it (i use FC3)
  3. setup the dsl connection and if in FC3 forget the gui it sucks when it comes to dsl

create /etc/ppp/peers/adsl


lock
ipparam "adsl"
defaultroute
noipdefault
usepeerdns
noauth
holdoff 4
maxfail 25
persist
asyncmap 0
user "xxxxx"
name "xxxxx"
plugin /usr/lib/pppd/2.4.2/pppoatm.so
8.35

create /etc/ppp/chap-secrets


"fti/xxxxx" "*" "votrepasswd" "*"

create /etc/sysconfig/network-scripts/ifcfg-adsl


PEERDNS=yes

create the startup script adsl.sh


/sbin/modprobe pppoatm
/usr/sbin/pppd call adsl

and so it worked

note that if there is a pap-secrets file login will fail, if after the modem is pluged in the usb and the two leds are not blinking while the phone line is not pluged then the modem is not initialized and maybe you have the wrong firmware or it is in the wrong location or maybe you need the modem_run package but i think it is in the distro

good luck . . .


ramez.hanna's picture
Submitted by ramez.hanna on Sun, 20/03/2005 - 12:24.

thanks to the one who formated it for me


the best things in life are free --- so is myself


OneOfOne's picture
Submitted by OneOfOne on Sun, 27/03/2005 - 13:46.

Great article and I wish it I woulda found it when I first got dsl, but there're some few things I needed to point out:

1. dynamic firmware loading was added around 2.6.8-9, so if you're using an older kernel it's about time to upgrade (2.6.12-rc1 is out, check your kernel version with uname -r).

2. firmware_extractor is part of the speedtouch package, however on gentoo it doesn't get compiled/installed so you'd have to compile it by hand from the speedtouch package ( http://speedtouch.sf.net )

3. you need CONFIG_HOTPLUG=y and CONFIG_FW_LOADER=y in the kernel (if you're building one on your own, to check if they are enabled or not in your current kernel type : zgrep -e 'CONFIG_HOTPLUG|CONFIG_FW_LOADER' /proc/config.gz )

4. "8.35" depends on the isp, it could be 0.35 in some cases, depends on the numbers your isp gave you.

peace


-OneOfOne kernel patching monkey/BORG drone.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.