LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-31-2008, 07:47 PM   #1
tbbmw
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Rep: Reputation: 0
New to Linux, need to install a wireless card on my Compaq E500


New to Linux, need to install a wireless card on my Compaq E500. I have no idea where to begin, but I was successful in loading Debian GNU/Linux 4.0r2. I was really impressed with all that it offers. I would really like to get my Netgear 54mbps Wireless card WG511 v2 installed. I really need step by step. Do I need to use the command line? I am eager to get started...
 
Old 01-31-2008, 09:43 PM   #2
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
Well tbbmw, the unfortunate news is that you have one of the many wireless cards that aren't Linux friendly. The good news is that someone else (a lot of people actually) have already fought through your situation and made a solution. The answer is ndiswrapper, a tool that allows you to use your windows driver for the card in Linux. Below is the list of ndiswrapper cards, which yours is a part of. Take a look at the Marvell chipsets, which your card is based upon.


NDISwrapper wiki


First, download ndiswrapper from here

Then, you can take one of two routes: either you find the driver for your wireless card that came with it (or with your computer),
or you go to the URL above and find the drivers there.

What distribution are you using? I can't take you any further step by step unless you let me know that :-P.
 
Old 01-31-2008, 10:37 PM   #3
tbbmw
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
How would I find out what distribution I am using. Trust me... I am really new to this....
I did a little research to find the Linux version that was compatible to my hardware. I got that successfully loaded (to my surprise) today. If you point me in the right direction, I can provide that information.
 
Old 01-31-2008, 10:49 PM   #4
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
The distribution you are using is the name or type of linux you installed on your computer. Should be something like Ubuntu or PCLinuxOS or OpenSUSE. Where did you download your linux from and what was it called? That's what I'm asking for here, as is anyone who asks what distribution, or distro, you are using.
 
Old 01-31-2008, 10:58 PM   #5
tbbmw
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Debian GNU/Linux 4.0r2. From the www.debian.org web site.
 
Old 01-31-2008, 11:05 PM   #6
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
Edit: Sorry, I completely spaced and didn't realize that you had already supplied that information (Debian 4.02) X-D.

There are no specific instructions for Debian, and it turns out that there isn't a Debian specific package for NDISwrapper, which means that we'll have to do this the (not too) hard way. Download the source tarball (the nickname given to compressed files of the *.tar.gz or *.tar.bz2 extension) from here

Now, go to a command prompt (either by pressing Ctrl+Alt+F2 in KDE or selecting the GNOME terminal emulator from the application menu in the bottom left corner of your desktop) and change directories to wherever the source tarball is saved, using the cd command like so:

cd (directory where the tarball is, probably /home/username/Desktop).

Then, you do what is called untarring, or extracting, the file like so:

tar -xzf ndiswrapper1.51.tar.gz (or whatever version you get, use the name of the file you downloaded).

Now, this should have created a new directory called just ndiswrapper1.51, the name of the file you downloaded without the .tar.gz extension. change into said directory using cd again.

Once there, you will first want to READ the README and INSTALL files. Always always ALWAYS read these files before you compile/install anything, as they often contain great info about the program you are about to use and will usually answer questions you might otherwise have to ask here.

It should be fine to then issue the configure command, which will generate things called Makefiles, which tell your computer how to compile the program correctly. It's easy because you only have to tell you comp to do it, not how to :-P. So type

./configure

and it should spit out a lot of stuff onto your terminal. If nothing goes wrong (i.e. the output doesn't say something like missing package so and so) then we are go for compilation. Type

make

to compile your very own version of NDISwrapper. This might take a minute or two, so be patient. Once all the numbers and flashy letters stop scrolling by, and the last few lines of output don't say ****ERROR****, then you got a good binary and its time for the next step. Change to super user (root) by issuing the

su

command and typing your root password. Note that that is your root password and definitely should be different from your user password.
Then, issue

make install

and NDISwrapper should be put where it wants to go. Once you have gotten this far, congratulate yourself! You've just installed a program from source code, a not so insignificant accomplishment. Please reply when you have completed these steps successfully and we'll continue.

Happy Hunting :-)
 
Old 01-31-2008, 11:30 PM   #7
tbbmw
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
I was doing pretty good until I got to......

.... Do I go back to the CTRL-ALT F7 to read these files or can I display them from the terminal?

"Once there, you will first want to READ the README and INSTALL files. Always always ALWAYS read these files before you compile/install anything, as they often contain great info about the program you are about to use and will usually answer questions you might otherwise have to ask here."

Then..... I could not execute the "./configure" command....

"It should be fine to then issue the configure command, which will generate things called Makefiles, which tell your computer how to compile the program correctly. It's easy because you only have to tell you comp to do it, not how to :-P. So type

./configure"
 
Old 01-31-2008, 11:54 PM   #8
tbbmw
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Also the ./configure returns a message "No such file or directory"
 
Old 02-01-2008, 12:02 AM   #9
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Quote:
Originally Posted by gankoji View Post
Well tbbmw, the unfortunate news is that you have one of the many wireless cards that aren't Linux friendly.
DO NOT INSTALL THE NDISWRAPPER. That is bad info you are getting and will not solve your problem!

I have good news! The wg511 is fully linux compatible. I have the same card. It uses the arthuros chip. Sorry if I misspelled the name. See the following link to prove my point:
http://toys.lerdorf.com/archives/15-...and-Linux.html

I use the madwifi driver to run my wireless card.
http://madwifi.org/

Since you have debian, see if the package is available in your package manager.

Or you can follow the instructions here on installing on debian distros here
http://madwifi.org/wiki/UserDocs/Get...wnloading.debs

Updated:
If you want to install anything from source follow the simple instructions from indienick here:
http://www.linuxquestions.org/questi...l-.tar-615175/
But! as gankiji had stated, make sure you read the README/INSTALL info before you compile for several reasons: Not all source compiles the same way. Don't just blindly try to compile your download without reading that which is capitalized. Programs do not install as they do in windows. You will have to adapt to a different way.

Last edited by okos; 02-01-2008 at 12:34 AM.
 
Old 02-01-2008, 12:22 AM   #10
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Once you get it installed, read all of the documentation on its usage.
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
 
Old 02-01-2008, 12:49 AM   #11
tbbmw
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
Okay, I am getting to the point where I load the make install command and the message is that I have to set my "KERNALPATH"

This is what I get;
/bin/sh: line 0: CD: /lib/modules/2.6.18-6-686/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.18-686/build is missing, please set KKERNALPATH. Stop
 
Old 02-01-2008, 01:07 AM   #12
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
To make things easy for I do believe in the kiss method (keep it simple stupid), just add the following to your debian repository.
# Stable
deb ftp://ftp.au.debian.org/debian stable main contrib non-free
deb-src ftp://ftp.au.debian.org/debian stable main contrib non-free

Then use your package manager to install madwifi.
Now for the big question... how do you add it to your repository?
Well... I forgot. I used debian at one time but that was over a year ago.

Ok... ok... I did your homework for you.
See the link for adding to your debian repository.
http://linuxappfinder.com/addrepo

In other words add the following code to /etc/apt/sources.list
Code:
deb ftp://ftp.au.debian.org/debian stable main contrib non-free
deb-src ftp://ftp.au.debian.org/debian stable main contrib non-free
For any debian or ubuntu users out there, please correct me if im wrong.
 
Old 02-01-2008, 02:09 AM   #13
gankoji
Member
 
Registered: Nov 2007
Location: Southern California
Distribution: Slackware-13.0 x86_64, Slackware 12.2, slackware64-current
Posts: 225

Rep: Reputation: 35
Hmm, well it seems I have been trumped. Thanks okos for providing the linux compatibility info. I should have stated before going on the great NDISwrapper journey that it is, indeed, a last resort. Sorry for not taking more time to do my homework before pretending to know things :-P.
 
Old 02-01-2008, 04:30 PM   #14
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,129
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by tbbmw View Post
Okay, I am getting to the point where I load the make install command and the message is that I have to set my "KERNALPATH"

This is what I get;
/bin/sh: line 0: CD: /lib/modules/2.6.18-6-686/build: No such file or directory
Makefile.inc:66: *** /lib/modules/2.6.18-686/build is missing, please set KKERNALPATH. Stop
Make sure you have the linux-headers and linux-kbuild packages installed before you try to ./configure or make / make install anything.

The packages you need will look something like linux-headers-2.6.18-6-686 and linux-kbuild-2.6.18 to match your running kernel.
 
Old 02-01-2008, 09:32 PM   #15
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
tbbmw,
Please let us know on your progress.
okos
 
  


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
I can't install FC of Mandriva on Compaq E500 dom.leo Linux - Laptop and Netbook 3 03-16-2006 03:19 PM
Blank screen on Compaq Armada E500 selah Linux - Laptop and Netbook 2 01-23-2006 06:27 PM
compaq armada e500 killermilleR Linux - Laptop and Netbook 1 10-22-2004 12:42 PM
compaq armada e500 killermilleR Linux - Laptop and Netbook 0 10-14-2004 08:37 AM
Compaq Armada e500 rh_walt Linux - Laptop and Netbook 7 01-10-2004 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:49 PM.

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