LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-21-2005, 04:21 AM   #1
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Rep: Reputation: 30
Speedtouch on SUSE 9.3


I've seen a couple of posts around asking about this, so here's how I got my green froggy going with 9.3. Needless to say, it does not work out of the box.

The good news is that the end result is much more elegant than it used to be, thanks mainly to some kernel improvements

I based my procedure on http://www.linux-usb.org/SpeedTouch/.../firmware.html

However, I had to make a couple of tweaks along the way:

1. Extracting the firmware
a.
The firmware extractor "configure" script needs to be changed to take account of the new hotplug directory structure:
Change line 3 to:
Code:
cat /etc/hotplug.d/firmware/50-firmware.hotplug | grep FIRMWARE_DIR= > Makefile &&
b.
Make a backup of the 50-firmware.hotplug script, and then change line 23 to:
Code:
FIRMWARE_DIR="/lib/firmware"
After you have made the changes, run the configure script, then make, make install. Then restore your original 50-firmware.hotplug script.

2. PPP
According to the instructions, you might be forgiven for thinking you are done. But no...as I said...they don't make it easy. The ppp rpm package(2.4.3) seems to be missing the pppoatm.so plugin.(I have reported this to SUSE). My way round this was to compile the source code myself from DVD 2 and copy pppoatm.so to /usr/lib/pppd/2.4.3/.

You are now done - all that's left is to configure the modem and reboot. I used YAST, but there are of course many ways to skin a cat.

Please excuse the rough and ready approach. Naturally it could be improved, but the first attempt is always a bit of a hack.


L
 
Old 04-21-2005, 05:17 AM   #2
JSpired
Member
 
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565

Rep: Reputation: 30
Thanks for this! Just ordered 9.3 and will be using it!
 
Old 04-24-2005, 06:09 AM   #3
bonafide
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
thanks man, i love you

I've been doing every possible procedure, but nothing worked. I even thought about throwing this ugly stingray out of the window, but now.... damn, i can't describe how happy I am.

I'm gonna try it your way, hope it works.
 
Old 04-25-2005, 11:22 AM   #4
bonafide
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
argh!! it didn't work

could you please explain your second step (PPP) a little bit easier? although I think this was not the problem
 
Old 04-25-2005, 12:19 PM   #5
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
Sure.

For whatever reason, my DVD installation did not install the /usr/lib/pppd/2.4.3/pppoatm.so file as part of the ppp package. I think it should, since I checked that the previous version did.

1. Using YAST's "Install and Remove Software" modules , I installed the source code for PPP. (Just click the "Source" checkbox next to the ppp binary package).
This installs the compressed sources to /usr/src/packages/SOURCES/ppp-2.4.3.tar.bz2

2. As root, decompress the ppp-2.4.3.tar.bz2 as follows: tar -xvf ppp-2.4.3.tar.bz2.
This will create a new sub directory called ppp-2.4.3.

3*. Change directory to ppp-2.4.3, and run: ./configure && make.
This will compile the file you need into /usr/src/packages/SOURCES/ppp-2.4.3/pppd/plugins/pppoatm.so

4. To finish off, copy it to /usr/lib/pppd/2.4.3/pppoatm.so.

*You may need to install some other packages to compile the source...."make" and "gcc" for sure.

If this is not the problem, post up the relevent ppp/kernel messages and we'll see what we can do.

Hope this helps, L

Last edited by lacerto; 04-25-2005 at 12:22 PM.
 
Old 04-25-2005, 09:48 PM   #6
AdamCo
Member
 
Registered: Aug 2004
Distribution: Suse 10
Posts: 126

Rep: Reputation: 15
Has anyone tried the script from Sourceforge in 9.3?

http://speedtouchconf.sourceforge.net/
 
Old 04-26-2005, 05:24 AM   #7
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
From http://speedtouchconf.sourceforge.net/:

"Please report, with details of distro, kernel version (uname -a), distribution (if any), etc. Seems to work up to 2.6.10
Check the speedtouch project for updates"

This seems to agree with what they say on the link I posted before:

"The 2.6.10 kernel (or 2.6.9 on Fedora) has a new feature (respect is due to David Woodhouse and Duncan Sands). It no longer needs modem_run to load the firmware. This is a good thing because it speeds up the boot process. You need to have hotplug installed and enable hotplug firmware loading when you compile the kernel (this seems to be the default for most distros). Then prepare the firmware by splitting it into two parts, speedtch-1.bin and speedtch-2.bin. These files contain programs that are run by the modem (not by your computer). The small file speedtch-1.bin loads the larger file speedtch-2.bin which is the modem's operating system, or something like that."

This suggests that the script will not work with 9.3, since 9.3 uses a 2.6.11 kernel. Also, the pppoatm.so is still required, so there's a problem there too. Finally, I did try to use the old 'single' firmware file method first...and it did not work for me.

However, I suppose if you disabled the the new kernel feature, you may get that script to work.

It would be simple enough to write a little script to automate the procedure I followed....but I'm rather busy at the moment. I might attack it if nobody else has in a week or two.
 
Old 04-26-2005, 09:17 AM   #8
bonafide
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
Yipeeee, I'm online!!!

Thanks, lacerto, you're great!
 
