OrinocoMonitorKismet2005Hoary

Revision 2 as of 2005-06-26 00:30:27

Clear message

Orinoco + Monitor + Kismet 2005 + Hoary

I am running with universe sources enabled in /etc/apt/sources.list beakmyn: performing a 'server' (minimal install) I had to make the modifications denoted with '<beakmyn>' '</beakmyn>'

All commands need to be done as root

Install kismet

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

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

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

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

patch the kernel-source

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

and if no errors appear

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

Make a directory to backup the existing drivers.

{{{# mkdir /orinoco }}}

Move orinoco drivers to backup location

{{{# mv /lib/modules/2.6.10/kernel/drivers/net/wireless/orinoco* /orinoco

# mv /lib/modules/2.6.10/kernel/drivers/net/wireless/hermes.ko /orinoco}}}

<beakmyn> Above path incorrect {{{# mv /lib/modules/2.6.10-5-386/kernel/drivers/net/wireless/orinoco* /orinoco

# mv /lib/modules/2.6.10-5-386/kernel/drivers/net/wireless/hermes.ko /orinoco}}} </beakmyn> copy the config file to the source directory

{{{# cp /boot/config-2.6.10-5-386 /usr/src/linux/.config }}}

compile the modules

{{{# make modules

# make modules_install}}}

<Question: Is there another way? This will probably take two days on my p120 laptop. -Jason>

copy the new modules to the proper directory

{{{# cp /usr/src/linux/drivers/net/wireless/orinoco*ko /lib/modules/2.6.10-5-386/kernel/drivers/net/wireless/

# cp /usr/src/linux/drivers/net/wireless/hermes.ko /lib/modules/2.6.10-5-386/kernel/drivers/net/wireless/}}}

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

{{{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 ) }}}