NOTE : This is not a complete howto as i may have forgotten some things
Connecting by Conexant USB Adsl (pppoa) using Ubuntu :
1) Open synaptic and install build-essential
2) Go to
http://archive.ubuntu.com/ubuntu/pool/ ,
download these packages :
bin86_0.16.14-1_i386.deb
kernel-package_8.091.0ubuntu4_all.deb
kernel-source-2.6.8
libatm1-dev_2.4.1-15_i386.deb
libncurses5-dev_5.4-4_i386.deb
libusb-dev_1%3a0.1.8-11_i386.deb
linux-patch-debian-2.6.8.1_2.6.8.1-16_all.deb
linux-tree-2.6.8.1_2.6.8.1-16_all.deb
3) Install the packages
4) Go to
http://www.zullinux.it/linux/accessrunner.html ,
download cxacru-2003-10-05-src.tgz and patch-upto_2.6.5_20040517_accessrunner.gz
5) Type :
sudo -s
cd /usr/src
tar xvjf kernel-source-2.6*
ln -s kernel-source-2.6.8.1 linux
6) Patch the kernel
# cd /usr/src/linux
# gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1
7) Recompile the kernel
cd /usr/src/linux
cp /boot/config-2.6.8.1-3-686 .config
make oldconfig
make menuconfig
Go to section
Device Driver -> Networking Support -> Networking Options -> ....
<M> Asynchronous Transfer Mode (ATM) (EXPERIMENTAL)
<M> Classical IP over ATM (EXPERIMENTAL) [*] Do NOT send ICMP if no neighbour (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
Then Go to section
Device Driver -> USB Support ->
<M> Support for USB
.... (go near the end of the page)
<M>Alcatel Speedtouch USB support (NEW)
then save
make-kpkg --revision=1 –append -686 --initrd kernel_image
Wait.
Install the generated kernel-image debs.
8) Restart
9) Untar cxacru package to any folder and type
# make new
10) Substitute cxload.sh and cxunload.sh in "/usr/sbin" with the modified ones that you have downloaded from the site
11) Edit file /etc/cxacru to your needs
here is mine :
#
# Config file for Conexant AccessRunner
#
# Driver mode
DRIVER_MODE=1 # 1 = normal, 2 = debug, 3 = normal+max speed (without ask adsl status), 4 = debug+max speed (without ask adsl status)
# Protocol
PROTOCOL_MODE=2 # 1 = RFC1483/2684 routed, 2 = PPP over ATM (pppoa), 3 = RFC1483/2684 bridged, 4 = PPP over Ethernet (pppoe)
# Paths
BINARY_PATH="/usr/sbin"
ATM_PATH=""
# ADSL
# if OPEN_MODE is blank then cxload uses default mode acoording VID & PID
# Values for OPEN_MODE are:
# 0 = auto selection, G.Handshake
# 1 = auto selection, T1.413
# 2 = G.Handshake
# 3 = ANSI T1.413
# 4 = ITU-T G.992.1 (G.DMT)
# 5 = ITU-T G.992.2 (G.LITE)
OPEN_MODE=
# ATM
VPI=8
VCI=35
# Specific for RFC1483/2684 routed/bridged
# if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP
IP_ADDRESS=
NETMASK=
GATEWAY=
12) Edit your options file in /etc/ppp
#lock
#noauth
#noipdefault
#usepeerdns
noipdefault
noauth
persist
lcp-max-configure 50
-pap
usepeerdns
name any
user "insert your username here"
defaultroute
plugin /usr/lib/pppd/2.4.1/pppoatm.so 8.35
13) Edit the pap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password'
14) Edit the chap-secrets file
# Secrets for authentication using PAP
# client server secret IP addresses
'username' * 'password' *
15) Edit the resolv.conf in /etc and insert in it your DNS
if you dont know it you could get it from windows by typing ipconfig /all
16) Go to /usr/sbin
# su
# ./cxstart.sh
And wish that it will connect the first time