Ullrich Sigwanz
Thu, 20 Mar 2003 01:24:21 -0800
Hi all, here is an extract of all experience I have with PPPoE and Alcatel Speedtouch (stingray and 330) over the last year(s)
This How-To helped many people all over Europe and
America,
May be it also can help you
Be aware it wont't work for BSD-Systems (for now)
I start right away:
I recommend to store all downloaded files/code in
"/usr/local/src"
if you got the mgmt.o-microcode from alcatel or the windows code
alcaudsl.sys already skip the next lines
and continue at :got_mgmt.o
try to get the mgmt.o microcode from alcatel
http://www.speedtouchdsl.com/dvrreg_lx.htm
- type in your data
- download "SpeedTouch.tar.gz"
- copy it to /usr/local/src
and unpack it
root # cd /usr/local/src/
root # tar -xzvf SpeedTouch.tar.gz
discard everything (just delete it!) except mgmt.o
:got_mgmt.o
copy "mgmt.o" or "alcaudsl.sys" to "/usr/local/sbin"
if /usr/local/sbin does not exist, create it by
root # mkdir /usr/local/sbin/
now enter
root # which logger
if the output is different from "/usr/bin/logger"
type
root # ln -s $( which logger ) /usr/bin/logger
(this is for the PPPoE-client to work properly )
now you need the roaring penguin PPPoE-client from
http://www.roaringpenguin.com/pppoe/rp-pppoe-3.5.tar.gz
copy the file to /usr/local/src/
and unpack it
root # cd /usr/local/src/
root # tar -xzvf rp-pppoe-3.5.tar.gz
root # cd rp-pppoe
install and configure it by
root # ./go
as requested, type in
username: [EMAIL PROTECTED] (supplied by your provider)
ethernet device: tap0
dial on demand: no
nameserver1: aaa.bbb.ccc.ddd (supplied by your provider)
nameserver2: eee.fff.ggg.hhh (supplied by your provider)
password: ********* (supplied by your provider)
Firewall option: 1
(
"tap0" - digit zero at the end!! ,
"no",
"1" must be taken literally,
the rest must be substituded by appropriate data)
the PPPoE is now configured !!
now get the latest Speedtouch CVS-snapshot from sourceforge
http://unc.dl.sourceforge.net/sourceforge/speedtouch/speedtouch-1.2-beta1.ta
r.gz
copy it to /usr/local/src
unpack it
root # cd /usr/local/src
root # tar -xvzf speedtouch-1.2-beta1
and install it by
root # cd /usr/local/src/speedtouch-1.2-beta1
root # ./configure
root # make
root # make install
may be the speedtouch version has changed in the meanwhile,
in this case, change the names accordingly
paste the following lines to a file e.g. /usr/local/src/append-modules.conf
(To be honest some of them are not needed but they won't hurt!)
#--------------------------- begin of paste --------
# expansion of modules for Alcatel USB Speedtouch
#
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
#
#--------------------------- end of paste------------
to append these lines to module.conf
BUT!!
first make a copy of your modules.conf, because
if this file is spoiled
your whole system will be more or less useless
root # cp /etc/modules.conf /etc/modules.conf.old
(if anything fails, you can the copy the backup-file back)
then concatenate the appendix and your original modules.conf
root # cat /usr/local/src/append-modules.conf >> /etc/modules.conf
( mind the 2 (in words "two") ">" signs!!! )
now check if your system supports the "tun" device
root # ls -l /dev/net/tun
if you get the appropriate device node you are done,
if not type
root # mkdir /dev/net
root # mknod /dev/net/tun c 10 200
setup the connection:
enable the tun-interface:
root # modprobe tun
(if you get a warning, that modules.conf is more recent...
this is ok, just continue)
load the microcode:
root # /usr/local/sbin/modem_run -m -f /usr/local/sbin/mgmt.o
or
root # /usr/local/sbin/modem_run -m -f /usr/local/sbin/alcaudsl.sys
depending on your microcode version
(this will take very long)
invoke the ADSL-handler in brigded mode for
portugal's VPI/VCI:
root # /usr/local/sbin/pppoa3 -e 1 -b -v 1 -vpi YOUR_VPI -vci YOUR_VCI &
------------------------------^^^^--------------^^^^^^^^------^^^^^^^^---
mind the "&" at the end of the line
use your VPI/VCI pair a table is supplied at the end of this How-To
and ommit the "-e 1" when you have the "Stingray Modem"
start the pppoe-client:
root # adsl-start
you should get an output like
..Connected!
if not, first try to re-enter the login information
probably something there went wrong
root # adsl-stop (which will stop the pppoe)
and
root # adsl-setup (which will start the configuration script)
and after re-typing the stuff start pppoe again:
root # adsl-start
the lines
#!/bin/sh
#---------------- start of connection ---------------
#
#
# load the tun device driver
modprobe tun
#
# load the microcode
/usr/local/sbin/modem_run -m -f /usr/local/sbin/mgmt.o
# or /usr/local/sbin/alcaudsl.sys instead of mgmt.o
#
# load pppoa3 in bridged mode
/usr/local/sbin/pppoa3 -e 1 -b -v 1 -vpi YOUR_VPI -vci YOUR_VCI &
# ---------------------^^^^--------------^^^^^^^^------^^^^^^^^---
# ommit the -e 1 when you have the Stingray type
# and set the correct values for YOUR_VPI and YOUR_VCI
#
# start the roaring penguin pppoe-client
adsl-start
#
#
#---------------- end of start sequence -------------
can be put in a runlevel-startup script,
to start ADSL every time on boot.
If you do not know how to do this, I can offer further help!
here is a VPI/VCI table,
may be you find your values here!
****************************************
AON, Austria
VPI=8 VPI=48 Encap=PPPoA
Bahrain Telecom Company Batelco
VPI=8 VCI=35 Encap=PPPoA
Belgium
VPI=8 VCI=35 Encap=PPPoA,VCmux
Belgium - Turboline
VPI=8 VCI=35 Encap=PPPoA,LLC
Belgium - ADSL Office
VPI=8 VCI=35 Encap=RFC1483R,LLC
France*
VPI=8 VCI=35 Encap=PPPoA,LLC
France
VPI=8 VCI=35 Encap=PPPoA,VCmux
Germany
VPI=1 VCI=32 Encap=PPPoE,LLC
Italy
VPI=8 VCI=35 Encap=PPPoA,VC(null)
Netherlands
VPI=8 VCI=48 Encap=PPPoA,VCmux
Netherlands - BBNED
VPI=0 VCI=35 Encap=PPPoA,VC(null)
Netherlands - MXSTREAM
VPI=8 VCI=48 Encap=PPPoA,VC(null)
Portugal
VPI=0 VCI=35 Encap=PPPoE,LLC
Spain
VPI=8 VCI=32 Encap=PPPoE,LLC
Spain
VPI=8 VCI=35 Encap=PPPoA,VCmux
Switzerland
VPI=8 VCI=35 Encap=PPPoE,LLC
United Kingdom
VPI=0 VCI=38 Encap=PPPoA,VCmux
UK
VPI=0 VCI=38 Encap=PPPoA,VC(null)
USA
VPI=8 VCI=35 Encap=PPPoA
****************************************
Have success
Ullrich
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]