Hi,
while searching for a solution to get my green stingray to work, I stumbled across a quick and easy
solution that worked for me.
Unfortunately, this guy who wrote it, called SonicK (thank you btw), wrote it entirely in French.
So here's my (free) translation
:
___________________________________________________________________________
Hi, I will show you all the things I did to install the Alcatel Speedtouch 330 USB under Linux Mandrake 10.0 Official with kernel 2.6.3 (you know, the green or purple modem, but not the "stingray" )
Edit: I have the stingray and it worked as well...
I have written this post because you can find a lot of these guides on the web, mostly those who say you should recompile the kernel... The method explained here is simple and worked for me while staying with kernel 2.6...
- First I tried to do a "normal" installation with drakconf (with pppoatm), without success (like you I suppose...), but it's important because you need the files that are created when you do this.
-Next you have to verify if the speedtouch module is present in the kernel modules (by default it is)
-you have to install the package pppoatm. Verify if pppoatm.so is in the directory /usr/lib/pppd/plugin
Edit: With me it was in /usr/lib/pppd/2.4.3, but you have to check it...
-Put the mgmt.o file in the folder: /usr/share/speedtouch
-Now we are going to edit the 4 following files:
/etc/ppp/options
/etc/ppp/peers/adsl
/etc/ppp/chap-secrets
/etc/ppp/pap-secrets
1. /etc/ppp/options
--------------Beginning of /etc/ppp/options------------------
usepeerdns
noauth
lock
noipdefault
----------------End of /etc/ppp/options--------------------
2. /etc/ppp/peers/adsl
----------------- Beginning of /etc/ppp/peers/adsl-------------
debug
kdebug 1
noipdefault
defaultroute
sync
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
usepeerdns
user "votrelogin@domain"
plugin /usr/lib/pppd/plugins/pppoatm.so
Edit: So for me: /usr/lib/pppd/2.4.3/pppoatm.so...
8.35
Edit: depending of your country of course, google the internet for a list of vpi/vci codes...
-------------- End of /etc/ppp/peers/adsl------------------
3. /etc/ppp/pap-secrets & /etc/ppp/chap-secrets
---------------- Beginning ---------------------------
# Secrets for authentication using CHAP
# client server secret IP addresses
"yourlogin@domain" "*" "connection password" "*"
-------------------- End -------------------------
For example, for a Wanadoo connection, yourlogin@domain = fti/*******
- Next you have to launch the following in a terminal as root :
# modprobe speedtch
# modprobe pppoatm
# modem_run -k -f /usr/share/speedtouch/mgmt.o
# pppd call adsl
- At this stage, the modem should initialize (blinking leds, then fixed). If this is the case, test if you internet connection is allright
- Now you should establish the connection while booting.
Therefore, it is enough to write a little bash script.
#!/bin/bash
modprobe speedtch
modprobe pppoatm
#reinitialize the modem
modem_run -k -f /usr/share/speedtouch/mgmt.o
#launch the connection
pppd call adsl
place the script in /usr/share/speedtouch/ with the file mgmt.o I hope this was helpful
Edit: I would expect to call the script at the end of /etc/rc.d/rc.local...
- Reboot and normally, the connection launches while starting up. (However, with me, it is a little slow in launching). Also, mandrake has a problem with closing the connection when shutting down the system, will find out why.
Edit: No problem here, works really good and fast...
___________________________________________________________________________
Good luck,
W.