Kismet Wireless

Kismet Forums


Posted by:00
Subject:Fixing the problem with Kismet and Network-Manager
Date:11:46:17 18/09/2007

Hi just to make it better be found for others I opend this new post. Here's now my final solution to this problem.

Just save this script in a file Kismet (<- notice the upper K!!) in /usr/local/bin :

#!/usr/bin/env ruby
$Verbose = true

# makes NM sleep
system('dbus-send --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep')
# starts kismet
system('sudo kismet')
# wakes NM up again
system('dbus-send --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.wake')

Now you can start kismet with "sudo Kismet" and everything works as usual :)


Reply to this message