Skip to Content

speedtouch 330 dsl modem on linux

ramez.hanna's picture

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

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 . . .

Comments

ramez.hanna's picture

thanks to the one who formate

thanks to the one who formated it for me


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

Great, but i'd like to add :

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).

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


i don't understand anything,

i don't understand anything, i just installed xandros and i can't make the modem work, i am new to linux, please tell me what to do exactly and simply.

ramez.hanna's picture

it should be, just make sure

you can check kernel log $dmesg or /var/log/messages to see if the modem is being detected by the kerel or no


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

one-step, one-command, and ba

HELP!!!!

Thanks for that Gr8 post! I did the first 2 steps I should be doing part 3 for now I did 3 files in the respective folders and with the respective contents .... but I don't understand the last task

create the startup script adsl.sh

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

Amm How can I do this .sh file and where should it be ?!

Thanks a lot for your help!

MSameer's picture

copy and paste:

Here's how to create it:

cat > adsl.sh << EOF
#!/bin/bash

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

chmod +x adsl.sh

No idea where to put it though.

subject

Comment viewing options

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


Dr. Radut | book