LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-14-2005, 11:43 AM   #1
nitr8
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 4
Posts: 29

Rep: Reputation: 15
USB Silver Speedtouch 330 on Fedora Core 4


I know many people have posted asking for help with speedtouch, and i've done a search for this, however I am still unable to get my modem working.

I've tried with speedtouchconf (speedtouchconf-06-03-2005.tar) and have used the firmware for the silver modem (rev4fw.zip). The script works fine until it gets to the firmware stage, then it stops working.

I'll post the error log of it in a few minutes.

Any help would be appreciated.
 
Old 06-14-2005, 12:37 PM   #2
nitr8
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 4
Posts: 29

Original Poster
Rep: Reputation: 15
From speedtouch.make :
Code:
cd src && make 
make[1]: Entering directory `/tmp/speedtouch/speedtouchconf-06-03-2005/speedtouch-1.3-sgp/src'
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\"1.3\" -c modem_run.c
modem_run.c:84: error: static declaration of ‘verbose’ follows non-static declaration
modem.h:42: error: previous declaration of ‘verbose’ was here
modem_run.c: In function ‘get_reference’:
modem_run.c:691: warning: pointer targets in passing argument 6 of ‘pusb_control_msg’ differ in signedness
modem_run.c: In function ‘report’:
modem_run.c:1119: warning: pointer targets in passing argument 1 of ‘dump’ differ in signedness
modem_run.c: In function ‘dump’:
modem_run.c:1180: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
modem_run.c:1189: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
modem_run.c:1198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
modem_run.c:1207: warning: pointer targets in passing argument 2 of ‘syslog’ differ in signedness
make[1]: *** [modem_run.o] Error 1
make[1]: Leaving directory `/tmp/speedtouch/speedtouchconf-06-03-2005/speedtouch-1.3-sgp/src'
make: *** [modem] Error 2
 
Old 06-15-2005, 05:14 PM   #3
nitr8
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 4
Posts: 29

Original Poster
Rep: Reputation: 15
I've just reinstalled fedora, and tried using the latest (beta) version of speedtouchconf:
http://speedtouchconf.sourceforge.net

However when I run the script I encounter the following:
Code:
 
[root@localhost speedtouchconf-2.0-beta2_16-May-2005]# ./speedtouchconf.sh
which: no pppd in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/user/bin)

************************************************
*                                              *
*       speedtouchconf.sh by Steve Parker      *
*                                              *
*    http://speedtouchconf.sourceforge.net/    *
* based on speedtouch.sourceforge.net project  *
*                                              *
************************************************

If you have any problems with this script, mail me
(steve at steve-parker dot org) with the files
/tmp/speedtouch.txt and /var/log/messages for diagnosis.
Error: Cannot find pppd.
Error: Cannot find ifconfig.
Some required files are not installed:
 pppd ifconfig
Please install these (from your Linux install media,
or the internet) before you can configure and install
the speedtouch software.
Please check the PATH environment variable, and that you are running
as root. Your PATH variable is currently:
[root@localhost speedtouchconf-2.0-beta2_16-May-2005]#
I'm guessing i need to install pppd and ifconfig, sorry but i'm a n00b to this so i'd appreciate if someone could tell me how to do this if it is the problem i'm having.
Please don't suggest using yum as it would be useless in this case - i still can't connect to the internet.
 
Old 06-21-2005, 01:10 PM   #4
rconan
Member
 
Registered: Jun 2005
Distribution: Debian Unstable (Sid)
Posts: 63

Rep: Reputation: 15
With regard to the first error I have exactly the same problem.

And with regard to the second I would advise either installing those packages off the install CDs using the add/remove packages option or downloading the rpms for those packages from a Fedora Mirror and installing with rpm -Uvh [filename]
 
Old 06-28-2005, 10:44 AM   #5
jallingt
LQ Newbie
 
Registered: Jun 2005
Location: Princeton NJ
Distribution: Fedora Core 4
Posts: 10

Rep: Reputation: 0
Have either of you figured out the" point target differs in signedness" error?
I am getting the same error when installing the library for the ALSA sound driver. (Fedora core 4 kernel 2.6.11-1.1369-Thinkpad 600x)
 
Old 07-10-2005, 07:53 AM   #6
dave2809
LQ Newbie
 
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Quote:
Originally posted by jallingt
Have either of you figured out the" point target differs in signedness" error?
I am getting the same error when installing the library for the ALSA sound driver. (Fedora core 4 kernel 2.6.11-1.1369-Thinkpad 600x)
I'm getting this error too... used to have everything working perfectly on FC2 (32 bit) and when I upgraded to FC4 (64 bit) this error keeps happening. Can anyone please help!
 
Old 08-05-2005, 03:01 PM   #7
johndurham
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Smile fc4 + speedtouch modem

