PDA

View Full Version : Error when running makefile for hostap-driver-0.1.3



torbu
05-06-2004, 03:42 PM
Hi Experts,

I'm trying to compile the hostap-driver-0.1.3 package on my Toshiba Tecra M1 in order to get the Wireless network to work. I downloaded the package from here (http://hostap.epitest.fi).

The makefile of this package searches for a file "Rules.make" in /usr/src/linux in order to differentiate between Kernel version 2.6 and 2.4. If there is no such file then it assumes Kernel 2.6, which already is the first bug:

I have installed Kernel 2.4.24-xfs using Knoppix 3.3, which does not have a file "Rules.make" in /usr/src/linux, but also isn't Kernel version 2.6 :( Can somebody please post the appropriate "Rules.make" file for this distribution? Thanks.

Once I have substituted all "2.6" in the package's makefile with "2.4" I receive the following error message upon execution of make:

*********************
make -C /usr/src/linux SUBDIRS=/mnt/hda5/knoppix_save/wireless/hostap-driver-0.1.3/driver/modules \
MODVERDIR=/mnt/hda5/knoppix_save/wireless/hostap-driver-0.1.3/driver/modules modules
make[1]: Entering directory `/usr/src/linux-2.4.24-xfs'
make[1]: *** Keine Regel, um »modules« zu erstellen. Schluss.
make[1]: Leaving directory `/usr/src/linux-2.4.24-xfs'
make: *** [2.6] Fehler 2
*********************

Does anybody know how to fix the above error message " *** Keine Regel, um »modules« zu erstellen." ?

Thanks in advance,
TorBu

barl0w
05-06-2004, 07:50 PM
I know I posted this in the other group here (http://www.knoppix.net/forum/viewtopic.php?p=46450), but I think you should know if you ARE using the ipw2100 (the Intel Pro 2100 wlan card), that you need to be using kernel version 2.4.25 and above.

That's why I'm so happy that this piece of software is included with the latest Knoppix distro 3.4. No need to hassle with this anymore. I couldn't get the makefile to run in Fedora Core test 1 & 2, and Knoppix 3.3 either. (Note: I realize that there are very different challenges in order to get this going in all three of those distro versions, I just couldn't overcome them).

Basically it comes down to the dependent files that are required, and that's why it's not running for you. I'm not an expert, and didn't overcome the problem myself, so I'm sorry, but if you have the intel Pro 2100 card too, just download the latest Knoppix 3.4 from a torrent site. I did, and now I'm writing this in Knoppix 3.4 and wirelessly! Ahhhhhh....!

Regards,

Scott

torbu
05-07-2004, 08:15 PM
Ok, just as a follow-up, in case somebody would come here hoping to find a solution for the problem I described here:

Well, I haven't found a solution yet, but I found a workaround: I installed the Ndiswrapper v0.7 (http://ndiswrapper.sourceforge.net) together with the Windows XP driver (http://cdgenp01.csd.toshiba.com/content/support/downloads/calexico_wpa_xp.exe) from the Toshiba support website (http://support.toshiba.com), instead of using Intel's official Linux driver (http://ipw2100.sourceforge.net) to get the Centrino Pro2100 wireless network card on my Toshiba TECRA M1to work under Knoppix 3.3. And it is working quite well: I have successfully connected my iMac via it's Airport wireless network card to my Tecra M1via it's Centrino Pro2100 wireless network card using an Ad-hoc network!

And with Intel's official linux drivers the ad-hoc network feature is far from being released yet :wink:

Enjoy.

barl0w
05-08-2004, 05:12 AM
torbu -

Can you post a how to here on what you did to get it going?

Scott