Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi I am trying to install a thomson speedTouch 330 REV 4.0 on a new Mandriva 2006 o/s. I have had it working on 2005 mandriva but can not remember the way I did it. can anyone put the stuff on the link below into simple terms/steps. I have all the files downloaded (speedtouch firmware 3012.zip, br2684ctl, firmware extractor) and have installed the stuff on the cd's. Not sure of things like "make the firmware executable, and use it to split the other file in two?"
Hi ichrispa, my son is trying to get the Modem working on mandriva 2006 and is not sure how to go about it. although the page seems straight forward we are very new to it all. just looking for help to interperate the steps on the http://linux-usb.sourceforge.net/SpeedTouch/mandrake/ page. thanks Adrian
Ahh, ok, listen up. The idea is the following: If you compile all drivers for all devices that exist, the kernel would get huge - and slow. So there are so called modules, little programs that corespond to windows "drivers". You only need to tell the kernel to use the right module in order to speek to the device.
Now to the practical part.
First, copy the firmaware zip and the firmware extracot to your home directory.
now start a konsole. They are all over (and behind, inside, everywhere) in the menues. type "ls" (list). You should see the two file right there, in your home directoty where you placed them.
Next step, unziping. type "zip -d [name of the firmware zip file]", replace the square brackets of course. now the file is unziped (judging from the instructions on the page something.bin). type continue following the instructions on the page (just type the commands).
The following commands install the module ("kernel use this to talk to modem") and the libraries needed by that module. I wont go over everyone, because somebody already went into that trouble on the the mandriva page...
Hi ichrispa, followed your advice and I keep getting this:
[ieuan@tiscali ~]$ ls
Download/ The Linux kernel SpeedTouch Driver on Mandriva.html*
[ieuan@tiscali #]$ zip -d SpeedTouch330_firmware_3012.zip
zip error: Nothing to do! (SpeedTouch330_firmware3012.zip
I am sorry for stopping so abruptly yesterday. The librarians assitant threw me out because "I was hacking the computers again" (using knoppix cause I dont have an account).
Again, what you are dealing with is the following. The kernel (linux) is responsible for administrating all devices. But it is impossible for him to know them all, so he needs a module. Visualize it as a factory owner who has a lot of machines available, but does not know how to operate them. He needs an operator, the module. The operator himself comes with a lot of manuals which tell him more about that machine. These manuals are called libraries (in windows also known as dll's), which in linux have the ending .so. What you have now is this:
USER "Send something" ==> KERNEL "dont know how" ==> ??? ==> MODEM never gets the data
So somebody made the libraries and the driver. great. now you need to put them onto the system. linux is really nice about these things, because all the settings are kept in textfiles. so in theory, all you need to do is copy the module to a place, copy the libraries to another and edit the textfiles so they say "If somebody wants to talk to the modem, kernel, tell this machine operator about it" and "operator, your manuals are at this location". However reallity is a bit more complex, especially because there are so many textfiles and locations involved.
Instead of typing every single thing into the textfiles, there are several "scipts" (lots of commands you could type yourself, but executed one after the other automatically) involved. You execute them with the "install" command, and they do most of the tuning textfiles for you.
Now, the zip problem. I am quite sorry about that, I realize that this is my fault entirely. There are several zipping programs out there, most take the -d as the decompress option. I assumed that was the case.
zip has another program, called "unzip", which does the decompressing. zip, of course, sees that the archive is already compressed and claims that there is "nothing to do!". type "unzip SpeedTouch330_firmware_3012.zip" to decompress it.
The console is actually quite friendly to users in this case, because it offers them a lot of help. An old help archiving system, the manpages, where invented for this purpose and most programs still supply them, even if they where never destined to run in a console. If you ever have any questions about what a program does or what syntax it requires, you can always type "man [command name]" and you will be given a more or less detailed explanation. type "q" to return to the console.
Now to the next step. What is described as the firmware-extractor is a program that graps these two files and turns them into the actual module and libraries by taking them appart. Files in linux have so-called permissions (actually, thats like this with all *ix operating systems, including solaris). There are three types of permissions setable for three types of groups: owner, group and other. Each of them can read,write or execute a file, or combinations of those.
If for example you dont want your son to read your home directories content, you would set its permission to rwx|---|---. readable, writable and executable by you, not by the group, not by others. try "ls -l" to see all the permissions of the files and directories.
Programs are executable, logically, but not by default. This insures that a just downloaded program wont go about executing itself. So you need to set the permission of execute on the firmware-extractor. This is done by using the "chmod", change mode, command. type "chmod 744 ./firmware-extractor" to assign rwx|rw-|rw- to the executable (means you can execute it, everybody else only read and write it). The root user is above these permissions, he can do whatever he pleases.
Now type "./firmware-extractor". "./" means "in this directory". As the page sais, you will get two files ending in ".bin" (=binaries, executables). you can "ls *bin", they should show up.
Now you are ready to copy the module and libraries into the right position. You dont have to bother with the details, if you type the commands as indicated on the webpage, a script is going to take care this for you. For security reasons an ordenary user cant access the directories and settings in questions (in windows they can, thats why every installation can mess up the system), so you have to become root first. that' s why you need to switch user, or "su", first. Without parameters this assumes you want to switch to root, it will ask you for a password. IT WILL NOT BE ECHOED AS YOU TYPE IT, dont worry, just type it and enter. If it fails, try again, make sure you hit the right keys and caps-lock is off. then go on with the "install..." commands as indicated on the page.
The next step is telling the kernel to use the module, but lets take one step at a time.
Has this worked out all right so far?
Last edited by ichrispa; 01-12-2006 at 08:54 AM.
Reason: to interpret, as requested, one must know in detail what is happening. My prior post did not accomplish that
Hi thanks, just going to try it, I worked out the "unzip " but this is as far as I got, here is a screenshot of the problem http://linux.shetlandscenes.co.uk have tried and can't get the file split in to binaries as it says it should.
Last edited by obstinatesod; 01-12-2006 at 10:53 AM.
Got it, 3 days later, I used the firmware and tutorial that I downloaded for SuSE 9.3 instead of Mandriva 2006 and it worked!, I copied the commands to unzip and chmod and it made the 2 binaries I needed. I logged in as root to do it. I will post this in more detail tomorrow when I find out how I did it for others with same problem. thank you icrispa for your help. Adrian
Last edited by obstinatesod; 01-12-2006 at 04:59 PM.