Old 04-26-2005, 09:54 AM   #9
Marrea
Member
 
Registered: Sep 2003
Location: UK
Distribution: openSUSE 11.4, Ubuntu 10.04, Ubuntu 11.04
Posts: 55

Rep: Reputation: 15
Quote:
Originally posted by lacerto
Sure.

For whatever reason, my DVD installation did not install the /usr/lib/pppd/2.4.3/pppoatm.so file as part of the ppp package. I think it should, since I checked that the previous version did.

1. Using YAST's "Install and Remove Software" modules , I installed the source code for PPP. (Just click the "Source" checkbox next to the ppp binary package).
This installs the compressed sources to /usr/src/packages/SOURCES/ppp-2.4.3.tar.bz2

2. As root, decompress the ppp-2.4.3.tar.bz2 as follows: tar -xvf ppp-2.4.3.tar.bz2.
This will create a new sub directory called ppp-2.4.3.

3*. Change directory to ppp-2.4.3, and run: ./configure && make.
This will compile the file you need into /usr/src/packages/SOURCES/ppp-2.4.3/pppd/plugins/pppoatm.so

4. To finish off, copy it to /usr/lib/pppd/2.4.3/pppoatm.so.

*You may need to install some other packages to compile the source...."make" and "gcc" for sure.

If this is not the problem, post up the relevent ppp/kernel messages and we'll see what we can do.

Hope this helps, L
lacerto
It is extremely useful to have this procedure laid out. I am going to file it away just in case I should ever need it in the future. It's great the things you can learn on these forums simply by reading through other people's problems.
 
Old 04-27-2005, 06:30 AM   #10
bonafide
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
lacerto, which firmware for the modem do you use?

With mgmt.o from speedmgmt.tar.gz downloads are really slow (4kb/s).
 
Old 04-27-2005, 07:21 AM   #11
lacerto
Member
 
Registered: Oct 2003
Location: South London
Distribution: Gentoo.
Posts: 297

Original Poster
Rep: Reputation: 30
I've a revision 0 modem9 (the greeny), so use the one contained speedmgmt.tar.gz tarball.

My download speed is about 450kbps
 
Old 04-30-2005, 10:59 AM   #12
Ed Vaessen
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
Deleted by Ed Vaessen

Last edited by Ed Vaessen; 05-02-2005 at 08:00 AM.
 
Old 05-14-2005, 07:57 PM   #13
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
Lacerto - if this works I will think you are a god.

However I may be back shortly with questions (funnily enough I currently have no t'internet at home and everytime I need more help it's a 5 mile cycle to work to decipher the next error message ).
 
Old 05-14-2005, 10:16 PM   #14
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
Lacerto - I am at home and if you weren't on the other side of the world (I presume) I could kiss you.

Admittedly, the whole thing isn't automatic yet (it doesn't quite happen at boot t ime or on hotplug) but I do not care because I am on t'internet, at home, for the first time since I upgraded to Suse 9.3.

Thanks again.
 
Old 05-14-2005, 11:11 PM   #15
oncemorewith
LQ Newbie
 
Registered: Sep 2003
Posts: 21

Rep: Reputation: 15
So I'm getting picky now but how do I make it all start automatically at boot?

At the moment it will start on hotplug and then I manually modprobe pppoatm and then pppd call speedtch and here I am.

However at boot time we get (from dmesg)
usbcore: registered new driver speedtch
usb 1-1: found stage 1 firmware speedtch-1.bin
usb 1-1: found stage 2 firmware speedtch-2.bin
but we don't get the magic lines
ADSL line is synchronising
DSL line goes up
ADSL line is up (320 Kib/s down | 160 Kib/s up)
(which are from when it does work on hotplug 2 minutes later!) and I can't tell what out of the other crap is the important error message (sorry).

I have a file /etc/init.d/dial which looks like
#!/bin/bash
modprobe pppoatm &&
pppd call speedtch
(I figured I didn't need the modem_run command because I don't need to type that at the console to get it working manually)
and this is also linked via
ln -s ../dial /etc/init.d/rc5.d/S50dial
(though I was under the impression that this is a shutdown thing not a startup?)

The only other thing I can think of is a message from /var/log/messages
modem_run[5927]: Another program/driver is already accessing the modem (interface 1 cannot be claimed)...

Could it just be confusing itself by trying to start ppp when the modem isn't ready? I know it takes at least 5 seconds for the whole DSL synchronising thing to happen.

Any thoughts would be welcome (personally I'm amazed I've got this far!). A final side effect of all this is that my terminal windows no longer know what my hostname is (uname does but $HOSTNAME is empty) - nice

Last edited by oncemorewith; 05-15-2005 at 12:20 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Speedtouch 330 On Suse 9.1 dj9928 Linux - Hardware 3 05-03-2005 08:50 AM
speedtouch 330 on suse 9.1 dAdESiTo Linux - Hardware 4 09-14-2004 03:08 AM
speedtouch 330 on SuSe 9.1 CHiel_l Linux - Software 4 08-14-2004 08:58 AM
SuSE 9.1 and Alcatel Speedtouch lacerto Linux - Hardware 1 05-31-2004 03:24 PM
need some help - Alcatel SpeedTouch on Suse painkiller Linux - Networking 0 02-17-2004 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration