OS : Linux
Distro : Ubuntu
Title : Kismet
Got a new Notebook, its a IBM Thinkpad T43.
Found a cool "tutorial" how to set up kismet in ubuntu .. with IBM Thibkpad T43
In the latest official stable version of kismet was wrote that the modern driver of Intel PRO Wireless (ipw2200), very common in a lot of notebook with Intel Centrino, was not supported.
But there is a way to run kismet also with such driver...
Installing this program, for me, was not very "user friendly" ... it's a pain in the...so I wrote this little tutorial.
I use Ubuntu linux v. 5.0.4 and this guide is usefull expetially for my disto, but I think work also with others.
Last (warning) note: READ DOCUMENTS OF THE PROGRAMS LISTED ABOVE BEFORE MESS UP KERNEL AND DRIVERS. NO RESPONSABILITY FOR DAMAGES.
1) First step: check your driver.
You can do this making:
dmesg| grep ipw
and you must read something like
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver,0.19
The problem of this drivers with kismet is that you can't put your card in "monitor mode".
Try this:
iwconfig eth1 mode monitor
and you probably get an error.
Ok we need other drivers!
2)You must download the new driver (not the package! the tarball). You can download this here:
http://prdownloads.sourceforge.net/ipw2200/ipw2200-1.0.4.tgz
and untar it and go inside the new dir:
tar -xvfz ipw2200-1.0.4.tgz
cd ipw2200-1.0.4
3)Then you must remove old driver typing:
sh remove-old
See INSTALL file for more info
4)If you have ubuntu, you must edit the Makefile. Comment line like this:
# ifndef CONFIG_IPW2200 ### Comment me
EXTERNAL_BUILD=y
CONFIG_IPW2200=m
CONFIG_IPW_DEBUG=y
CONFIG_IPW_MONITOR=y
# Experimental QoS support.
CONFIG_IPW_QOS=y
# endif ###### Me also!
This is because there is a misunderstanding between the kernel of Ubuntu about this symbol and these definition.
5)If you have Ubuntu, install linux-headers.
You must have some files now in /lib/modules/version_of_kernel/build/
6) Download the new firmware 1.3 from this site
http://ipw2200.sourceforge.net/firmware.php?fid=5
You must delete (or move) the old ones and copy the new *.fw files of the tarball into /lib/hotplug/firmware/ or /usr/lib/hotplug/firmware/ is the same.
Restart and check with "dmesg|grep ipw" for the new driver (1.0.4). They must be loaded at this time.
With new driver you can put your wifi card in monitor MODE with:
iwconfig eth1 mode monitor
It should not give you error anymore.
You can type an "echo Weeeeee!"
7) Download and install svn from:
then type:
svn co http://svn.kismetwireless.net/code/trunk kismet-devel
to get latest devel version of kismet
8) enter into kismet directory and launch ./configure --sysconfdir=/etc/kismet
If it give you error, probably you don't have some libraries.
If it give you some error but you have already that libraries, probably you don't have the -dev version of the library (il the library is foo, you need also foo-dev )
For all other software it ask to you, googlish or apt-get (if you use debian)
after follow instruction of kismet (make dep, make, make suidinstall or make install)
9) Edit /etc/kismet/kismet.conf
My string for the source is:
source=ipw2200,eth1,ATHEROS
10) Run kismet and be happy!
@llergique
Isn't this already supported?
What version of kismet are you running? The latest stable (2005-06-R1) added support for both IPW2200 and IPW2915.
http://kismetwireless.net/CHANGELOG
EDIT: Nevermind, was jumping to conclusions again.
I followed the procedures abo
I followed the procedures above through step 6, but after I reboot my card nolonger works(no Weeeeee).
---------------------------------------------------------------------
---------------------------------------------------------------------
when i run:
# ifconfig eth1 up
eth1: ERROR while getting interface flags: No such device
#dmesg | grep ipw
returns nothing (i can provide full dmesg if needed)
#lspci
0000:02:06.0 Network controller: Intel Corp. PRO/Wireless 2200BG (rev 05)
---------------------------------------------------------------------
---------------------------------------------------------------------
any information or test that would help me determine the problem would be greatly appreciated.
you have to install the drive
you have to install the driver:
go to the directory ipw2200-1.0.4 and type:
make
make install
reboot....and Weeeee
Got the same problem. But w
Got the same problem.
But when I do a `make` in a ipw2200-1.0.4 directory it gives me an error:
root@nina:/tmp/ipw2200-1.0.4 # make
/bin/sh: cc: command not found
make -C /lib/modules/2.6.10-5-386/build SUBDIRS=/tmp/ipw2200-1.0.4 MODVERDIR=/tmp/ipw2200-1.0.4 modules
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 11: gcc: command not found
/usr/src/linux-headers-2.6.10-5-386/scripts/gcc-version.sh: line 12: gcc: command not found
make[1]: Entering directory (I have polish version, so I`m not sure if it is like this) `/usr/src/linux-headers-2.6.10-5-386'
CC [M] /tmp/ipw2200-1.0.4/ipw2200.o
/bin/sh: gcc: command not found
make[2]: *** [/tmp/ipw2200-1.0.4/ipw2200.o] Error 127
make[1]: *** [_module_/tmp/ipw2200-1.0.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.10-5-386'
make: *** [modules] Error 2
Anyone knows what`s going on?
It looks like you haven't ins
It looks like you haven't installed gcc, you don't have any packages for compiling stuff from source. From a command prompt try "sudo apt-get install build essential"
install linux headers?
What exactly do you mean by "install linux-headers" under #5?
Thanks,
Rand
how to install linux headers
(on Debian like systems):
sudo apt-get install linux-headers-version
eg
sudo apt-get install linux-headers-2.6.12-10-686
FATAL Error unknow capture source
Followed the directions step by step:
and while starting kismet i get the error message:
FATAL: Unknow Capture Source type 'ipw2200' in source 'ipw2200,eth1,ATHEROS'
any ideas?
It looks like you are using a
It looks like you are using a version of Kismet that doesn't know what ipw2200 is.
Use a version of at least 2005.06.1!
use source=prism54g,eth1,ATHE
use source=prism54g,eth1,ATHEROS
that worked for me :)
I have downloaded the tarball
I have downloaded the tarball, untared it and tried to 'make'. It tells me that i need to install "ieee80211" driver from source forge. I downloaded that tarball and tried to 'make' it but it does not compile.
Do I need to install ieee80211 or not? I am using Ubuntu hoary hedgehog.
i had to copy the contents of
i had to copy the contents of the net/ directory(there should be 3 files: ieee80211.h, ieee80211_crypt.h ieee80211_radiotap.h) to /usr/src/`uname -r`/include/net. the problem is the version of these files included in the linux kernel source are outdated and don't include the necessary info referenced in the new files. i believe my error involved ieee80211_module.c but it was a little while ago that i installed this. hope this helps.
i also want to just say WEEEEEEEEEEEEEEEEEE
CAN'T SET MONITOR MODE
I have read a lot of tutorials (including this one) on how to install DRIVER/FIRMWARE/IEEE80211 for an Intel Pro/Wireless 2200BG card.
I'm using Linux for 2 days now -- so you can consider me as a newbie.
I copied all the parts of the process (that worked for me) from the tuts i have read, and i'm providing it below.
Download: (ipw2200-1.0.10.tgz)(ipw2200-fw-2.4.tgz)(ieee80211-1.1.9.tgz)
##### RUN THE SCRIPT IN A SHELL ######
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install gcc-3.4
sudo apt-get install linux-headers-2.6.12-10-686
sudo apt-get install linux-headers-`uname -r`
cd /tmp
mkdir wifi
cd wifi
cp ~/ipw2200-1.0.10.tgz ~/ipw2200-fw-2.4.tgz ~/ieee80211-1.1.9.tgz .
mkdir fw
tar xzvf ipw2200-1.0.10.tgz
tar xzvf ieee80211-1.1.9.tgz
tar xzvf ipw2200-fw-2.4.tgz -C fw/
wget http://wael.nasreddine.com/files/ubuntu/remove-old
sudo rmmod ipw2200
sudo rmmod ieee80211
sudo rmmod ieee80211_crypt
chmod a+x remove-old
sudo ./remove-old
cd ipw2200-1.0.10
chmod a+x remove-old
sudo ./remove-old
cd ..
cd ieee80211-1.1.9
chmod a+x remove-old
sudo ./remove-old
cd ..
cd ieee80211-1.1.9
make && sudo make install
cd ..
cd ipw2200-1.0.10
make && sudo make install
cd ..
cd fw
sudo cp * /usr/lib/hotplug/firmware
sudo modprobe ipw2200
dmesg | grep ipw##### RESTART YOUR PC ######
Even though the drivers work fine with me:
My eth1 still denied to change to MONITOR MODE!
And this is the error i received :
Do you have a solution for this?
The aktizol!
Solution for Ubuntu with ipw2200
I finally found the solution to my problem.
I will post it here because some more noobs like me -- might have stuck to the same problem.
ERROR:
The problem was the permissions!
After being sure that I didn't have any problems with the drivers & and the ieee80211 subsystem. I was quite sure that there was a problem with the version of the Wireless Tools.
Again I was wrong. But I found the solution through the Wireless Tools README file.
There was a line where it says that the Wireless Tools need ROOT access! for some commands.
And the solution was to change to root or to run the iwconfig with sudo.
SOLUTION:
The aktizol!