openbsd-ports/net/kismet/patches/patch-conf_kismet_conf_in
kili a4b727f653 Update to kismet-2007-10-R1.
Tested by quite some people (after some pushing by sthen@).

ok sthen@
2007-11-10 21:10:42 +00:00

59 lines
2.1 KiB
Plaintext

$OpenBSD: patch-conf_kismet_conf_in,v 1.6 2007/11/10 21:10:42 kili Exp $
--- conf/kismet.conf.in.orig Sun Oct 7 17:48:51 2007
+++ conf/kismet.conf.in Sun Oct 7 17:51:25 2007
@@ -10,7 +10,7 @@ version=2007.09.R1
servername=Kismet
# User to setid to (should be your normal user)
-suiduser=your_user_here
+suiduser=_kismet
# Do we try to put networkmanager to sleep? If you use NM, this is probably
# what you want to do, so that it will leave the interfaces alone while
@@ -24,6 +24,10 @@ networkmanagersleep=true
# The initial channel is optional, if hopping is not enabled it can be used
# to set the channel the interface listens on.
# YOU MUST CHANGE THIS TO BE THE SOURCE YOU WANT TO USE
+# OpenBSD examples:
+# a/b: source=radiotap_bsd_ab,ath0,radiotap_bsd_ab
+# b: source=radiotap_bsd_b,ipw0,radiotap_bsd_b
+# b (wi(4)) source=prism2_openbsd,wi0,prism2_openbsd
source=none,none,addme
# Comma-separated list of sources to enable. This is only needed if you defined
@@ -206,7 +210,7 @@ trackivs=false
# server itself will play sound. Primarily for headless or automated systems.
sound=false
# Path to sound player
-soundplay=/usr/bin/play
+soundplay=/usr/local/bin/play
# Optional parameters to pass to the player
# soundopts=--volume=.3
# New network found
@@ -264,7 +268,7 @@ metric=false
# recent versions of GPSDrive's native support of Kismet.
waypoints=false
# GPSDrive waypoint file. This WILL be truncated.
-waypointdata=%h/.gpsdrive/way_kismet.txt
+waypointdata=/var/log/kismet/way_kismet.txt
# Do we want ESSID or BSSID as the waypoint name ?
waypoint_essid=false
@@ -362,14 +366,14 @@ logdefault=Kismet
# crypt/Pok-Dec-20-01-1
# and so on. The "dump", "crypt", etc, dirs must exist before kismet is run
# in this case.
-logtemplate=%n-%d-%i.%l
+logtemplate=/var/log/kismet/%n-%d-%i.%l
# Where do we store the pid file of the server?
piddir=/var/run/
# Where state info, etc, is stored. You shouldnt ever need to change this.
# This is a directory.
-configdir=%h/.kismet/
+configdir=/var/log/kismet/
# cloaked SSID file. You shouldn't ever need to change this.
ssidmap=ssid_map