OrinocoMonitorKismet2005Hoary

Revision 11 as of 2006-06-09 02:19:27

Clear message


Info <!> IF YOU HAVE ARRIVED AT THIS PAGE SEEKING ASSISTANCE WITH YOUR ORINOCO WIFI CHIPSET AND KISMET ON A HOARY INSTALL, PLEASE E-MAIL [mailto:nixternal@gmail.com Rich Johnson] AS WE ARE DECIDING ON REMOVING THE HOARY INFORMATION FROM THIS SECTION DUE TO SUPPORT ISSUES. Info <!> Thank you - @sig@

NOTE: This page is currently in the process of being edited by the WikiTeam - RichJohnson for content, grammar, and spelling.


Orinoco + Kismet 2005, Wifi Radar, iwlist scan in Breezy

Rather than patch and recompile the kernel's Orinoco driver, a much simpler method is to replace it with version 0.15rc4 from the Orinoco driver website. To do this, we download it, compile it against the kernel headers, and replace the existing modules.

Preparing to build a kernel module

You will need the appropriate headers for your kernel, and a development environment that can compile the linux kernel. Find your kernel version with

{{{# uname -r }}}

Install kernel headers with

{{{# apt-get install linux-headers-(your version) }}}

Install development environment with

{{{# apt-get build-dep linux-headers-(your version) }}}

For example, {{{# apt-get install linux-headers-2.6.12-10-386 # apt-get build-dep linux-headers-2.6.12-10-386 }}}

Downloading and compiling Orinoco

Download and unpack the package into your source directory

{{{# cd /usr/src # wget http://kent.dl.sourceforge.net/sourceforge/orinoco/orinoco-0.15rc4.tar.gz # tar -xzf orinoco-0.15rc4.tar.gz # cd orinoco-0.15rc4 }}}

Compile the module

{{{# make }}}

Installation

Delete the old modules, and replace them with the newly-compiled ones

{{{# cd /lib/modules/(your version)/kernel/drivers/net/wireless # rm orinoco*.ko # rm hermes.ko # cp /usr/src/orinoco-0.15rc4/orinoco*.ko . # cp /usr/src/orinoco-0.15rc4/hermes.ko .}}}

Reboot, or depmod and reinsert the card.


Orinoco + Monitor + Kismet 2005 + Hoary/Breezy

I am running with universe sources enabled in /etc/apt/sources.list

All commands need to be done as root

Patch the Orinoco driver

Install the kernel sources

{{{# apt-get install linux-source-2.6.10 }}}

go to the /usr/src directory

{{{# cd /usr/src }}}

extract the kernel-source

{{{# tar -xjf linux-source-2.6.10.tar.bz2 }}}

make a link to the kernel source

{{{# ln -s /usr/src/linux-source-2.6.10 /usr/src/linux }}}

cd to the source dir

{{{# cd /usr/src/linux }}}

get the monitor mode patch

Hoary {{{# wget http://www.kismetwireless.net/code/orinoco-2.6.9-rfmon-dragorn-1.diff }}}

Breezy {{{# wget http://www.kismetwireless.net/code/orinoco-2.6.12-rfmon-dragorn-1.diff }}}

patch the kernel-source replace x with version number

{{{# patch -p1 --dry-run < ./orinoco-2.6.x-rfmon-dragorn-1.diff }}}

and if no errors appear

{{{# patch -p1 < ./orinoco-2.6.x-rfmon-dragorn-1.diff }}}

Make a directory to backup the existing drivers.

{{{# mkdir /orinoco }}}

Move orinoco drivers to backup location $(uname -r) references running kernel

{{{# mv /lib/modules/$(uname -r)/kernel/drivers/net/wireless/orinoco* /orinoco

# mv /lib/modules/$(uname -r)/kernel/drivers/net/wireless/hermes.ko /orinoco}}}

copy the config file to the source directory

{{{# cp /boot/config-$(uname -r) /usr/src/linux/.config }}}

compile the modules

{{{# make modules

# make modules_install}}}

copy the new modules to the proper directory

{{{# cp /usr/src/linux/drivers/net/wireless/orinoco*ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/

# cp /usr/src/linux/drivers/net/wireless/hermes.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/}}}

Kismet

Install Kismet {{{# wget http://mirror.aarnet.edu.au/debian/pool/main/k/kismet/kismet_2005.08.R1-1_i386.deb

# apt-get install ethereal-common # apt-get install libglib1.2 libgmp3 # dpkg -i kismet_2005.04.R1-1_i386.deb}}}

edit /etc/kismet/kismet.conf for your card {{{use orinoco,eth1,orinocosource as the capture source }}}

Insert your card, wait a few seconds, and stop the card with: {{{#sudo ifdown eth1 ( if you omit this step kismet crashes every time after about 5 seconds ) }}}

Enjoy Smile :)

J.Shein - Orginal author

Beakmyn - modifications for Breezy and newer kernels

{{{NOTE: Every time you update the kernel you will have to recompile & copy over the modules again. ( As I had to do last week, due to the kernel update for Hoary final release ) }}}

CategoryDocumentation CategoryCleanup