
If you run a wireless network and Linux, Kismet is a tool you must have.
More than just a wireless sniffer, Kismet will let you list all access points in range and what channel they are running on. That's great information to have when you're deciding what channel to set your wireless access point to.
Configuring Kismet may seem a bit confusing at first, but there's really only one line you need to change in /etc/kismet/kismet.conf
source=iwl4965,wlan0,iwl4965
That's driver,device,name - I believe the name is arbitrary and can be set to anything, but I set mine to the same as the driver.
This line sets the source for packets. I found the iwl4965 (my wireless card driver) through a couple of steps.
Using the following command:
dmesg | grep Wireless
I was able to determine that I was running the Intel 4965 wireless chipset. From there, I simply looked on the Kismet website to find that iwl4965 was the correct driver name. Note I did not find this information in my lsmod results.
After adding the appropriate line to the /etc/kismet/kismet.conf file, simply run:
sudo kismet
That will start both the server and client and log the client into the server. While running, I was unable to do normal wireless activity, and actually had to reboot or use the wireless button on my laptop to cycle the wireless state before the wireless would work properly again.
Once Kismet has started, press "q" to close the help screen, arrow down to any access point and press "i" to get more information about the network.
Check the channels of all the other access points in range and make sure your access point won't conflict. The only channels that don't overlap are 1, 6 and 11. In my case, my two neighbors are using 1 and 6 so I chose 11.
Kismet can do much more than this, and is a great analysis tool. It will track rogue MAC addresses that are probing your network, allow you to integrate with WEP security programs and much more.
