LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 03-28-2007, 03:34 PM   #1
EverythingIsRelative
LQ Newbie
 
Registered: Mar 2007
Location: I live in a metaphysical plane Created by my subconscious, and Run by my conscious
Distribution: Ubuntu 6.10 Edgy
Posts: 9

Rep: Reputation: 0
How do you Install USB WIRELESS DRIVERS?


I have installed Ubuntu 6.10 Edgy using the alternate method and it installed okay on my Dell Inspiron 1100 Notebook

My rj45 jack is broken on my notebook and I have no built in wireless card.

I would love to use my linksys (wusb54GSC)Wireless USB Network Adapter to link to my router to get internet access.

I put the USB compact wireless adapter on the computer but Ubuntu did not pic it up.... Or at least there were no prompts to new hardware found.I am used to a MS O.S plug and play.

I am a very new to Linux... and it took me 5 days to get my resolution past 600X400
(had to flash Bios with a updated version.)

I am not familiar with the syntax of linux as of yet, though I did manage to to a lot of it trying to get my Screen to settle at 1024X768

But this is about as far as I have gone.

I have down loaded the file ndiswrapper-1.8.tar.gz AND
rt2400-1.2.2.-b3.tar.gz

On to a MS WINDOWS Machine and put them on a thumb drive
As I was told that these drivers were the ones I needed to use my Linksys USB 54G network adapter on linksys Ubuntu distro

I have placed those files from the thumb drive to my notebooks Ubuntu desktop and thats where I am stuck at....

How do I get those drives to install? There are no .EXE extensions that I am used to seeing in M.S WIN syntax.

I have Been trying to complete these instructions but have gotten stuck. Can anyone help a very tired NEWB. I would be so great full!

Can someone explain step by step instructions on how to get these drives up
and going.

I don,t know how to compile the folder to the root nor how to get to the root

Am I supposed to be in the terminal or manuver through the windows to the root?

They say unzip the files with a Code command but how do I do that? And where?

Should I use the terminal to get there?

Thank you very much!

Last edited by EverythingIsRelative; 03-30-2007 at 02:57 PM.
 
Old 03-28-2007, 03:40 PM   #2
SactoBob
Member
 
Registered: Jan 2007
Location: Sacramento
Distribution: Ubuntu 6.10
Posts: 63

Rep: Reputation: 15
Joey,
You should only post a question once in a single forum.
If you go to ubuntuforums.org and search for your wireless card, you will see quite a lot of info on how to get it going in Ubuntu.
 
Old 03-28-2007, 03:55 PM   #3
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
http://www.linuxquestions.org/hcl/showcat.php/cat/144

Hi there and welcome to Linux.
Firstly, the link above is to the Hardware Compatibility List here on LQ (HCL) which you can get to by the link atop this page. There is a model # 54GS mentioned there, and a few links to some instructions for the ndiswrapper stuff, which I have no first hand experience with at all.

http://www.linuxquestions.org/questi...d.php?t=538910
The above link is to a thread in which I have posted the basics of building drivers from extracted packages and installing them.
As for the extraction itself, read the manual page for the TAR command by typing 'man tar' in a console window. The command you have above would indeed be run in a console/terminal window. Place the package into the folder where you want it using your file browser.; If your system has ARK or a similar extractor/archiver program installed, you can just right click the package and 'Extract Here...' (or from a console which is more complicated) and then open a terminal. In the terminal, you navigate using 'cd ..' to go up a directory, use 'dir' to see the contents, and 'cd directoryname' to move into a deeper directory.
As for getting root permissions, the 'su' command is used. If you are a member of the SUDOers group, you can usually use 'sudo command' as you have tried to do with apt-get.
To use su, in a console type su, and then when it asks, enter the root password for your system.Now you have the permissions of Root, the system itself. You can navigate anywhere, copy, delete, and screw up the system LOL.. Be careful doing things as root, because you actually can mess things up.

