Draytek Vigor 318 Linux USB modem driver installation
UPDATED 5.aug.2005 Complete step-by-step HOWTO for configuring PPPoE for ADSL (ST DSL)
Old version of this page for kernel <2.6.10 can be found here
Download files
Download kernel 2.6.10 or newer
www.kernel.org (for example: linux-2.6.12.3.tar.bz2)
Download the following files:
ppp-2.4.3-4mdk.i586.rpm
ppp-pppoe-2.4.3-4mdk.i586.rpm
libpcap0-0.8.3-3mdk.i586.rpm
rp-pppoe-3.5-5mdk.i586.rpm
flex-2.5.4a-22mdk.i586.rpm
linux-atm-2.4.1.tar.gz
br2684ctl.c
Download and copy firmware (cxacru-fw.bin) to /lib/hotplug/firmware (you'll probably need to create the directory, see variable FIRMWARE_DIR in /etc/hotplug/firmware.agent )
New! cxacru-fw-2.099.093.000.tar.gz
older cxacru-fw-2.099.063.000.tar.gz
Download connect/disconnect script (for ST DSL parameters are VPI=1, VCI=32)
stdsl.sh
Copy these files to some temporary directory (for example: /adsl)
To install rpm packages # rpm -Uvh <filename.rpm>
Extract .tar.gz file to temporary directory
Download file
usbatm-20050216.tar.bz2
Extract and copy the downloaded file to /usr/src/linux-2.6.12.3/drivers/usb/atm
make the kernel from source
# cd /usr/src/linux-2.6.12.3
# make menuconfig
Device Drivers -> Networking Support -> Networking Options ->
<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M> Classical IP over ATM (EXPERIMENTAL)
<M> LAN Emulation (LANE) support (EXPERIMENTAL)
<M> Multi-Protocol Over ATM (MPOA) support (EXPERIMENTAL)
<M> RFC1483/2684 Bridged protocols
[*] Per-VC IP filter kludge
Device Drivers -> USB support -> USB DSL modem support ->
<M> USB DSL modem support
<M> Conexant AccessRunner USB support
exit and save configuration
# make
# make modules_install
Restart computer with new kernel
Set up ADSL parameters
# adsl-setup
Username: your_login@dslbasic.stonline.sk
Interface: nas0
Link on demand: no
DNS: server
Password: your_password
Repeat password your_password
Firewall: 0 or 1 or 2
Compile and install linux-atm
# cd /adsl/linux-atm-2.4.1
# ./configure --prefix=/usr
# make
If you are getting error, then modify linux-atm-2.4.1/src/lib/sapequal.c
add comment on lines 68 and 86 like this:
// default:
also do this on lines 262 and 291 in linux-atm-2.4.1/src/sigd/proto.c
and on line 47 in linux-atm-2.4.1/src/maint/enitune.c
compile and install
# make install
Compile br2684ctl.c
# cd /adsl
# cc -o br2684ctl br2684ctl.c -latm
copy br2684ctl to /usr/sbin
# cp /adsl/br2684ctl /usr/sbin/br2684ctl
copy stdsl to /usr/sbin and make it executable
# chmod u+x /usr/sbin/stdsl.sh
Connecting/disconnecting
# stdsl.sh start
# stdsl.sh stop
Forum
Discuss this howto
Useful information sources
Zulliani Kernel 2.6 and Accessrunner
Accessrunner forum
back to homepage Ladislav Rado