Mandrake Linux 10.1
Airsnort / Kismet RPM
HOWTO
Karentech80
February 01 2005
Released for all to enjoy.
Introduction
The purpose of this document is to describe the exact steps for installing the updated Orinoco Driver and Airsnort RPM on a system running Mandrake Linux 10.1
Hardware
The following hardware was used for this installation.
Install Mandrake 10.1 (2.6.8.1-12mdk) Download Edition
Install a fresh copy of Mandrake 10.1
I installed the following packages
Internet Station
Configuration Console
Console tools
Gnome
I created a user called “admin” (you can use whatever username you want)
Download files (download all files to /usr/local/src )
kernel-source-2..6-2.6.8.1-12mdk.i586.rpm
orinoco-0.15rc2.tar.gz
prism2-utils-0.2.1-0.pre21.2mdk.i586.rpm
airsnort-0.2.7e-1mdk.i586.rpm
kismet-3.1.040401-4mdk.i586.rpm (optional if just installing Airsnort)
I was logged in a “root” for all install procedures. Why? Because it works.
1. Install kernel source
Mandrake 10.1 download edition does not include the kernel-source package you must download it and install it. I did most of the installing of the RPM’s from the GUI instead of the command line where possible. The new “Computer” is great for navigating to the files I want.
Open the “Computer” icon and navigate to /usr/local/src and locate the “kernel-source-2.6-2.6.8.1-12mdk.i586.rpm” package and run it. Install the dependencies that are required and then the package.
Here is the command line version.
# rpm –i kernel-source-2.6-2.6.8.1-12mdk.i586.rpm
2. Install prism2 utilities()
Open the GUI "Computer" icon go to /usr/local/src
Run the prism2-utils-0.2.1-0.pre21.2mdk.i586.rpm package. Follow the on screen instructions.
3. Rename original wireless drivers in /lib/modules/2.6.8.1-12mdk/kernel/drivers/net/wireless (optional)
From the GUI open a file manager window and open /lib/modules/2.6.8.1-12mdk/kernel/drivers/net/wireless
Rename hermes.ko.gz to hermes.ko.gz.bu
Rename orinoco_cs.ko.gz to orinoco_cs.ko.gz.bu
Rename orinoco.ko.gz to orinoco.ko.gz.bu
Rename orinoco_pci.ko.gz to orinoco_pci.ko.gz.bu
Rename orinoco_plx.ko.gz to orinoco_plx.ko.gz.bu
Rename orinoco_tmd.o.gz to orinoco_tmd.o.gz.bu
Or move these files to a new folder so you can put them back if this doesn’t work.
4. Make Orinoco-0.15rc2 Drivers (This step will fail if you do not do step 1)
Open a terminal window and execute steps 4 to 6.
# cd /usr/local/src
# tar –zxf orinoco-0.15rc2.tar.gz
# cd orinoco-0.15rc2
# make
gzip the wireless driver modules created by make.
# gzip *.ko
5. Copy patched Orinoco drivers from /usr/local/src to /lib/modules/2.6.8.1-12mdk/kernel/drivers/net/wireless
# cd /usr/local/src/orinoco-0.15rc2
# cp *.ko.gz /lib/modules/2.6.8.1-12mdk/kernel/drivers/net/wireless
6. Restart PCMCIA service and check if new driver modules are loaded
# service pcmcia restart
Check to see if our patched driver loaded. The”monitor” feature should be added.
# dmesg
Look for this line:
Orinoco 0.15rc2STA (David Gibson < [email protected] >,
Pavel Roskin < [email protected]>,et al)
From what I have read version 0.15rc2STA includes monitor mode.
Close terminal window.
7. Install Airsnort RPM using the GNOME GUI
Open “Computer” and navigate to /usr/local/src
Locate and run the following package “airsnort-0.2.7e-1mdk.i586.rpm”
Ignore the “invalid signature warning” and proceed with the install.
Install dependencies as needed
Close window.
8. Run Airsnort.
Open terminal window.
# airsnort
From the GUI change the card type to “Host AP/Orinoco”
Choose your network card “eth0” or your wireless card location
Click “Start”
Enjoy!
If the selection of Eth0 or whatever card you are using is not working do a shutdown and reboot.
Kismet
9. Install Kismet RPM
Open “Computer” and navigate to /usr/local/src
Run the following RPM package : “ kismet-3.1.040401-4mdk.i586.rpm”
Ignore the “invalid signature” warning and proceed with the install.
Install required dependencies
Close window.
10. Configure Kismet
Kismet will not run logged in as “root”
Create a user “admin” or whatever you want. This is the user you will put in the configuration file in place of “your_user_here”
Open /etc/kismet.conf
11. Change the following values in “kismet.conf”
suiduser=<username you created> (admin)
source=Orinoco,eth0,Kismet
These 2 changes are required. Editing the other items is optional.
Save changes and exit the configuration file.
12. Kismet Log setup
Open a terminal window.
# cd /home/<username you created>
# mkdir kismet-logs
#chown your_user_name:your_user_name kismet-logs
13. Run Kismet
Log in as <username you created>
Open a terminal window and enter the following
#kismet
If you have to log in as “root”
#cd /home/<username you created>
#kismet
Warning ! Use at your own risk. No warranties or liabilities expressed or implied. These procedures may even blow up your computer.
This HowTO is to be free for all to use and copy.
To Do
Install this on a P3 singleboard computer Lunchbox PC ,
Install on a Dell Inspiron 1150 using a 802.11b orinoco mini PCI card.
Install on a no name “@ Book” piece O crap Pentium 233 laptop. If I can overcome the 2GB BIOS limitation.
Maybe do an Install on a Dell “Axim X5” PDA. This is already a killer war walking setup using “Pocket Warrior” and “Ministumbler”
Copyright mailto:[email protected] all rights reserved.
My Email: [email protected]