Re: [SLE] Speedtouch 330 (silver) ADSL

From: John Lamb (J.D.Lamb_at_btinternet.com)
Date: 09/14/04

  • Next message: Chadley Wilson: "[SLE] Why logical volume?"
    Date: Tue, 14 Sep 2004 20:56:51 +0100
    To: suse-linux-e@suse.com
    
    

    Tim Nicholson wrote:
    > I am trying to get the above working with 9.0 but have failed so far.
    >
    > Has anyone done this on SUSE?

    Yes. I'll try to put down detailed instructions, though I have to admit
    I hadn't recorded what I did to get this device to work as well as I
    might. The instructions are specifically for the silver (revision 4)
    version of the modem.

    The way I got it to work was to use the speedtouch 1.3 driver from
    http://speedtouch.sourceforge.net/index.php?/download.en.html combined
    with the kernel module, which is included in SuSE 9.1.

    speedtouch-1.3:
    Download speedtouch-1.3.tar.bz2 from
    http://speedtouch.sourceforge.net/index.php?/download.en.html
    to a directory (say ~/src).

    Open a Konsole (or xterm or similar)
    $ cd ~/src
    $ tar jxvf speedtouch-1.3.tar.bz2
    $ cd speedtouch-1.3
    $ ./configure
    If you get warnings here, install compilers, linkers, etc., from the
    SuSE CDs using YaST - try package groups, development, or search for
    whatever appears to be missing.
    $ make
    $ su
    (and enter root password)
    # make install
    This creates the program /usr/local/sbin/modem_run, which you need later.

    Note: I altered a couple of the programs and found that this would allow
    me genuinely to hotplug the modem. I was guessing a bit, but the
    following may help: save
    http://www.uyea.btinternet.co.uk/patch as a file ~/src/patch
    $ cd ~/src
    $ tar jxvf speedtouch-1.3.tar.bz2
    $ cd speedtouch-1.3
    $ patch -p1 < ../patch
    $ ./configure
    etc.

    You may also find it helpful to do the
    $ ./configure
    as
    $ ./configure --enable-debug --enable-syslog
    then when testing, you can see the output in the system log view
    (YaST=>misc) or from a konsole as root with
    # tail -f /var/log/messages

    You now need the modem microcode. It comes in the form of two files:
    ZZZLP1.eni and ZZZLP2.eni. This makes it easier to google for or to find
    if you download the drivers from Thomson
    (http://www.speedtouch.com/support.htm). If you installed on a dual boot
    system, you can probably find them in /windows/C/Program
    Files/Thomson/SpeedTouch USB/Bin

    I created a new directory
    # mkdir /etc/ppp/peers/speedtouch
    and copied the two files there as a convenient location for them.

    Now you can test if the modem actually does anything when you try to
    load the microcode: as root (all on one line)
    # /usr/local/sbin/modem_run -a /etc/ppp/peers/speedtouch/ZZZLP1.eni
                                  -f /etc/ppp/peers/speedtouch/ZZZLP2.eni -k
    -v 1
    You should see some new information on the system log, some flashing
    lights on the modem and both eyes should turn yellow-green (initial the
    frog is winking red in the right eye)

    Assuming this all works, you can put it in a hotplug script. Mine
    contains the following lines: (the bits between the ============ and
    watch out for line-wrapping: the bit starting if .. should be two lines,
    the first ending with \)
    =======================================================================
    #!/bin/bash
    case $ACTION in
    add)
         echo "Uploading speedtouch microcode (/etc/hotplug/usb/speedtch)"
         if /usr/local/sbin/modem_run -a /etc/ppp/peers/speedtouch/ZZZLP1.eni \
                                      -f
    /etc/ppp/peers/speedtouch/ZZZLP2.eni -k -v 1; then
             echo "Speedtouch microcode loaded"
         else
             echo "Speedtouch microcode not loaded"
         fi
    ;;
    remove)
    :
    ;;
    esac
    =======================================================================
    I saved this as root as /etc/hotplug/usb/speedtch. It should be
    executable (I think); so do
    # chmod +x /etc/hotplug/usb/speedtch
    to make sure.

    That should have dealt with the microcode. The next part is getting a
    connection. IIRC, YaST was fine, but the setup was manual: that is, I
    don't think I needed any more hand configuration by hand. If I'm wrong,
    let me know and check the various modprobes suggested in the linux-doc
    directoy of ~src/speedtouch-1.3. So YaST=>Network=>DSL=>configure and
    use default settings or follow suggestions. You should use PPPOATM and I
    chose hotplug as the device activation and 0.38 for the VPI/VCI (btinternet)

    You'll have to fill in the provider's details. The bit that got me was
    that in my case the login wasn't the same as my old ISDN login, but I
    guess that's unusual.

    Test with kinternet (which will need some reconfiguring!) or
    $ cinternet -i dsl0 --start

    That's it - I hope it helps.

    -- 
    JDL
    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Chadley Wilson: "[SLE] Why logical volume?"

    Relevant Pages

    • Re: [SLE] Kernel Woes: Comments, Please!
      ... Both machines are currently running SuSE 9 ... I have a P-IV machine with an external modem. ... I get downloads speeds around 5 kbytes per ... that the download speed was not constant, it varied a lot, from 6 kbytes ...
      (SuSE)
    • Re: [SLE] Root filesystem on LVM on SuSE 9.0
      ... the system can mount the root fs from within a logical volume - RedHat can ... If anyone from SuSE is reading this, ... As for IBM support, well I assume that there's no issue on supporting ... > object file: ...
      (SuSE)
    • Re: SUSE 10.1 Printer problem
      ... Store-bought packaged SUSE v10.1 ... Attempts to mount the drive as root from ... My floppies, CD, DVD and USB flash drives all mount automatically with ...
      (alt.os.linux.suse)
    • Re: Dialup
      ... >> My USR internal hardware Modem shows up as ppp0. ... >> I am assuming that I have root permissions, ... Usage: wvdialconf,configfile-name> ...
      (Fedora)
    • Re: [SLE] Weird Modem Behaviour
      ... I was online, yes, the modem ... I sent a couple e-mails and then moved the modem back to the SuSE ... I was yelling at my ISP ... I switched back to a 2.4.25 kernel and things have been a lot ...
      (SuSE)