Copy and unpack kernel to some directory (example: /usr/src/linux-2.6.10-custom)
Edit Makefile in this directory
VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 10 EXTRAVERSION = -customenable the following modules with "make gconfig", "make xconfig" or "make menuconfig":
Device Driver -> Networking Support -> Networking Options -> ... <M> Asynchronous Transfer Mode (ATM) <M> Classical IP over ATM [*] Do NOT send ICMP if no neighbour <M> LAN Emulation (LANE) support <M> Multi-Protocol Over ATM (MPOA) support <M> RFC1483/2684 Bridged protocols [*] Per-VC IP filter kludge Device Driver -> USB Support -> ... <M> Support for USB <M> Alcatel Speedtouch USB support (NEW)Compile kernel:
make make modules make modules_install make installReboot machine with new kernel
patch -p1 < ppp-2.4.2_poa_poe_patch_20040611and also do modification in two files:
make make installAfter that you must remove these files
/lib/modules/2.6.10-custom/kernel/drivers/usb/cxacru.ko /lib/modules/2.6.10-custom/kernel/drivers/usb/cxacrudbg.ko /etc/ppp/optionsBTW: Because speedtch.ko instead of cxacru.ko and pppoe.conf instead options will be used.
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=4 # 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=4 # ATM VPI=1 VCI=32 # Specific for RFC1483/2684 routed/bridged # if IP_ADDRESS is blank in bridged mode then it uses DHCP to get IP IP_ADDRESS= NETMASK=255.255.255.0 GATEWAY=
Username: your_login@dslbasic.stonline.sk Interface: nas0 DNS: server PPPoE password: your_password Firewall: 0 or 1 or 2 Start this connection at boot time: yes or no
RFC1483/2684 bridge: Interface "nas0" created sucessfully RFC1483/2684 bridge: Communicating over ATM 0.8.35, encapsulation: LLC RFC1483/2684 bridge: Fatal: failed to connect on socket
Answer:Question:
Use modified script cxnet4up.sh which executes cxioctl before br2684ctl
Answer:
Run adsl-connect and wait until authentificated,
after that you can terminate script (because interface is mapped) and you are connected successfully.