Have also just upgraded to FC4 from FC2 and have had the same problems but have finally got it working!
I used the latest stable version ( the beta versions won't work ) Speedtouchconf-06-03-2005.tar.gz. Untar this into your home directory and copy the firmware file into the Speedtouchconf directory( rev4fw.zip works for the silver modem ).
Inside the Speedtouch folder you'll find a tar file called Speedtouch-1.3-sgp.tar.gz. Double click this file to open the archive in file roller but don't extract it. In file roller navigate to the src directory where you'll find a file called modem.h. Double click this file and it will open in your default editor, in my case gedit.
Near the end of this file you'll see the following line:
extern int verbose;
Delete this line completely and save the file into your home directory ( as modem.h ). Now drag the icon for this file back into file roller and the old version of modem.h will be replaced by the new edited version.
Now run the speedtouchconf.sh file as you have been doing and it should now work.
In my case the script worked up to the point of initialising the modem and getting online but couldn't access any sites because DNS isn't set up properly. I had the same problem with FC2 so know how to fix it.
All you now need to do is manually create the file resolv.conf like this:
As root type gedit /etc/ppp/resolv.conf and add the following lines:
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the Ip address of the DNS server(s) on your ISP which you will have been given when you signed up. Save the file and fingers crossed everything will now work.
 
Old 09-02-2005, 06:23 PM   #8
Marrea
Member
 
Registered: Sep 2003
Location: UK
Distribution: openSUSE 11.4, Ubuntu 10.04, Ubuntu 11.04
Posts: 55

Rep: Reputation: 15
Hmm, I did as you said, johndurham.

The speedtouchconf.sh ran OK but mentioned the DNS problem at the end. I added the nameserver ip addresses to /etc/ppp/resolv.conf (which didn't exist by the way, I had to create it), but couldn't connect to any sites.

I rebooted and one of the messages scrolling past on the screen said
"Starting ADSL connection : grep : /etc/modules.conf No such file or directory"
so I don't know if that has something to do with the modem failing to connect.

I have a /etc/modprobe.conf file and a /etc/modprobe.conf.dist file but no /etc/modules.conf

I guess you didn't have any such problem like this?
 
Old 09-03-2005, 07:51 AM   #9
johndurham
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
I get the same error message on boot up and don't have modules.conf on my system either but still manage to get online ok.
If the script got to the point of reporting the DNS error I think everything must be ok except DNS configuration.
Looking on my system I seem to have two versions of resolv.conf : one at /etc/resolv.conf and the other at /etc/ppp/resolv.conf, the first is a link to the second but both have the same content.
In my case they look like this:

nameserver 212.50.160.100
nameserver 213.249.130.100

Look to see If the file /etc/resolv.conf exists on your system and if it doesn't create it and add your nameserver details as previously.
Hope this works.
 
Old 09-03-2005, 10:08 AM   #10
Marrea
Member
 
Registered: Sep 2003
Location: UK
Distribution: openSUSE 11.4, Ubuntu 10.04, Ubuntu 11.04
Posts: 55

Rep: Reputation: 15
Hi johndurham

Prior to reading your latest post, I discovered that the automatic loading of modules in 2.6 kernels is now controlled by the /etc/modprobe.conf file, which apparently has replaced the etc/modules.conf file. I wonder why Fedora is expecting to find the /etc/modules.conf file if it isn’t supposed to have it? Perhaps there is a reference in one of the Speedtouch files which still points to this particular file and Fedora is trying to find it.

I’m beginning to wish I hadn’t started playing about with this. Previously I was using a Netgear router to connect to the Internet and after failing to get the Speedtouch modem to work I then found the router would no longer connect. I don’t know why. I can only assume there was some sort of conflict with the ailing modem and the missing /etc/modules.conf file. So I thought I’d better try and stop the modem fruitlessly attempting to connect at boot up. The only way I could think of doing this was to disable the reference to the Speedtouch in the /etc/rc5.d and /etc/rc3.d files, which I’ve done by temporarily renaming S91speedtouch to _S91speedtouch in each – and that has given me the router connection back again. However, I’m still no nearer to getting the modem to work !!

I shall now go back and investigate my resolv.conf files again. When I typed gedit /etc/ppp/resolv.conf, it transpired that the file didn't actually exist but gedit created it. I entered my BT ip addresses:
nameserver 213.120.62.97
nameserver 213.120.62.98
but was not able to connect to any websites. I am going to have another go at getting this to work and will report back on what transpires.

What is strange is that I had no problems whatsoever getting the Speedtouch running on Mandriva 2005 LE (also a 2.6 kernel) - using the same script from sourceforge.net.

All the best

Last edited by Marrea; 09-03-2005 at 10:12 AM.
 
Old 09-03-2005, 01:35 PM   #11
Marrea
Member
 
Registered: Sep 2003
Location: UK
Distribution: openSUSE 11.4, Ubuntu 10.04, Ubuntu 11.04
Posts: 55

Rep: Reputation: 15
After messing about with this most of the afternoon, I'm convinced it's nothing to do with the resolv.conf files but purely the modem's failure to connect in the first place. I think I'm going to give up on this for the present !! May return to it at some later stage.

Cheers
 
Old 09-06-2005, 04:11 PM   #12
johndurham
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Speedtouchconf

Hi Marjorie
I know that your patience is probably exhausted by now but I think I've finally got to the bottom of the problem if you want to make one last attempt.
The reason the original script didn't work was because the compiler that is shipped with FC4 (gcc4.0) is incompatible with earlier versions so many programs will no longer compile using it.
To solve the problem first you need to install two files
compat-gcc-32 and compat-gcc-32-c++
You'll find these (rpm)files on your installation disks but if you now have internet access it's easier just to use yum to install them like so (as root):
yum install compat-gcc-32
yum install compat-gcc-32-c++
Now all we need to do is to alter one line in the speedtouchconf.sh file. cd to your speedtouchconf folder and type gedit speedtouchconf.sh, click on the FIND icon and type ./configure as the text to find.
You'll be taken to a section of the script that looks like this:
if [ "$PREFIX" != "/" ]; then
config="./configure --prefix $PREFIX/usr"
else
config="./configure"
fi
Change the second ./configure entry so it looks like this and save the file:
config="./configure CC=gcc32 CXX=g++32"
Now as root type ./undo.sh to uninstall your previous attempt and then ./speedtouchconf.sh to run the script. This worked first time for me using the original files without making the changes to modem.h I mentioned in an earlier post. You can check whether or not you are connected by issuing the command ifconfig ppp0.
Give it a try!
John

Last edited by johndurham; 09-06-2005 at 04:25 PM.
 
Old 10-15-2006, 09:47 PM   #13
tourbike
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Rep: Reputation: 0
using yum

hi I have also been having problems with my speedtouch 330 usb. I set you an old windows box to grant me access to the internet from my linux box. but being a newbie i dont know the yum install command for the speedtouch modem can you help please
I am using fedora core 5

thanks

pads

Last edited by tourbike; 10-15-2006 at 09:49 PM.
 
Old 10-17-2006, 04:52 PM   #14
johndurham
LQ Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
speedtouch modem

After hours days and weeks of struggling to get the speedtouch modem working with fc5 I did eventually succeed but I now realise there is a much easier way. I bought a SAFECOM ADSL modem router from Ebuyer for about £20 that plugs into the ethernet port of my computer, configured it with my username and password and it just works without any problems. I'd advise you not to waste time trying to get the speedtouch modem working when the above solution will save you much time and frustration.
Cheers John

Last edited by johndurham; 10-17-2006 at 04:54 PM.
 
Old 12-29-2006, 08:32 AM   #15
TotalLinuxNoob
Member
 
Registered: Apr 2005
Distribution: Ubuntu
Posts: 109

Rep: Reputation: 15
I'm attempting to get a Ubuntu installation working with this modem but I am receiving little success.

The ubuntu live CD comes with very little packages and all the debs I've downloaded fail to get the speedtouchconf script running successfully. I'm trying the live CD before installing it onto a Desktop pc.

So I try speedtouch conf on FC4 on my laptop and the installation hangs:

Quote:
No further user interaction is required.
Configuring SpeedTouch Driver...
Software Configuration - SUCCESS
Building SpeedTouch Driver...
Software Build - SUCCESS
Installing SpeedTouch Driver...
Software Installation - SUCCESS
Creating ppp files in /etc/ppp
You can ignore any insmod hints here...
mount: none already mounted or /proc/bus/usb busy

*** Configuration finished. Starting the connection ***

Fri Dec 29 15:18:26 CET 2006
The modem lights should start flashing for approx. 60 seconds...
You might see some messages about USBDEVFS_BULK failed - you can ignore this.
Fri Dec 29 15:18:26 CET 2006
The modem_run command failed (code 235)
modem_run results:
Mutex value not OK
FAILED because of modem_run error 235
I'm still crossing my fingers. The Desktop PC is exclusively used for web browsing and it would be a shame for it to have to run XP.

EDIT:

The ubuntu version which will ultimately be installed is Edgy Eft.

As an alternative, will this ADSL router do?:

http://www.ebuyer.com/customer/produ...duct_uid=42664

Reviews seem fine, especially compared to http://www.ebuyer.com/UK/product/48449/rb/24079508146 .

My Modem is the black version.

Last edited by TotalLinuxNoob; 12-29-2006 at 11:26 AM.
 
  


Reply



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
Mepis 3.3 & The Silver SpeedTouch 330 USB Modem soleside Linux - Newbie 1 07-25-2005 09:07 AM
Speedtouch 330 silver and 9.2 one more time Syringe SUSE / openSUSE 5 03-22-2005 12:15 PM
speedtouch 330 silver ctux Linux - Networking 1 01-23-2005 02:37 PM
Installing Speedtouch 330 USB Modem on Fedora core 2.6 Stevecook Linux - Hardware 21 12-08-2004 09:57 AM
Speedtouch 330 (silver) problem on FC3 ctux Linux - Hardware 5 11-21-2004 07:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:12 AM.

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