Menu

Connecting using mandrake 10 official HOWTO

heema
2004-05-28
2004-06-05
  • heema

    heema - 2004-05-28

    I made this HowTo to help others like me to connect with ease
    Note : i am still a newbie and this is my first howto so bear with me  :)

    Connecting by Conexant USB Adsl (pppoa) using Mandrake 10 official :

    1) 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

    2) Install the kernel source from rpmdrake

    3) Patch the kernel
    # cd /usr/src/linux
    # gunzip -c patch-2.6.x_YYYYMMDD_accessrunner.gz | patch -p1

    4) Recompile the kernel
    # cd /usr/src/linux

    backup the .config by copying to any other location

    # make mrproper

    restore the .config

    # 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

    # make bzImage

    # make modules

    # make modules_install

    # make install

    5) Restart

    6) Go to rpmdrake and search for atm these packages will be the result
    liblinux-atm1 , liblinux-atm1-devel , linux-atm , ppp-pppoatm
    install them

    7) Untar cxacru package to any folder and type
    # make new

    8) Substitute cxload.sh and cxunload.sh in "/usr/sbin" with the modified ones that you have downloaded from the site

    9) 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=

    10) 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

    11) Edit the pap-secrets file
    # Secrets for authentication using PAP
    # client    server    secret            IP addresses
    'username'    *    'password'

    12) Edit the chap-secrets file
    # Secrets for authentication using PAP
    # client    server    secret            IP addresses
    'username'    *    'password'    *

    13) 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

    14) Go to /usr/sbin
    # su

    # ./cxstart.sh

    And wish that it will connect the first time

     
    • Anonymous

      Anonymous - 2004-05-28

      Hi!
      Thank you for this howto, I think it can be usefull particularly for new linux users like me :)
      I'm using Fedora Core 1, and I would like to install Fedora Core 2 (kernel 2.6.x), do you think I can apply your howto to my distibution (or it's just for mandrake)?

      Paolo

       
    • heema

      heema - 2004-05-28

      i am not really sure :(
      but u could try , i got it working in mandrake 10 and libranet 2.8

       
    • Anonymous

      Anonymous - 2004-06-04

      Hi! I am still valmar. After discovering that I can start mandrake 10.0 official with kernel 2.6.3 i followed the instruction step. by step. I have an atlantis I-storm (VendorID = 0572 & ProductID = cb06). Are these instructions valid for my modem also? It doesn't work! HEre are the errors:

      Jun  4 01:46:03 localhost kernel: drivers/usb/core/usb.c: problem -17 when registering driver xdslusb
      Jun  4 01:46:12 localhost kernel: drivers/usb/core/usb.c: deregistering driver xdslusb
      Jun  4 01:46:13 localhost kernel: drivers/usb/core/usb.c: deregistering driver speedtch
      Jun  4 01:46:15 localhost kernel: drivers/usb/core/usb.c: registered new driver speedtch
      Jun  4 01:46:15 localhost kernel: drivers/usb/core/usb.c: registered new driver xdslusb
      Jun  4 01:46:15 localhost kernel: kobject_register failed for xdslusb (-17)
      Jun  4 01:46:15 localhost kernel: Call Trace:
      Jun  4 01:46:15 localhost kernel:  [kobject_register+67/80] kobject_register+0x43/0x50
      Jun  4 01:46:15 localhost kernel:  [<c01c1ed3>] kobject_register+0x43/0x50
      Jun  4 01:46:15 localhost kernel:  [bus_add_driver+57/144] bus_add_driver+0x39/0x90
      Jun  4 01:46:15 localhost kernel:  [<c0208e59>] bus_add_driver+0x39/0x90
      Jun  4 01:46:15 localhost kernel:  [driver_register+47/64] driver_register+0x2f/0x40
      Jun  4 01:46:15 localhost kernel:  [<c020926f>] driver_register+0x2f/0x40
      Jun  4 01:46:15 localhost kernel:  [printk+308/320] printk+0x134/0x140
      Jun  4 01:46:15 localhost kernel:  [<c0123244>] printk+0x134/0x140
      Jun  4 01:46:15 localhost kernel:  [__crc_open_private_file+306450/4965071] __crc_usb_hub_tt_clear_buffer+0x18484d2/0x1854131 [usbcore]
      Jun  4 01:46:15 localhost kernel:  [<e195312b>] __crc_usb_hub_tt_clear_buffer+0x18484d2/0x1854131 [usbcore]
      Jun  4 01:46:15 localhost kernel:  [__crc_rpc_new_task+1469696/1559775] 0xe1803061
      Jun  4 01:46:15 localhost kernel:  [<e1803061>] 0xe1803061
      Jun  4 01:46:15 localhost kernel:  [sys_init_module+223/432] sys_init_module+0xdf/0x1b0
      Jun  4 01:46:15 localhost kernel:  [<c013666f>] sys_init_module+0xdf/0x1b0
      Jun  4 01:46:15 localhost kernel:  [sysenter_past_esp+82/121] sysenter_past_esp+0x52/0x79
      Jun  4 01:46:15 localhost kernel:  [<c010afa9>] sysenter_past_esp+0x52/0x79
      Jun  4 01:46:15 localhost kernel:
      Jun  4 01:46:15 localhost kernel: drivers/usb/core/usb.c: problem -17 when registering driver xdslusb

      also in messages:

      Jun  3 02:25:31 localhost pppd[10465]: Plugin /usr/lib/pppd/2.4.1/pppoatm.so loaded.
      Jun  3 02:25:31 localhost pppd[10465]: PPPoATM plugin_init
      Jun  3 02:25:31 localhost pppd[10465]: PPPoATM setdevname - remove unwanted options
      Jun  3 02:25:31 localhost pppd[10465]: PPPoATM setdevname_pppoatm - SUCCESS:8.35
      Jun  3 02:25:31 localhost pppd[10465]: unrecognized option 'pty'

      Can you please please help! I wnto to make this thing work under mdk 10.0 or fedora 2!!!

      Thanks

      Valmar

       
      • Gilles Espinasse

        don't let both speedtch and xdsl usb modules load.
        Try to rename one of them with a .bak extension

         
      • Juan Heguiabehere

        Something you can do to prevent the -17 error is to edit
        /etc/hotplug/blacklist
        and add the lines
        speedtch
        cxacru
        cxacrudbg

        This will prevent the OS from loading them automatically, which is what causes the problems. I read something about also adding 'usbcam' to the list; it didn't do anything for me but YMMV.

        About the 'pty' option, I just removed it since it was giving me the same error; maybe it belongs with some other version of pppd.

         
    • Anonymous

      Anonymous - 2004-06-05

      Nope it still doesn't work!

      Relevant messages

      Jun  5 04:18:34 localhost pppd[4291]: Plugin /usr/lib/pppd/2.4.1/pppoatm.so loaded.
      Jun  5 04:18:34 localhost pppd[4291]: PPPoATM plugin_init
      Jun  5 04:18:34 localhost pppd[4291]: PPPoATM setdevname - remove unwanted options
      Jun  5 04:18:34 localhost pppd[4291]: PPPoATM setdevname_pppoatm - SUCCESS:8.35
      Jun  5 04:18:34 localhost pppd[4292]: pppd 2.4.1 started by root, uid 0
      Jun  5 04:18:34 localhost pppd[4292]: Using interface ppp0
      Jun  5 04:18:34 localhost pppd[4292]: Connect: ppp0 <--> 8.35
      Jun  5 04:19:10 localhost pppd[4292]: Terminating on signal 15.
      Jun  5 04:19:16 localhost pppd[4292]: Connection terminated.
      Jun  5 04:19:16 localhost pppd[4292]: Exit.

      drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
      NET: Registered protocol family 8
      NET: Registered protocol family 20
      drivers/usb/core/usb.c: registered new driver speedtch
      CSLIP: code copyright 1989 Regents of the University of California
      PPP generic driver version 2.4.2

      Shouldn't the driver be cxacru? Why is it speedtouch? Anyone knows what terminating on signal 15 means?

      I'm getting tired of mandrake 10. It is very buggy for me. I can't even get x to start on boot at runlevel 5

      Thank you

      Valmar

       
      • Juan Heguiabehere

        The speedtch module is loaded either automatically (you have to add it to /etc/hotplug/blacklist) or by cxload.sh (you followed the instructions on http://www.zullinux.it/linux/accessrunner.html, reinstalling  cxacru should work)

        Signal 15 is SIGTERM; pppd is being deliberately terminated.

         
    • Anonymous

      Anonymous - 2004-06-05

      By the way, how do I remove the pty option? I've got no such option in /etc/ppd/options

      Thank you

        Valmar

       
    • Anonymous

      Anonymous - 2004-06-05

      Sorry but it stills doesn't work, My /etc/hotplug/blacklist includes now:

      cxacru
      cxacrudbg
      speedtch
      xdslusb

      I recompiled cxacru and tried both with the version described in the howto and with the update to newer kernels.

      Nothing

      We are back to problem -17

      Like I did with arklinux I am thinking of giving it up and try with fedora 2 . How comes I can never get this stupid modem to work? My vendor, etc are listed in the page linked by the howto as supported. This is the opnly thing that keeps a window system on my hd!

      thanks eveybody!

          valmar

       
    • enryfox

      enryfox - 2004-06-05

      I have an identical problem with Aethra starmodem. From bash everything seems ok but ppp0 interface is not up but in the syslog there is the -17 error. I'm still trying but i'm also wondering about encapsulation. My provider (tiscali italia) uses PPPoA VC-Mux but pppd seems to use PPPoA LLC. How can i change  it ?
      thanks
      ciao

       

Log in to post a comment.