Re: [SLE] Speedtouch 330 (silver) ADSL
From: John Lamb (J.D.Lamb_at_btinternet.com)
Date: 09/14/04
- Previous message: Randall R Schulz: "Re: [SLE] Executes from Command Line but not Script"
- In reply to: Tim Nicholson: "[SLE] Speedtouch 330 (silver) ADSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Randall R Schulz: "Re: [SLE] Executes from Command Line but not Script"
- In reply to: Tim Nicholson: "[SLE] Speedtouch 330 (silver) ADSL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|