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:
Quote:
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
Password:
Sorry, try again.
Password:
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!