theycallmebruce

Group: Members
Posts: 6
Joined: Jan. 2007 |
 |
Posted: Jan. 03 2007,13:39 |
 |
I am a bit of a Linux newbie, so please bear with me. This will be a pretty long post, but believe me it's the abbreviated version.
I downloaded DSL and did a hard disk install on a 500 MHz Toshiba laptop with 128 MB RAM. That went very smoothly and I was impressed with the speed (the other distributions I tried were unusably slow).
Next task was to get the Netgear MA401 PCMCIA 802.11b card working. My wireless network uses WPA-PSK.
After much reading of documentation and googling, I think I have figured out what I need to do, but I'm a bit stuck.
To get WPA working, I need wpasupplicant. I enabled apt-get and used it to download the wpasupplicant debian package.
Now, the MA401RA card which I am using has a Prism 2.5 chipset. By default, DSL uses the orinoco_cs driver for this card.
Unfortunately, wpasupplicant does not support this driver. For the Prism 2/2.5/3 chipset, it supports ndiswrapper, linuxant driverloader, and the hostap driver. I figured I'd go with the hostap driver.
First I tried using apt-get to download a debian binary package of the hostap driver. I was able to load that driver, but it was version 0.0.4 which does not support WPA.
I decided to compile the driver from source, so I added the gcc+libs and kernel source myDSL packages, then downloaded the stable hostap-driver v0.4.9 source from the hostap homepage (http://hostap.epitest.fi/).
This is where I am stuck. I cannot build the driver. When I run make in the source directory, first it selects the wrong make target (there are two: 2.4 and 2.6) because of a missing Rules.make file in the kernel source.
If I do a "make 2.4", I get "No rule to make target `modules'. If you look at the 2.4 target in the makefile, it calls another make command which includes the kernel source directory with -C, and with parameter SUBDIRS=$(PWD)/driver/modules/ and target "modules".
Please help!
I looked at the kernel source directory, and it seems a bit sparse. There is just an include directory and a documentation directory. Is this right?
When I get this going I plan to write a detailed howto so other newbies can get this working...
|