As for whatever the kernel is supposed to 'match on your system' it is likely the 'kernel headers' and also 'kernel-sourcecode' which may or may not be installed on the system. If not, the command as you have written above is pretty close to the command telling apt-get (your system's package manager/downloader/updater) to go online to the Ubbuntu online repository and download something, in your case, the kernel headers..

OK, That's a start! Let us know how you make out, and if you have more specific questions, ask away or browse the site, and check the Ubuntu forum (I think there is one). Google is also VERY helpful with many Linux issues, as well as the manual pages. To use the manual pages, as an example if you want information on the 'su' command, type into a console 'man su' and it qill show the manual page for su. Use Spacebar and B to go forward and backwards, and Q to exit back to the terminal.

Last edited by GrapefruiTgirl; 03-28-2007 at 03:59 PM.
 
Old 03-28-2007, 06:06 PM   #4
EverythingIsRelative
LQ Newbie
 
Registered: Mar 2007
Location: I live in a metaphysical plane Created by my subconscious, and Run by my conscious
Distribution: Ubuntu 6.10 Edgy
Posts: 9

Original Poster
Rep: Reputation: 0
Okay,thanks

Last edited by EverythingIsRelative; 03-30-2007 at 08:08 AM.
 
Old 03-28-2007, 06:12 PM   #5
EverythingIsRelative
LQ Newbie
 
Registered: Mar 2007
Location: I live in a metaphysical plane Created by my subconscious, and Run by my conscious
Distribution: Ubuntu 6.10 Edgy
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks GrapeFruitGIrl, I will digest the read and hopefully it will work for me. I will keep you all posted in case anyone else may find this helpful...


Last edited by EverythingIsRelative; 03-29-2007 at 08:40 PM.
 
Old 03-28-2007, 09:13 PM   #6
EverythingIsRelative
LQ Newbie
 
Registered: Mar 2007
Location: I live in a metaphysical plane Created by my subconscious, and Run by my conscious
Distribution: Ubuntu 6.10 Edgy
Posts: 9

Original Poster
Rep: Reputation: 0
Edited:Too long:

Last edited by EverythingIsRelative; 03-30-2007 at 08:07 AM.
 
Old 03-29-2007, 10:33 AM   #7
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Rep: Reputation: 15
Quote:
*************************************** END OF INSTALLATION INSTRUCTIONS****************************************

LOL

OKAY, THIS SEEMS RIDICULIS.

I COULD HAVE WRITTEN A PROGRAM IN C+, VB,JAVA, C# OR A WEB PAGE BY THE TIME I INSTALL A DRIVER FOR A SIMPLE USB WIRELESS ADAPTOR

I CAN SEE HOW LINUX IS NOT VERY POPULAR... WITH THE MAIN STREAM.... I GOT TO ADMIT, I LIKE ALL OF THE O.S OUT THERE
FROM MICROSOFT, TO MAC, TO LINUX (ALL 1,000,000 VERSIONS)

BUT THIS CAN BE A MAJOR B*TCH TO DO FOR EVERY HARDWARE YOU WANT TO INSTALL... MY WORD IT WOULD TAKE ME A MONTH TO INSTALL ALL THE DRIVERS FOR ALL THE HARDWARE I HAVE....

THIS IS THE BEAUTY OF PLUG AND PLAY IN MICROSOFT WINDOWS. NOT KNOCKING LINUX AT ALL BUT YOU GOT TO GIVE CREDIT WHERE CREDIT IS DUE.

ANYWAY DOES ANYONE KNOW A SHORT CUT TO ALL THIS?

Hi there.
I think that is the beauty of linux. Unlike MAC, and Windows, you actually have to do things yourself on linux, and in return you get a lot back from the OS.
Next, from what I can figure out from your problem, I think you need to use a USB modem for internet access, right?
First things first, you don't need to install drivers in linux, (not necessarily) but you do need to tell your system how to behave with the hardware.
I started off with FC 2, and I successfully used a nokia phone as my modem via the PL-2303 cable, and trust me, I didn't need to install any drivers at all.
All I did was I edited the configuration file that your system refers to for knowing how a modem works, and I was done. (that file is /etc/wvdial.conf). So, I'd advise you to google for your kind of modem, and trust me, you'll find it easily. You'll get the instructions about what to do with the wvdial.conf file so that your modem works well. You'll also need to know the DNS server IP's of your ISP, and you'll have to add them to the file /etc/resolv.conf.
After that, linux is not going to offer any problems to you, just some challenges, that, if you overcome, you'll feel awesome.
As for the rest, I'd advise you to go for Suse 10.x, it's the most friendly version of linux around. In fact, I had installed Suse 10.0 on my machine after FC2, and it configured my phone modem accurately, all on its own. Its the most GUI based linux around.
And remember, that people install linux to learn more about computers, and to experiment. In return, linux offers you incredible agility, power, usability and customizability. And once you get things going, you'll fall in love with it.
So, my advice would be, relax, and google well. It's going to pay off. Even I spent 10 days trying to figure out how to make my modem work on FC, and when it did work, I didn't feel like letting go of my computer for hours.
Hang in there!
All the best!

(you can also google for gammu and install it if you're interested in interacting with phones.)

Last edited by ashesh0326; 03-29-2007 at 10:37 AM.
 
Old 03-29-2007, 10:53 AM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Wow, long post EverythingIsRelative!
But I'll make a start...
Quote:
Is there a similar way to check the Kernel version?
(I am pretty sure that I have 2.4.26)
Yes, the command you want is uname -a (in a terminal!)

Quote:
I will try terminal... Okay, this is what I got out of it.

guts@Mighty-Guts-Linux:~$ sudo apt-get install linux-headers-'uname -r'
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-headers-uname -r
guts@Mighty-Guts-Linux:~$
Great.. Now I typed it exactly as it was written in the instructions.
No, you typed "sudo apt-get install linux-headers-'uname -r'"

Notice the single quotes ' ' around 'uname -r'.

These need to be backquotes, like this `uname -r` You do have this on your keyboard - you have used it correctly in other parts of your post.

Yeah, linux is picky!. The backquotes mean "substitute the output of the command in backquotes".
So if you did uname -r in a terminal, you might get a result of 2.6.15.28-386
so the command sudo apt-get install linux-headers-`uname -r` gets translated into sudo apt-get install linux-headers-2.6.15.28-386

Basically, that command is to fetch the linux kernel headers for whatever kernel version you are currently running. Quite neat really.
Quote:
So how is it supposed to be done?!!!!! I don't get it? What am I doing wrong?
I have given you some pointers above. Nothing is going to work until you have the kernel headers installed, so fix that up first & try again, you'll get there. Try not to get angry - it's bad for your health & makes me sad.
 
Old 03-29-2007, 11:14 AM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
PS: following instructions from webpages can be tiresome, especially when it is easy to make mistakes when typing cryptic commands. I am using KDE (but I think the same trick works in gnome). Have both the webpage and your terminal visible. If you highlight the command in the webpage, you can then paste it into the terminal with a middle-click (this is so much nicer than windows highlight - copy -paste). Then you just press return to execute it.

You said earlier that you thought your kernel was 2.4.26. That is very old, which means you are probably using an OLD version of ubuntu, and you would have a much happier time if you installed a more recent version (I recommend Dapper 6.06.1LTS). It is a free download from http://www.kubuntu.org/download.php
 
Old 03-29-2007, 07:15 PM   #10
EverythingIsRelative
LQ Newbie
 
Registered: Mar 2007
Location: I live in a metaphysical plane Created by my subconscious, and Run by my conscious
Distribution: Ubuntu 6.10 Edgy
Posts: 9

Original Poster
Rep: Reputation: 0
* the version I have of Ubuntu is 6.10-the Edgy Eft
* Gnome desktop I am using is Version 2.16.1
* build date 10/02/2006
* kernel 2.6.17-10-generic #2

I guess the first question would be is:

Do I even have the right drivers?

I have downloaded ndiswrapper-1.8.tar.gz

as I was told that this was what I needed.
I also Downloaded
rt2400-1.2.2.-b3.tar.gz
As I read this driver would work with the Wireless USB network adapter.

I noticed that Ubuntu vs.6.10 has the
ndiswrapper-common 1.18-lubuntu2
ndiswrapper-utils 1 1-5
ndiswrapper-utils-1.1
ndiswrapper-utlis-1.8

SO, do i still need to install ndiswrapper-1.8.tar.gz?

****** Progress... =)

*** thanks for that tip of the " 'uname -r'" !
It worked flawlessly with the proper (`) character!

now to step 2 of the directions.

When I typed the synatax:
sudo apt-get install linux-headers-`uname -r`
I got this =)

Reading package lists... Done
Building dependency tree
Reading state information... Done
Linux-headers-2.6.17-10-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

The next step is supposedly supposed to be to:

Make sure there is a link to the kernel source from the modules directory.
*okay, how do I do that?

Last edited by EverythingIsRelative; 03-29-2007 at 08:34 PM.
 
Old 03-29-2007, 09:42 PM   #11
jasohl
Member
 
Registered: Oct 2006
Location: Seattle, Washington
Distribution: Gentoo, LinuxMint, Arch Linux
Posts: 99

Rep: Reputation: 18
Code:
have downloaded ndiswrapper-1.8.tar.gz

as I was told that this was what I needed.
I also Downloaded
rt2400-1.2.2.-b3.tar.gz
As I read this driver would work with the Wireless USB network adapter.

I noticed that Ubuntu vs.6.10 has the
ndiswrapper-common 1.18-lubuntu2
ndiswrapper-utils 1 1-5
ndiswrapper-utils-1.1
ndiswrapper-utlis-1.8

SO, do i still need to install ndiswrapper-1.8.tar.gz?
If ndiswrapper is already included with Ubuntu you don't need to use a tar.
Verify that it is installed.
You can easily check if installed by running ndiswrapper in a terminal as root. (Or su -c 'ndiswrapper' as normal user.) Should output usage info:
Code:
jacob-linux:~ # ndiswrapper
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile        Install driver described by 'inffile'
-d devid driver   Use installed 'driver' for 'devid'
-e driver         Remove 'driver'
-l                List installed drivers
-m                Write configuration for modprobe


where 'devid' is either PCIID or USBID of the form XXXX:XXXX
Then you need to get the windows drivers for the device.

Install using these instructions from the ndiswrapper wiki.

jasohl

p.s. long posts might be better broken up with code blocks or otherwise. makes them easier to read. just a thought
 
Old 03-30-2007, 11:30 AM   #12
EverythingIsRelative
LQ Newbie
 
Registered: Mar 2007
Location: I live in a metaphysical plane Created by my subconscious, and Run by my conscious
Distribution: Ubuntu 6.10 Edgy
Posts: 9

Original Poster
Rep: Reputation: 0
Great help jashol, Tedegar, ashesh0326, GrapefuitTgirl! I am very thankful 4 all your support.

Following the help and the clearer instructions of all of you I have managed to get to step 2.

After the executing the instructions from joshol (ndiswrapper in a terminal) I got this output:
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile Install driver described by 'inffile'
-d devid driver Use installed 'driver' for 'devid'
-e driver Remove 'driver'
-l List installed drivers
-m Write configuration for modprobe
-da Write module install configuration for all devices
-di Write module install configuration for all devices
-v Report version information

Where 'devid' is either PCIID or USBID of the form XXXX:XXXX

***
In the installation instructions it says:

To find the drivers you need and then install them using:

ndiswrapper -i filename.inf
I take it to mean that "filename.inf" means the name of the driver inf. file you are trying to install. Correct?


Ok, so I have the inf and sys files on the cd and on my desktop.
SO I opened up a terminal (Applications>Accessories>Terminal)
and I switched to ROOT
From there I typed ndiswrapper -i WUSB54GSC.inf
and i get an error:
couldn't copy WUSB54GSC.inf at /usr/sbin/ndiswrapper-1.8 line 144
I figured this is because it doesn't know where the file is so i edited the line to this:

ndiswrapper -i /media/cdrom0/Drivers/WUSB54GSC.inf
It returns the output of:
Installing wusb54gsc
but when I do a
ndiswrapper -l it lists the driver as inavlid driver!

Am I doing something wrong?
 
Old 03-30-2007, 12:55 PM   #13
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Rep: Reputation: 15
EverythingIsRelative
You're most welcome. I googled about your problem a bit, and came up with some links.

I think these links can be of help:
http://ndiswrapper.sourceforge.net/m...roubleshooting

http://ndiswrapper.sourceforge.net/m...index.php/List

And this link: http://www.linuxquestions.org/questi...hreadid=339950 provides some information about updating your version of ndiswrapper.

I think you need to try and update it and see what happens. I reckon that since you're using the ndiswrapper that had been included in your Ubuntu disc, it's an outdated version now. I think that updating it to the latest version might do away with the invalid driver problem.

You can download the latest version here: http://sourceforge.net/projects/ndiswrapper/ or update otherwise.

I hope this helps!
 
Old 04-08-2007, 02:18 AM   #14
ashesh0326
Member
 
Registered: Jan 2007
Distribution: Suse 10.0, FC 6
Posts: 93

Rep: Reputation: 15
Well, did it work?
 
Old 04-09-2007, 12:09 PM   #15
EverythingIsRelative
LQ Newbie
 
Registered: Mar 2007
Location: I live in a metaphysical plane Created by my subconscious, and Run by my conscious
Distribution: Ubuntu 6.10 Edgy
Posts: 9

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by ashesh0326
Well, did it work?
Hey Ashesh0326 Thanks for asking. I was actually at the beach giving my brain a break from the stupid feeling I feel for not being able to put something as simple as a driver for a usb network adapter to work! But I am back now and will begin my Linux journey once again. BY THE WAY.... has anyone heard of the merger or "new partnership with Microsoft and Linux???! WOW whats up with that?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cant Find Drivers For My Dynex Wireless USB Adapter For Wireless Internet.... sent17inel Linux - Hardware 2 02-15-2007 12:25 AM
How to install drivers for Netgear MA101 USB wireless? Cup of Squirrel Linux - Software 2 12-29-2005 09:14 AM
Linux drivers for Wireless USB Adapter QzarBaron Linux - Wireless Networking 9 06-23-2004 11:28 PM
Netgear Wireless USB Adapter Drivers? linkarroway Linux - Wireless Networking 0 02-20-2004 08:53 AM
Wireless Usb woes using the WLAN drivers BHanrahan Linux - Wireless Networking 2 11-27-2002 06:48 PM


All times are GMT -5. The time now is 04:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration