Ubuntu + USB ADSL modem: help

Caporegime
Joined
18 Oct 2002
Posts
32,733
Just installed ubuntu onto my parents PC, installation went fine. Just trying to hook it up to the NTL ADSL connection we have.

Previosuly I have always used Telwest Cable broadband through a router and thus it was eays to setup (damn site easier than getting WinXP to work the 1st time), under SuSe.

But now I'm a bit flumuxed about how to get A Speedtouch 330 ADSL USB modem to work under ubuntu.
here is the modem: http://www.speedtouch.com/prod330.htm
It does say it supports linux....

I am a bit of a noob when it comes to this kind of thing under linux so any advice much appreciated.
 
I've got some help from here:
http://speedtouch.cvs.sourceforge.net/*checkout*/speedtouch/speedtouch/INSTALL?revision=HEAD

installed the Speedtouch firmware into /etc/speedtouch
but the GNU speedtouch driver is another matter. The source code doesn't compile, giving 2 errors rleated to a static declaration change.
There is also a debian .deb binary which also fails because 2 packages aren't installed.

hotplug and pppoe are missing.
#I'm going to try and get these installed.

Might be easier just to get an ADSL router
 
no joy :(


The hotplug package doesn't exist for dapper (V6) Ubuntu, the earlier version of hotplug doesn't install. And I cannot find the PPP0e package (only PPPoeconfig).

I still can't get the speedtouch driver to compile.

There must be someone with a a speedtouch ADSL modem running linux out there?
 
Hotplug is built into the kernel for dapper. Make sure you got the right repositories added. What compilation errors are you getting when you try build it from souce anyway?

alex@nop:~/Code$ sudo apt-cache search pppoe
pppoe - PPP over Ethernet driver
 
Last edited:
Una said:
Hotplug is built into the kernel for dapper. Make sure you got the right repositories added. What compilation errors are you getting when you try build it from souce anyway?

alex@nop:~/Code$ sudo apt-cache search pppoe
pppoe - PPP over Ethernet driver

The compilation errors are along the lines:
modem_run.c:94 Static declaration of "verbose".....
modem.h:42 "verbose".....

Does seem like any dependencies are misisng for compilation, just that there is an actual bug in the code. It seems verbose has been instantiated as both static and dynamic.

I've figured that hotplug is built into the kernal, unfortunately that screws up the binary installation of the .deb speedtouch package.
 
You can build your own .deb from the source of the package if you have it. Those compilation errors are weird since they are proper compile errors, not linker ones. If the configuration script is any good it should have picked up if you have the wrong version of tools installed.

EDIT: I just tried to compile the source on my box,

ok on line 94 of src/modem_run.c remove static from it so it reads int verbose.
You will still get crap loads of warnings but it should still compile :p
Looks like someone had not tested this code very well hehe.
 
Last edited:
Una said:
You can build your own .deb from the source of the package if you have it. Those compilation errors are weird since they are proper compile errors, not linker ones. If the configuration script is any good it should have picked up if you have the wrong version of tools installed.

EDIT: I just tried to compile the source on my box,

ok on line 94 of src/modem_run.c remove static from it so it reads int verbose.
You will still get crap loads of warnings but it should still compile :p
Looks like someone had not tested this code very well hehe.

I'll give a go later- I was thinking that I could probably edit the code myself as from the error it looked like a basic programming error.

Cheers, i'll let you now how I get on.
 
Back
Top Bottom