LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-10-2004, 06:27 PM   #1
silvercastle
LQ Newbie
 
Registered: Mar 2004
Posts: 26

Rep: Reputation: 15
speedtouch usb connection


I am trying to set up adsl on my pc, running mandrake
I have - modified usb.c
compiled the kernel
installed speedtouchconf
run ./speedtouchconf as root

this is the result

************************************************************
No further user interaction is required.
Configuring SpeedTouch Driver...
Software Configuration - SUCCESS
Building SpeedTouch Driver...
Software Build - SUCCESS
Installing SpeedTouch Driver...
Software Installation - SUCCESS

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

The modem lights should start flashing for 20 seconds...
The modem_run command failed (code 250)
modem_run results:
Failed to load microcode - this is not a problem if you
have already loaded the microcode.
The microcode can only be loaded once per system boot;
We'll assume that the microcode is already loaded, and
not call this an error.
You may encounter problems, though.
FAILED because of modem_run error 250
Running : pppd call adsl
ppp0: error fetching interface information: Device not found
*********************************
* Don't seem to have connected. *
*********************************
Please check the username and password in /etc/ppp/*-secrets.
Then run /etc/rc. d/init.d/speedtouch start ( I have done this too)
************************************************************

Please help me fix this...
 
Old 04-28-2004, 02:35 AM   #2
pragmatic
LQ Newbie
 
Registered: Apr 2004
Location: UK
Distribution: Mandrake Linux 9.2
Posts: 9

Rep: Reputation: 0
From what I see hear it looks like you have tried to install the drivers like you would with say a Red Hat or Debian distro. With Mandrake you dont have to do all this. Mandy has a weird way of getting this little monster of a modem to work but it does work as i have been running the speedtouch on my linux box for months now without any problems at all. The first thing I would suggest is to uninstall all the stuff you have installed so far and start again from scratch. To get it to run you dont really need to install anything except copy and paste the mgmt.o file into the directory /usr/share/speedtouch. I have prepared this little how to on how to do it all I hope you find it of help:

Login as root

drakconf
Then run the setup wizard for networking and adsl
let it install the speedtouch directory in usr/share/speedtouch fill in user name DNS parts all the stuff u get from your isp then copy and paste the
mgmt.o file into the speedtouch directory then finish the install wizard DO NOT LET IT CONNECT
TO TEST THE CONNECTION IF IT SAYS IT WANTS TO

edit /etc/ppp/options and comment out (ie put a # at the begining of the line) the "default" and "persist route" lines.

Have a look in /etc/sysconfig/network. If there is a line saying "Gatewaydev=something-or-other" then delete it. Have a look in /etc/ppp/chap-secrets and /etc/ppp/pap-secrets. They should both have a line in with something like this (substituting your-dial-up-name and your-dial-up-password of course):
'your-dial-up-name' * 'your-dial-up-password' *


Have a look in /etc/ppp/peers/adsl. It should look like this:


noauth
noipdefault
pty "/usr/bin/pppoa3 -vpi 0 -vci 38"
sync
kdebug 1
noaccomp
nopcomp
noccp
novj
holdoff 4
maxfail 25
persist
usepeerdns
defaultroute
user "your-dial-up-name"

Now open up a command prompt and type lsmod now look at the output with regards to USB
for my particular usb-xhci was not usb-uhci but usb-ohci your system maybe different so make note
of what version usb your hardware uses

Then goto the files /etc/speedtouch.conf and make it look like this

LOAD_USBCORE="1"
LOAD_USBINTERFACE="1"
LOAD_NHDLC="1"
DEFAULT_USBINTERFACE="usb-xhci" (WHERE x is your hardware usb version)
MICROCODE="/usr/share/speedtouch/mgmt.o"
CONFIGURED="1"

Then look at the /etc/modules.conf and change any refers to usb-uhci to usb-ohci or
whatever your version is

Then cd to /usr/share/speedtouch
and at the promt type ./speedtouch.sh start
and hopefully it will start

Hope that helps
 
Old 04-30-2004, 07:35 AM   #3
wrongmoon
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 9.2
Posts: 1

Rep: Reputation: 0
Talking



I am not a very experienced Linux hacker, however i have just managed to get my Alcatel/Thomson Speedtouch 330 (rev4 I think) working on Mandrake 9.2. I didn't have to recompile the kernel.

They key missing link was that the shell script that initialises the modem was using the wrong "modem_run" executable. I.e. it was using /usr/sbin/modem_run whereas it should have been running the new one that was installed in /usr/local/sbin

Maybe this is not exactly your situation, however, maybe this will be relevant.

The complete potted history is as follows:

-- I downloaded the opensource speedtouch driver from sourceforge (1.2beta I think)
-- I compiled it and installed it according to the instruction from doc at sourceforge
-- i configured it using speedtouchconf (can't remember the url, but a web search should find it)
-- I edited /etc/rc.d/init.d/speedtouch and changed where it sets the PATH variable:

#PATH=$PATH:/usr/local/bin <-- this is the original line
PATH=/usr/local/sbin:$PATH:/usr/local/bin

I also changed the line where it calls modem_run to use the 2 firmware files (as recommended by Benoit Papillaut at http://www.mail-archive.com/speedtou.../msg05877.html)

# $MODEM_RUN -v $VERBOSE -m -f $MICROCODE
$MODEM_RUN -v $VERBOSE -a /usr/share/speedtouch/ZZZLP1.eni -f /usr/share/speedtouch/ZZZLP2.eni

This got it working. You may also like to update the version of this script which lives at /usr/share/speedtouch/speedtouch.sh

BTW, I am with Freeserve in the UK.

Best regards Colin
 
  


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
Speedtouch ADSL connection on kernel 2.6.x oh_me Linux - Networking 21 08-14-2004 05:57 PM
Internet connection with speedtouch usb-modem Solzhenitsyn Linux - Hardware 0 07-24-2004 12:48 PM
Can't get ADSL connection to work (Speedtouch USB) modem sleeper_service Mandriva 5 03-31-2004 04:30 AM
Mandrake 10 Internet connection speedtouch cjl224 Mandriva 1 03-27-2004 09:23 PM
SpeedTouch USB Connection Problems... Blake Linux - Hardware 1 05-04-2003 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:46 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