Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-05-2006, 06:55 PM   #1
Registered: Mar 2006
Location: Bellevue, WA USA
Distribution: Debian KDE/Fluxbox
Posts: 36

Rep: Reputation: 15
Madwifi-old + Aircrack/Trouble compiling madwifi

Hey everyone,
This is my first post here, whenever I searched google for information on linux hardware linuxquestions always came up and the information I found on here was always useful. So I decided to join! For a tech class I'm taking, my final project is to Crack a wireless network using Linux, Distro SuSE 10.0 KDE.

Anyways, now that you know what I'm doing is completely legal and everything;

For the project I was originally going to go with Madwifi-ng and Kismet. It took me a few days but I managed to get them both to work. however I was never able to get kismet to collect packets (would collect a hundred or so then stop). I looked around and found Aircrack, I was also told that aircrack only worked with madwifi-old at this time. So I went through the process for uninstalling madwifi-ng, and got the source for madwifi-old.

for awhile I kept getting this error:
ashex@linux:~/madwifi-old> make
cat: /usr/src/linux-2.6.13-15.8-obj/i386/default/include/linux/wireless.h: No su ch file or directory
cat: /usr/src/linux-2.6.13-15.8-obj/i386/default/include/linux/wireless.h: No su ch file or directory
Checking if all requirements are met... FAILED
Only kernel versions 2.4.x and above are supported.
You have .
make: *** [configcheck] Error 1
ashex@linux:~/madwifi-old> sudo su
Sorry, try again.
linux:/home/ashex/madwifi-old # make
cat: /usr/src/linux-2.6.13-15.8-obj/i386/default/include/linux/wireless.h: No such file or directory
cat: /usr/src/linux-2.6.13-15.8-obj/i386/default/include/linux/wireless.h: No such file or directory
Checking if all requirements are met... FAILED
Only kernel versions 2.4.x and above are supported.
You have .
make: *** [configcheck] Error 1
linux:/home/ashex/madwifi-old #
I managed to solve that using 'export KERNELSOURCES=<kernel version>'
I also had to set the kernel path for some reason using 'KERNELPATH=path/to/kernel/'

At long last I got it to compile, I kept getting the error that I was missing sharutils, even after I downloaded the rpm for Suse and installed it.

I did the make install and it installed for me. however I couldn't get modprobe ath_pci to work, kept telling me the kernel was missing. So I read through the docs on Madwifi and uninstalled, did export KERNELRELEASE=`uname -r` and everything, then recompiled and installed.

so now that works, barely. HOWEVER, it doesn't recognise the other modules. the command wlanconfig doesn't exist, and executing command madwifi gives me a command unrecognized.

Right now I'm completely stumped as to why this is occuring, my kernel source is 2.6.13-15.8 and matches with kernel-default too. Everything looks as it should be, I'm not sure where to proceed from here, so any help would be greatly appreciated!


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
Madwifi.rpm not compiling because of sharutils ee1ka Linux - Wireless Networking 1 01-07-2006 09:56 AM
Error compiling Madwifi Drivers kf8rd Linux - Networking 0 06-17-2005 06:08 AM
compiling madwifi Subbeh Mandriva 6 03-07-2005 08:17 PM
Trouble installing netgear WAG511 with madwifi ghlu Linux - Wireless Networking 3 11-08-2004 05:36 PM
Error compiling madwifi drivers thiqued Linux - Software 0 09-24-2004 04:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:57 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration