Jump to content

Speedtouch USB [solved]


Totovich
 Share

Recommended Posts

Ok, I just installed Mandrake 10.1... for the first time ever.

So I really don't know sh*t about Linux, but I want to learn it.

First problem is: How to install the speedtouch usb driver, so I have internet?

 

I read many topics about this, but they were all written for the non graphical user environnement.

So, very easy and slow now: How can I get this to work while using KDE environnement (graphical) on mandrake 10.1.

 

I have the drivers, and I also have the mgmt.o file in usr/share/speedtouch directory.

 

(also tell me how to untar etc, what program I need to untar and so else.)

so, very slowly.

 

Really tanx for the patience you gonna have with me :-)

Link to comment
Share on other sites

Welcome aboard the board...

 

If you have a speedtouch 330 check out this thread

here at MUB

If you have one of the speedtouch modems with an ethernet connection - use that instread of usb, so much less hassle, and no drivers required.

 

Have a look at this thread on MUB to install tar.gz's

 

Also, you'll definately want to have a look here at MUB to learn about urpmi ... note, the Easy Urpmi site can be found here also

 

And an overall excellent web site check this site out

 

from aRTee

 

Good luck, post back with any problems.

Edited by ChrisM
Link to comment
Share on other sites

welcome aboard :)

 

firsrtly make sure that you do actually read those links cause thats what got my modem working in MDK

 

secondly the commandline is you friend in linux as it tells you whats going on rather then nothing happening with a GUI.

 

Have fun but remember to read, then re-read as ive often missed things by reading stuff once, oh and by the way if you didnt know use this www.google.com/linux for seaching as its good at showing relevant stuff

Link to comment
Share on other sites

I untarred the speedtouch.tar.gz file, and it created a directory.

Then I had to copy the firmware zipfile into that directory.

Then I had to edit the speedtouchconf.sh file, but I couldn't find such a file.

Maybe it wasn't there because I have no speedtouch 330, but just a speedtouch USB modem?

So I downloaded different firmware.

But when I take a look into the zipfile of the 330, I can't find a speedtouchconf.sh neither.

Link to comment
Share on other sites

I'll repost my HOWTO from http://mandrakeusers.org/index.php?showtop...ndpost&p=109456

 

I have used the speedtouch USB on Mandrake 10 CE with no problem. I am sorry to have missed this thread as I was busy recently, but if anyone PMs me the details of his/her problem I'll do my best to help.

 

I used the USB speedtouch. Mandrake servers (if you set them up with EasyURPMI) have a speedtouch rpm. Install the rpm, then edit the files as I show them below, using a text editor.

 

My setup: kernel 2.6.3-7mdk

VIA USB controller (this is probably irrelevant)

and the "green frog"/stingray Alcatel speedtouch USB :)

other versions still use the same firmware, i believe.

 

there's no nice GUI frontend for this thing unfortunately, but editing text files should be easy enough :)

 

modprobe.conf (RELEVANT LINES ONLY, you will have additional lines)

alias tty-ldisc-3 ppp_async
alias ppp-compress-26 ppp_deflate
alias tty-ldisc-13 n_hdlc
alias ppp-compress-21 bsd_comp
alias speedtch off
alias ppp-compress-24 ppp_deflate
alias tty-ldisc-14 ppp_synctty
alias char-major-108-* ppp_generic

/etc/ppp/options:

lock
noipdefault
persist
noauth
usepeerdns
defaultroute

/etc/ppp/pap-secrets

# Secrets for authentication using PAP
# client	server	secret 	 IP addresses

'username' * 'password' *

replace 'username' with your username, ditto with the password

 

/etc/ppp/peers/adsl

noauth
noipdefault

#these are MY vpi and vci numbers, use your own ISP's numbers =)
pty "/usr/sbin/pppoa3 -e 1 -c -vpi 0 -vci 100"

sync
noaccomp
kdebug 1
nopcomp
noccp
novj
holdoff 4
maxfail 25
persist
usepeerdns
defaultroute
user "username"

 

Mandrake Firewall: DISABLED (the firewall only works with eth0, not ppp0 which is what speedtouch is using)

 

Merely installing the speedtouch rpm and running the internet wizard gives me all of these configuration files, I did not write them from scratch. I just edited them for the VPI and VCI numbers. Just select "skip" when asked for the firmware, and "do not start connection at boot", and don't bother attempting to connect right away.

 

Now, to connect, I run this script(as root), which is the same as typing these commands one by one(except fot the first line):

#!/bin/bash
modem_run -m -f /path/to/alcaudsl.sys
pppd call adsl
sleep 4
ifconfig
iptables -A INPUT -i ppp0 -p tcp --syn -j DROP

