Re: How to react on lost connection?
- From: kazaam <kazaam oleco net>
- To: networkmanager-list gnome org
- Subject: Re: How to react on lost connection?
- Date: Tue, 18 Sep 2007 13:40:53 +0200
Okay thank you very much, here's now my final solution for the NM-problem with kismet:
Just save this script in a file Kismet in /usr/local/bin :
#!/usr/bin/env ruby
$Verbose = true
# Versetzt den Network-Manager in den Schlaf
system('dbus-send --system --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep')
# Startet Kismet
system('sudo kismet')
# Startet den Network-Manager wieder
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 :)
greets
--
kazaam <kazaam oleco net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]