Totovich Posted January 7, 2005 Report Share Posted January 7, 2005 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 :-) Quote Link to comment Share on other sites More sharing options...
ChrisM Posted January 7, 2005 Report Share Posted January 7, 2005 (edited) 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 January 7, 2005 by ChrisM Quote Link to comment Share on other sites More sharing options...
inflexion Posted January 7, 2005 Report Share Posted January 7, 2005 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 Quote Link to comment Share on other sites More sharing options...
Totovich Posted January 8, 2005 Author Report Share Posted January 8, 2005 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. Quote Link to comment Share on other sites More sharing options...
arthur Posted January 8, 2005 Report Share Posted January 8, 2005 (edited) 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 January 8, 2005 by arthur Quote Link to comment Share on other sites More sharing options...
Totovich Posted January 8, 2005 Author Report Share Posted January 8, 2005 Ok, I gonna try this, but are you sure there is no easier way? I'm using the KDE environnement of Mandrake 10.1 And when I go to the configuration tool, it says that you have to copy the mgmt.o file in the usr/share/speedtouch folder. (it is there btw) Quote Link to comment Share on other sites More sharing options...
arthur Posted January 8, 2005 Report Share Posted January 8, 2005 (edited) 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 January 8, 2005 by arthur Quote Link to comment Share on other sites More sharing options...
Totovich Posted January 8, 2005 Author Report Share Posted January 8, 2005 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. Quote Link to comment Share on other sites More sharing options...
mjtickner Posted January 8, 2005 Report Share Posted January 8, 2005 5) does it matter that I'm not logged in as root, but as 'username' while trying to set up this stupid speedtouch?<{POST_SNAPBACK}> Yes, it does matter. This will be why you will be getting the command not found response. I think you will find modprobe.conf in /etc but unless you are root you won't be able to save any edits. Quote Link to comment Share on other sites More sharing options...
inflexion Posted January 8, 2005 Report Share Posted January 8, 2005 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 Quote Link to comment Share on other sites More sharing options...
Totovich Posted January 9, 2005 Author Report Share Posted January 9, 2005 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 Quote Link to comment Share on other sites More sharing options...
inflexion Posted January 9, 2005 Report Share Posted January 9, 2005 ADSL doesnt need a number to dial, just your user name and password, Winblows classes ADSL as dial up as it uses the phone line so asks for a number thats all :) Quote Link to comment Share on other sites More sharing options...
Totovich Posted January 11, 2005 Author Report Share Posted January 11, 2005 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. Quote Link to comment Share on other sites More sharing options...
arthur Posted January 12, 2005 Report Share Posted January 12, 2005 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. Quote Link to comment Share on other sites More sharing options...
Totovich Posted January 15, 2005 Author Report Share Posted January 15, 2005 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.