now be sure to change /path/to/alcaudsl.sys appropriately. the 5th line should print out the ifconfig, if there's a ppp0, then you're connected. The last line is my firewall. Rather rudimentary, but it suits me fine for now. I'll try to improve the script when I have the time, for SSH and stuff. Suggestions for other improvements are welcome.

 

ps. you can start the connection at boot by running this script at boot, using .xinitrc or that nice gnome starter or something. there are many choices so I guess I'll just write a HOWTO for only one method.

 

HTH,

arthur

Edited by arthur
Link to comment
Share on other sites

in the last command snippet, replace alcaudsl.sys with mgmt.o, as in

 

modem_run -m -f /usr/share/speedtouch/mgmt.o

 

the lights should now flash in orange->flashing green->green. then type the rest of the commands, and you got internet!

 

I'm sorry that it's not so easy, but different ISPs have different settings, and unfortunately us linux users are neglected when they make the "idiot-proof" installers for Windows. Broadband through cable is easier for Linux.

 

Since nobody has done so, I think I'm going to create a GUI tool for setting this up, once i finish learning C and GTK. :) Unfortunately I don't use speedtouch anymore...but I'll do my best.

Edited by arthur
Link to comment
Share on other sites

tanx for you help in first place, but

1) Wehre do I get the right rpm (I downloaded 1, but not sure if it was the right one

 

2) I still can't find modprobe.conf (I searched my harddisks, and no results)

 

3) the two green lights of the modem are on, and stable (so not on/off/on/off [i don't know the word :-)])

 

4) this command is not found: pppd call adsl

 

5) does it matter that I'm not logged in as root, but as 'username' while trying to set up this stupid speedtouch?

 

again tanx for you time.

Link to comment
Share on other sites

if that dont work for then do exaclty what i did as im using the frog modem :)

 

http://prdownloads.sourceforge.net/speedto...tar.gz?download

 

get the attachment

Open a new terminal

su

with first download untar it

copy the whole zip into the new directory then cd into it

then edit the speedtouchconf.sh file and comment out the following lines (by putting a # at the start of the lines that you want to comment out)

 

# if [ -z "${USB_TYPE}" ]; then

# echo $"No USB Bus found!" | tee -a $LOGFILE

# error=`expr $error + 2`

# fi

 

id use vi so id put this

vi speedtouchconf.sh

i (this is insert mode so move down to lines that are identical to the ones above and the #)

when you have done

Esc :wq (this ends insert then saves and quits)

./speedtouchconf.sh

 

now follow the instructions as it says and set it to start at boot, jobs a good one (Y)

KQD6_R204.zip

Link to comment
Share on other sites

ok, I'm going to try this out as soon it's clear the previous way didn't work.

For now, I reached the point that the ifconfig is printed out.

Now the last problem is:

how can I make the script?

And how can I make it set as boot?

and what does .xinitrc mean?

as what do I have to save a script?

 

and last but not least:

the adsl connection software asks in WINDOWS for a dial number. (I know the number (it's like p8,xx). Isn't such a code necessary in linux?

 

So remember for this post: everything is set up, but now I have to make the connection.

 

again, tanx

Link to comment
Share on other sites

Inflexion sent me a complete howto, but a question for other people too:

Has anybody tried this one?

Quick-ADSL-v1.0.tar.gz

I read it is the easiest way to set up a speedtouch connection, but couldn't try it out yet because I have cable during the week.

 

if this one works, let me know. I gonna try those ways out on friday if they work.

Link to comment
Share on other sites

those numbers in WINDOWS are important. they're not really the phone number, but the vci and vpi numbers. so write them down, and put them in when the configuration needs them.

 

nano is much easier to use than vi, just CTRL-X will let you save and exit.

 

nano /etc/ppp/peers/adsl

 

then put in your vpi and vci numbers (look at my post with the code snippets). and post what you get in ifconfig here.

Link to comment
Share on other sites

now I have this problem: I kn ow I'm getting very close, but when typing ./speedtouchconf.sh,

I'm getting this error:

 

************************************************

* *

* 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.

Using speedtouch-1.3-sgp

Error: Cannot find bc.

The kernel speedtch module is loaded. This is not

compatible with the speedtouch usermode driver.

Removing the speedtch module

microcode is KQD6_R204.zip

./speedtouchconf.sh: line 1: bc: command not found

PPP version 2.4.2 okay.

Linux kernel version 2.6.8 okay.

ERROR:

Some required files are not installed:

bc

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:

/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin

 

What do I have to do now? Knowing that I don't have internet yet.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...