Hardware Reference
In-Depth Information
Preparing Kismet for launch
When a Wi-Fi adapter enters monitor mode, it means that it's not associated with
any particular access point and is just listening for any Wi-Fi traffic that happens to
whizz by in the air. On Raspbian, however, there are utility applications running in
the background that try to automatically associate your adapter with Wi-Fi networks.
We'll have to temporarily disable two of these helper applications to stop them from
interfering with the adapter while Kismet is running.
1.
Open up /etc/network/interfaces for editing:
pi@raspberrypi ~ $ sudo nano /etc/network/interfaces
2.
Find the block that starts with allow-hotplug wlan0 and put a # character
in front of each line, like we've done here:
#allow-hotplug wlan0
#iface wlan0 inet manual
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
Press Ctrl + X to exit and select y when prompted to save the modified buffer,
then press the Enter key to confirm the filename to write to. This will prevent
the wpa_supplicant utility from interfering with Kismet.
3.
Next, open up /etc/default/ifplugd for editing:
pi@raspberrypi ~ $ sudo nano /etc/default/ifplugd
4.
Find the line that says INTERFACES and change it from auto to eth0 , then
find the line that says HOTPLUG_INTERFACES and change it from "all" to "" ,
as we've done here:
INTERFACES="eth0"
HOTPLUG_INTERFACES=""
This will prevent the ifplugd utility from interfering with Kismet.
5.
Now, reboot your Pi. Once logged back in, you can verify that your adapter
has not associated with any access points, by using the following command:
pi@raspberrypi ~ $ iwconfig
Wi-Fi adapter showing no associated access point
 
Search WWH ::




Custom Search