Alcatel Speedtouch USB ADSL Modem Setup Mini HOWTO 'user space' drivers for 2.4.29/31 kernels.

usenet_holmes_at_yahoo.co.uk
Date: 06/17/05

  • Next message: johndoe_at_libero.it: "Kontact"
    Date: 17 Jun 2005 07:58:01 -0700
    
    

    I found it, frankly a knightmare to set this modem up.
    The documentation can become extremely confusing
    for newbies if u get confused between the different driver
    projects !

    Please pass this around. Tell me where I can post it
    as this got my modem working CONFIRMED !

    Here it is:

    -----------------------

    How to get it working with Slackware 10.1 (and other
    distributions ) by patching the supplied 2.4.29 kernel
    to 2.4.31.

    Note: I still hav'nt confirmed if it's the patch
    or a removal of confusion over mod drivers that
    got this working, so try the usb mod setup first
    (see below).

    This is on MY system with MY usb type so some of
    this may differ for you. My setup is:
    ADSL Speedtouch for USB rev.4 silver modem.
    Slackware 10.1 linux distribution.

    What is the patch ? Search for devio.c in the
    patch (below) and you'll see a comment about modem_run
    'never releasing resources' or whatever. This was
    the initial behaviour on my system. Modem_run would
    start but never exit back to the prompt !

    Pay attention to all README and INSTALL documents
    (they are actually helpfull!). Use IRC or whatever
    for help, don't suffer in silence ! (search for example
    for #kernel_newbies on an irc search engine).

    A: I used the 'USER SPACE' drivers located here:
    GPL Speedtouch USB Driver 1.3.1:
    http://speedtouch.sourceforge.net/index.php?/index.en.html
    by Benot Papillault.

    DON'T get them confused with the KERNEL DRIVERS because these
    only work with 2.6 kenerls !

    B: U will need this patch to fix modem_run with 2.4.29
    kernels (otherwise it never releases the hardware!):
    Patches: patch-2.4.30 and patch-2.4.31.
    These are in the 2.4 kernel directory eg:
    http://www.mirrorservice.org/sites/ftp.kernel.org/pub/linux/kernel/v2.4/[page=0]

    Get the .bz2 and corrsponding .sign files. The .sign files are text
    files
    containing the verification signature to confirm these
    are actually the patches ! (Good descript at url in
    the sign file of how to do this).

    Step by Step Patch and compile:

    (see how/to's, faq's about this if u dont know)
    1. Copy src to new dir, backup .config file.
    2. gpg --verify <patch-archive-file> <patch-sign-file>
    2a. enter new kernel dir (prob best to have patches above
    this dir)
    3. cat ../<patch name> | patch -p1 > saveresults.txt
    4. make mrproper
    5. restore the config file
    6. make menuconfig
    4. make dep
    5. make clean
    6. make bzImage
    7. Install new kernel with a menu entry in your start
    up config (have a working kernel u can use if anyhting goes
    wrong! ie as a startup menu entry). See you distribution / lilo
    / grub / kernel compile howto about this as it differs.

    C: The USB uhci mod must be usb-uhci NOT uhci
    (use rmmod / insmod). These must be interchanged
    BEFORE starting speedtouch-start.

    D: Check your passwords / username thouroughly
    (does you provider use an 'email' style user
    name with an @ in it ?).

    E: Check drivers have compiled / been sucessfully
    installed (if necessary check for conflicting versions of
    pppoa, modem_run, etc., something /may/ have got
    confused....are they at you ditribution original versions
    or the versions put there by the speedtouch 1.3.1 install ?

    F: If you launched speedtouch-start in X then you may only
    be connected in a vanilla terminal (duh!).

    G: Possibly confirm DNS setup as descibed in the FAQ
    file (in do-linux) included with the 1.3.1 driver archive.

    H. the usb mod bit must be right first time. If wrong then you'll
    have to restart. ie:
    1. rmmod uhci
    2. insmod usb-uhci (lights will flash).
    3. speedtouch-start (the start script will complain about wrong mods
    being installed but seems to be fine anyway)
    4. After a few seconds (actually about 10) you should see the
    authentication begin.
    5. Use ifconfig to look at the connection.
    6. See the linux security quickstart howto for basic firewall setup.

    I: Post a reply to this if there are any mistakes / extra steps that
    can help others ! ;-)

    ---------------------

    Please tell me
    if there are any major woopsies in this 'mini-howto'
    as I intend to submit to LDP and other how-to
    collections.

    Actually what is the MINI how-to submit procedure as
    I seem to be getting a number of conflicting
    reports ?
      
    Thanks
      
    Barney


  • Next message: johndoe_at_libero.it: "Kontact"

    Relevant Pages