Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: HowTo : Connecting by Conexant USB Adsl (pppoa)

  1. #1
    Join Date
    Dec 2004
    Location
    Egypt
    Beans
    14

    HowTo : Connecting by Conexant USB Adsl (pppoa)

    Connecting by Conexant USB Adsl (pppoa) using Ubuntu

    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
    Last edited by heema; January 13th, 2005 at 10:23 AM.

  2. #2
    Join Date
    Feb 2005
    Beans
    32

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    I've downloaded all the packages in step 2.

    How do I install them?

    Can anyone point me in the right direction please?

    Thanks.

  3. #3
    Join Date
    Dec 2004
    Location
    Egypt
    Beans
    14

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    to install a package , you have to be in its directory then type :

    Code:
    sudo dpkg -i filename.deb
    if u have them in a seperate directory , u could install them all by typing :


    Code:
    sudo dpkg -i *.deb

  4. #4
    Join Date
    Feb 2005
    Beans
    32

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    cool, thanks.

    i think i've got the driver installed now, but i still can't connect.

    i type

    Code:
    root@ubuntu:/home/tony # cd /usr/sbin
    root@ubuntu:/usr/sbin # su
    root@ubuntu:/usr/sbin # ./cxstart.sh
    to start the modem, and it does the following...

    Code:
    >>> Inits Conexant AccessRunner <<<
    
    >>> Removing cxacru driver...
    
    >>> Loading firmware...
    Conexant AccessRunner microcode upload program. 6/9/2003
    Josep Comas <jcomas@gna.es>
    See credits in documentation
    
    I found ADSL modem with VendorID = 0572 & ProductID = cb00
    Loading and sending /usr/sbin/cxfirm4.bin...
    Firmware is sent!
    Setting configuration...
    Waiting ADSL line is up (until 90 seconds)...
    .............
    ADSL line is up (Downstream 576 Kbits/s, Upstream 288 Kbits/s)
    >>> Loading driver...
    Launching driver in normal mode...
    
    /usr/sbin/cxload.sh successful
    Setting PPP over ATM...
    >>> Setting PPPoA <<<
    
    >>> Loading ppp_generic...
    
    >>> Loading pppoatm...
    
    >>> Activating send/receive data...
    Conexant AccessRunner ioctl call. 6/9/2003
    Josep Comas <jcomas@gna.es>
    See credits in documentation
    
    I found ADSL modem with VendorID = 0572 & ProductID = cb00
    
    >>> Loading pppd daemon...
    Plugin /usr/lib/pppd/2.4.2/pppoatm.so loaded.
    PPPoATM plugin_init
    PPPoATM setdevname - remove unwanted options
    PPPoATM setdevname_pppoatm - SUCCESS:8.35
    
    /usr/sbin/cxnet2up.sh successful
    which i think indicates that the driver is working, but when i try to connect...

    Code:
    root@ubuntu:/usr/sbin # sudo pon
    ... i get error messages:

    Code:
    Plugin /usr/lib/pppd/2.4.2/pppoatm.so loaded.
    PPPoATM plugin_init
    PPPoATM setdevname - remove unwanted options
    PPPoATM setdevname_pppoatm - SUCCESS:8.35
    /usr/sbin/pppd: In file /etc/ppp/peers/provider: unrecognized option 'connect'
    Not really sure what's going on, and I can't find anything on the net about this.

    Any help would be appreciated!

    Cheers,
    rar

  5. #5
    Join Date
    Dec 2004
    Location
    Egypt
    Beans
    14

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    you dont have to type sudo pon as you are already connect

    make sure first that you have entered ur DNS

    Go to Computer -> System Configuration -> Networking

    then there is a tab for entering the DNS

    then connect then try opening firefox

  6. #6
    Join Date
    Feb 2005
    Beans
    15

    Question Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    Hi,
    I really appreciated your HOWTO!
    But I don't understand what I have to do at step 4)...
    I went to
    http://www.zullinux.it/linux/accessrunner.html ,
    and downloaded cxacru-2003-10-05-src.tgz
    but I don't know hot to get patch-upto_2.6.5_20040517_accessrunner.gz
    ...I can't see it... Where can I find it?

    Thanks
    & Cheers
    Vale

  7. #7
    Join Date
    Dec 2004
    Location
    Egypt
    Beans
    14

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    Quote Originally Posted by vale
    Hi,
    I really appreciated your HOWTO!
    But I don't understand what I have to do at step 4)...
    I went to
    http://www.zullinux.it/linux/accessrunner.html ,
    and downloaded cxacru-2003-10-05-src.tgz
    but I don't know hot to get patch-upto_2.6.5_20040517_accessrunner.gz
    ...I can't see it... Where can I find it?

    Thanks
    & Cheers
    Vale

    http://www.zullinux.it/linux/patch-u...ccessrunner.gz

  8. #8
    Join Date
    Feb 2005
    Beans
    15

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    Ok,
    now sorry my ignorance again...
    How and were must I save this .gz file?

    Thanks very very much!
    Vale

  9. #9
    Join Date
    Dec 2004
    Location
    Egypt
    Beans
    14

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    its ok

    right click on it and choose "save as" , then save it in ur home folder temporary for now until you extracted the kernel source then copy it to /usr/src/linux to be able to patch the kernel

    or

    if u want u could leave it in ur home folder but in step 6 change :
    gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1
    to
    gunzip -c /home/whereitis/patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1

  10. #10
    Join Date
    Feb 2005
    Beans
    15

    Re: HowTo : Connecting by Conexant USB Adsl (pppoa)

    Other 2 things...
    1) Which file I have to download from
    http://security.ubuntu.com/ubuntu/po...-source-2.6.8/
    ??
    Do I have to put it in /usr/src? Is it the same of step 5?

    2)
    About
    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
    Are the ones I can get with synaptic ok?

    thanks

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •