WIP: update net/kismet
Hi, that old Kismet bugged me quite a long time, but their completely rewritten code-base has prevented an update so far. Eventually found time to implement some simple OpenBSD WiFi support. It just detects all WiFi devices in the "wlan" group. Trying to use more than one WiFi device, brings my host to a grinding halt, don't know why. Last but not least, only tested with 2.4GHz Wifi devices, lacking a proper 5 GHz device. Besides WiFi, also tested and known to work: BT LE sniffing with Adafruit LE Friend with Sniffer firmware, as well as ADSR plane spotting, with a RTL-SDR BLOG. This is just a snapshot, more or less waiting for their next release, otherwise could also update to this here. Comments on the port, test reports etc. welcome. cheers, Sebastian kismet-wip.diff Description: Binary data
Re: UPDATE: net/kismet
Hi, On Fri, Feb 15, 2019 at 11:44:51PM +0100, Matthias Kilian wrote: > Still not tested (too much daywork)... Finally, with a run(4) attached to my rotten netbook (amd64). Works as espected. So ok, kili@, with this one addressed: > One nit, however (already sent in private ail): pkg/MESSAGE should > use ${PREFIX} instead of ${TRUEPREFIX} because TRUEPREFIX isn't > passed to pkg_create(1). If you want you can also drop me as MAINTAINER and/or put yourself in. Ciao, Kili ps: as a fun fact, I also tried to test it with that tiny run(4) attached to my workstation under my desk in the office, but there was absolutely nothing to see. As someone noted during a hackathon a couple of years ago: the antenna is so tiny that it's besically absent ;-)
Re: UPDATE: net/kismet
On Mon, Feb 04, 2019 at 10:50:55PM +0100, Matthias Kilian wrote: > On Thu, Jan 31, 2019 at 08:39:50PM +0100, Matthias Kilian wrote: > > On Wed, Jan 30, 2019 at 11:01:39PM +0100, Sebastian Reitenbach wrote: > > > This updates our ancient Kismet to the 2016-07-R1 release. > > > > I can give it a try next monday. > > Unfortunately, my build machine refuses to work fast (I'm running > a bulk build atm), so this has to wait a little bit more. Still not tested (too much daywork)... One nit, however (already sent in private ail): pkg/MESSAGE should use ${PREFIX} instead of ${TRUEPREFIX} because TRUEPREFIX isn't passed to pkg_create(1). Ciao, Kili
Re: UPDATE: net/kismet
On Thu, Jan 31, 2019 at 08:39:50PM +0100, Matthias Kilian wrote: > On Wed, Jan 30, 2019 at 11:01:39PM +0100, Sebastian Reitenbach wrote: > > This updates our ancient Kismet to the 2016-07-R1 release. > > I can give it a try next monday. Unfortunately, my build machine refuses to work fast (I'm running a bulk build atm), so this has to wait a little bit more. Ciao, Kili ps: i know that i could run a second dpb just for kismet, but my experience with this fucking machine is that it then would lose its disk and panic, or something else, requiring a power cycle (of course always when I'm at home and no colleagues in the office to hit the power button). I really hate this machine, and it hates me back.
Re: UPDATE: net/kismet
Am Donnerstag, Januar 31, 2019 20:39 CET, Matthias Kilian schrieb: > Hi, > > On Wed, Jan 30, 2019 at 11:01:39PM +0100, Sebastian Reitenbach wrote: > > This updates our ancient Kismet to the 2016-07-R1 release. > > I can give it a try next monday. great, meanwhile additionally to rum also tested with athn, both on i386. > > Ciao, > Kili
Re: UPDATE: net/kismet
Hi, On Wed, Jan 30, 2019 at 11:01:39PM +0100, Sebastian Reitenbach wrote: > This updates our ancient Kismet to the 2016-07-R1 release. I can give it a try next monday. Ciao, Kili
Re: update: net/kismet
Just a cosmetic change/question given the version crank. Shouldn't this line PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}p0 drop the p0 like this PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g} Jim * Matthias Kilian [EMAIL PROTECTED] [080621 17:59]: Update to kismet 2008-05-R1. I've tested kismet on ny zaurus, and gpsnap on an i386. Tests on other platforms are welcome. Index: Makefile === RCS file: /cvs/ports/net/kismet/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 12 Jun 2008 21:58:12 - 1.20 +++ Makefile 21 Jun 2008 17:12:55 - @@ -8,7 +8,7 @@ COMMENT-gpsmap= reads GPS and Network XM # No wireless capabilities NOT_FOR_ARCHS=m68k m88k vax -V= 2007-10-R1 +V= 2008-05-R1 DISTNAME=kismet-${V} PKGNAME-main=kismet-${V:S,-,,g} PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}p0 @@ -32,7 +32,8 @@ CONFDIR=${SYSCONFDIR}/kismet SUBST_VARS+= CONFDIR CONFIGURE_ARGS= --sysconfdir=${CONFDIR} \ - --mandir=${PREFIX}/man + --mandir=${PREFIX}/man \ + --disable-dbus CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include -I${LOCALBASE}/include \ LDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib Index: distinfo === RCS file: /cvs/ports/net/kismet/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo 10 Nov 2007 21:10:42 - 1.6 +++ distinfo 21 Jun 2008 17:12:55 - @@ -1,5 +1,5 @@ -MD5 (kismet-2007-10-R1.tar.gz) = IQDGZ+adsM3jX6LQbIUW4g== -RMD160 (kismet-2007-10-R1.tar.gz) = fLYqP9lkye5+Tsa+8FBVjIBqtJU= -SHA1 (kismet-2007-10-R1.tar.gz) = ocaCeXrWhCtT+eDwOCVKqDJuD7Q= -SHA256 (kismet-2007-10-R1.tar.gz) = Aj5/RwOcGthhUFLkZPdqPNSWpCNEm5MQNtEnxW1Ysrk= -SIZE (kismet-2007-10-R1.tar.gz) = 646452 +MD5 (kismet-2008-05-R1.tar.gz) = buNl02NUtN7klF5n+BSSlA== +RMD160 (kismet-2008-05-R1.tar.gz) = VhMge0X4X6ctFGAJQ035hPchzNw= +SHA1 (kismet-2008-05-R1.tar.gz) = g1WusDdKOVSd/cDHMWASXq3XxuI= +SHA256 (kismet-2008-05-R1.tar.gz) = opjUT4puyXcCHNSSpyCYfe2BtcS69faLNvEoKiPJ99M= +SIZE (kismet-2008-05-R1.tar.gz) = 655362 Index: patches/patch-Makefile_in === RCS file: /cvs/ports/net/kismet/patches/patch-Makefile_in,v retrieving revision 1.5 diff -u -p -r1.5 patch-Makefile_in --- patches/patch-Makefile_in 10 Nov 2007 21:10:42 - 1.5 +++ patches/patch-Makefile_in 21 Jun 2008 17:12:55 - @@ -3,20 +3,18 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 # Don't hard code -O2 -Wall. # Use BSD_INSTALL_* macros for installation. Makefile.in.orig Sun Sep 9 23:01:20 2007 -+++ Makefile.in Wed Sep 12 22:02:32 2007 -@@ -21,8 +21,8 @@ LD = @CXX@ - LDFLAGS = @LDFLAGS@ +--- Makefile.in.orig Thu May 29 21:18:26 2008 Makefile.in Sun Jun 1 13:16:18 2008 +@@ -22,7 +22,7 @@ LDFLAGS= @LDFLAGS@ LIBS= @LIBS@ CLIBS = @CLIBS@ --CFLAGS = @CPPFLAGS@ + CFLAGS = @CFLAGS@ -CXXFLAGS = -O2 -Wall -DVERSION_MAJOR=\$(VERSION_MAJOR)\ -DVERSION_MINOR=\$(VERSION_MINOR)\ -DVERSION_TINY=\$(VERSION_TINY)\ -DTIMESTAMP=\`cat TIMESTAMP`\ @CXXFLAGS@ -+CFLAGS = @CFLAGS@ +CXXFLAGS = -DVERSION_MAJOR=\$(VERSION_MAJOR)\ -DVERSION_MINOR=\$(VERSION_MINOR)\ -DVERSION_TINY=\$(VERSION_TINY)\ -DTIMESTAMP=\`cat TIMESTAMP`\ @CXXFLAGS@ CPPFLAGS = @CPPFLAGS@ SUID= @suid@ -@@ -137,53 +137,55 @@ checkuiconfig: +@@ -138,53 +138,55 @@ checkuiconfig: echo latest version is `grep version= conf/kismet_ui.conf | cut -f 2 -d=`; \ fi @@ -107,7 +105,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 @if test -f $(BIN)/kismet_curses; then \ echo Removing old kismet_curses binary. The panels frontend is now kismet_client.; \ -@@ -196,22 +198,22 @@ suidinstall: $(PS) $(DRONE) $(NC) $(GPSLBUILD) $(ZAURU +@@ -197,22 +199,22 @@ suidinstall: $(PS) $(DRONE) $(WRAP) $(NC) $(GPSLBUILD) @if test -f $(ETC)/kismet.conf; then \ $(MAKE) -e checkconfig; \ else \ @@ -136,7 +134,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 echo Installed UI config into $(ETC)/kismet_ui.conf.; \ fi @echo Installed kismet into $(BIN)/. -@@ -229,22 +231,22 @@ install: $(PS) $(DRONE) $(NC) $(GPSLBUILD) $(ZAURUSBUI +@@ -230,22 +232,22 @@ install: $(PS) $(DRONE) $(NC) $(WRAP) $(GPSLBUILD) $(Z @if test -f $(ETC)/kismet.conf; then \ $(MAKE) -e checkconfig; \ else \ @@ -165,7 +163,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 echo Installed UI config into $(ETC)/kismet_ui.conf.; \ fi @echo Installed kismet into $(BIN)/. -@@ -260,11 +262,11 @@ install: $(PS) $(DRONE) $(NC)
Re: update: net/kismet
On Sun, Jun 22, 2008 at 08:39:20AM -0400, Jim Razmus wrote: Shouldn't this line PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}p0 drop the p0 like this PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g} Yes. Thanks!
update: net/kismet
Update to kismet 2008-05-R1. I've tested kismet on ny zaurus, and gpsnap on an i386. Tests on other platforms are welcome. Index: Makefile === RCS file: /cvs/ports/net/kismet/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile12 Jun 2008 21:58:12 - 1.20 +++ Makefile21 Jun 2008 17:12:55 - @@ -8,7 +8,7 @@ COMMENT-gpsmap= reads GPS and Network XM # No wireless capabilities NOT_FOR_ARCHS=m68k m88k vax -V= 2007-10-R1 +V= 2008-05-R1 DISTNAME= kismet-${V} PKGNAME-main= kismet-${V:S,-,,g} PKGNAME-gpsmap=kismet-gpsmap-${V:S,-,,g}p0 @@ -32,7 +32,8 @@ CONFDIR= ${SYSCONFDIR}/kismet SUBST_VARS+= CONFDIR CONFIGURE_ARGS=--sysconfdir=${CONFDIR} \ - --mandir=${PREFIX}/man + --mandir=${PREFIX}/man \ + --disable-dbus CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include -I${LOCALBASE}/include \ LDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib Index: distinfo === RCS file: /cvs/ports/net/kismet/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo10 Nov 2007 21:10:42 - 1.6 +++ distinfo21 Jun 2008 17:12:55 - @@ -1,5 +1,5 @@ -MD5 (kismet-2007-10-R1.tar.gz) = IQDGZ+adsM3jX6LQbIUW4g== -RMD160 (kismet-2007-10-R1.tar.gz) = fLYqP9lkye5+Tsa+8FBVjIBqtJU= -SHA1 (kismet-2007-10-R1.tar.gz) = ocaCeXrWhCtT+eDwOCVKqDJuD7Q= -SHA256 (kismet-2007-10-R1.tar.gz) = Aj5/RwOcGthhUFLkZPdqPNSWpCNEm5MQNtEnxW1Ysrk= -SIZE (kismet-2007-10-R1.tar.gz) = 646452 +MD5 (kismet-2008-05-R1.tar.gz) = buNl02NUtN7klF5n+BSSlA== +RMD160 (kismet-2008-05-R1.tar.gz) = VhMge0X4X6ctFGAJQ035hPchzNw= +SHA1 (kismet-2008-05-R1.tar.gz) = g1WusDdKOVSd/cDHMWASXq3XxuI= +SHA256 (kismet-2008-05-R1.tar.gz) = opjUT4puyXcCHNSSpyCYfe2BtcS69faLNvEoKiPJ99M= +SIZE (kismet-2008-05-R1.tar.gz) = 655362 Index: patches/patch-Makefile_in === RCS file: /cvs/ports/net/kismet/patches/patch-Makefile_in,v retrieving revision 1.5 diff -u -p -r1.5 patch-Makefile_in --- patches/patch-Makefile_in 10 Nov 2007 21:10:42 - 1.5 +++ patches/patch-Makefile_in 21 Jun 2008 17:12:55 - @@ -3,20 +3,18 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 # Don't hard code -O2 -Wall. # Use BSD_INSTALL_* macros for installation. Makefile.in.orig Sun Sep 9 23:01:20 2007 -+++ Makefile.inWed Sep 12 22:02:32 2007 -@@ -21,8 +21,8 @@ LD = @CXX@ - LDFLAGS = @LDFLAGS@ +--- Makefile.in.orig Thu May 29 21:18:26 2008 Makefile.inSun Jun 1 13:16:18 2008 +@@ -22,7 +22,7 @@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ CLIBS = @CLIBS@ --CFLAGS= @CPPFLAGS@ + CFLAGS= @CFLAGS@ -CXXFLAGS = -O2 -Wall -DVERSION_MAJOR=\$(VERSION_MAJOR)\ -DVERSION_MINOR=\$(VERSION_MINOR)\ -DVERSION_TINY=\$(VERSION_TINY)\ -DTIMESTAMP=\`cat TIMESTAMP`\ @CXXFLAGS@ -+CFLAGS= @CFLAGS@ +CXXFLAGS = -DVERSION_MAJOR=\$(VERSION_MAJOR)\ -DVERSION_MINOR=\$(VERSION_MINOR)\ -DVERSION_TINY=\$(VERSION_TINY)\ -DTIMESTAMP=\`cat TIMESTAMP`\ @CXXFLAGS@ CPPFLAGS = @CPPFLAGS@ SUID = @suid@ -@@ -137,53 +137,55 @@ checkuiconfig: +@@ -138,53 +138,55 @@ checkuiconfig: echo latest version is `grep version= conf/kismet_ui.conf | cut -f 2 -d=`; \ fi @@ -107,7 +105,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 @if test -f $(BIN)/kismet_curses; then \ echo Removing old kismet_curses binary. The panels frontend is now kismet_client.; \ -@@ -196,22 +198,22 @@ suidinstall: $(PS) $(DRONE) $(NC) $(GPSLBUILD) $(ZAURU +@@ -197,22 +199,22 @@ suidinstall: $(PS) $(DRONE) $(WRAP) $(NC) $(GPSLBUILD) @if test -f $(ETC)/kismet.conf; then \ $(MAKE) -e checkconfig; \ else \ @@ -136,7 +134,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 echo Installed UI config into $(ETC)/kismet_ui.conf.; \ fi @echo Installed kismet into $(BIN)/. -@@ -229,22 +231,22 @@ install: $(PS) $(DRONE) $(NC) $(GPSLBUILD) $(ZAURUSBUI +@@ -230,22 +232,22 @@ install: $(PS) $(DRONE) $(NC) $(WRAP) $(GPSLBUILD) $(Z @if test -f $(ETC)/kismet.conf; then \ $(MAKE) -e checkconfig; \ else \ @@ -165,7 +163,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 echo Installed UI config into $(ETC)/kismet_ui.conf.; \ fi @echo Installed kismet into $(BIN)/. -@@ -260,11 +262,11 @@ install: $(PS) $(DRONE) $(NC) $(GPSLBUILD) $(ZAURUSBUI +@@ -261,11 +263,11 @@ install: $(PS) $(DRONE) $(NC) $(WRAP) $(GPSLBUILD) $(Z forceinstall: $(PS) $(MAKE) -e commoninstall $(MAKE) -e binuserinstall @@ -180,7 +178,7 @@ $OpenBSD: patch-Makefile_in,v 1.5 2007/1 echo Installed UI config into $(ETC)/kismet_ui.conf.;
Re: Update net/kismet
On Fri, Nov 09, 2007 at 12:39:29PM +, Stuart Henderson wrote: On 2007/11/09 11:49, Matthias Kilian wrote: So far I got one test report from sthen@ (for ath). Anyone else? Come on slackers, I want this in, kismet actually works properly with ath(4) now :-) It seems to work fine with my iwi(4) here, but i'm not a kismet expert .. it sees some SSID around, and i'm in the middle of nearly nowhere.. Wifi all around the world :) ! Built fine with FLAVOR=no_gpsmap too. wi, ral, ural still work ok. Unfortunately my GPS and acx cards live in a 4526-20 so testing those is a little awkward... I'd also like to get some reports about gpsd and dbus support. I don't really know how to test dbus, we don't have NetworkManager (http://www.gnome.org/projects/NetworkManager/ - also needs hal) and I'm not sure if kismet dbus support is useful for much else. If that _is_ the case, I'd slightly prefer to disable it (needs to be patched, alas no --disable-dbus) to avoid depending on X. But, well, if nobody else is interested it's probably not worth spending extra time on that :-) I second that, dbus dependency should be dropped and disabled in configure. If someday we get HAL and NM, we'll see. I suppose replacing lines 8466-8665 with HAVE_DBUS=no in configure is enough.. see updated patch-configure joined. We can then remove dbus from LIB_DEPENDS. (and it seems pthread is not needed in WANTLIB in this case, has to be re-checked..) Landry $OpenBSD$ --- configure.orig Sat Oct 6 23:32:15 2007 +++ configure Sat Nov 10 13:28:07 2007 @@ -8463,207 +8463,8 @@ _ACEOF fi # Look for dbus +HAVE_DBUS=false - -if test x$ac_cv_env_PKG_CONFIG_set != xset; then - if test -n $ac_tool_prefix; then - # Extract the first word of ${ac_tool_prefix}pkg-config, so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ echo $as_me:$LINENO: checking for $ac_word 5 -echo $ECHO_N checking for $ac_word... $ECHO_C 6; } -if test ${ac_cv_path_PKG_CONFIG+set} = set; then - echo $ECHO_N (cached) $ECHO_C 6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG=$PKG_CONFIG # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z $as_dir as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f $as_dir/$ac_word$ac_exec_ext $as_test_x $as_dir/$ac_word$ac_exec_ext; }; then -ac_cv_path_PKG_CONFIG=$as_dir/$ac_word$ac_exec_ext -echo $as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext 5 -break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n $PKG_CONFIG; then - { echo $as_me:$LINENO: result: $PKG_CONFIG 5 -echo ${ECHO_T}$PKG_CONFIG 6; } -else - { echo $as_me:$LINENO: result: no 5 -echo ${ECHO_T}no 6; } -fi - - -fi -if test -z $ac_cv_path_PKG_CONFIG; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of pkg-config, so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ echo $as_me:$LINENO: checking for $ac_word 5 -echo $ECHO_N checking for $ac_word... $ECHO_C 6; } -if test ${ac_cv_path_ac_pt_PKG_CONFIG+set} = set; then - echo $ECHO_N (cached) $ECHO_C 6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG=$ac_pt_PKG_CONFIG # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z $as_dir as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f $as_dir/$ac_word$ac_exec_ext $as_test_x $as_dir/$ac_word$ac_exec_ext; }; then -ac_cv_path_ac_pt_PKG_CONFIG=$as_dir/$ac_word$ac_exec_ext -echo $as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext 5 -break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n $ac_pt_PKG_CONFIG; then - { echo $as_me:$LINENO: result: $ac_pt_PKG_CONFIG 5 -echo ${ECHO_T}$ac_pt_PKG_CONFIG 6; } -else - { echo $as_me:$LINENO: result: no 5 -echo ${ECHO_T}no 6; } -fi - - if test x$ac_pt_PKG_CONFIG = x; then -PKG_CONFIG= - else -case $cross_compiling:$ac_tool_warned in -yes:) -{ echo $as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to [EMAIL PROTECTED] 5 -echo $as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to [EMAIL PROTECTED] 2;} -ac_tool_warned=yes ;; -esac -PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG=$ac_cv_path_PKG_CONFIG -fi - -fi -if test -n $PKG_CONFIG; then - _pkg_min_version=0.9.0 - { echo $as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version 5 -echo $ECHO_N
Re: Update net/kismet
On Sat, Nov 10, 2007 at 01:36:00PM +0100, Landry Breuil wrote: I suppose replacing lines 8466-8665 with HAVE_DBUS=no in configure is enough.. see updated patch-configure joined. We can then remove dbus from LIB_DEPENDS. (and it seems pthread is not needed in WANTLIB in this case, has to be re-checked..) Below is a slighly shorter patch (at least the configure part), with fixed LIB_DEPENDS and WANTLIB. I'll commit it this afternoon. Ciao, Kili Index: Makefile === RCS file: /cvs/ports/net/kismet/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile13 Sep 2007 08:35:02 - 1.18 +++ Makefile10 Nov 2007 13:28:54 - @@ -8,10 +8,10 @@ COMMENT-gpsmap= reads GPS and Network XM # No wireless capabilities NOT_FOR_ARCHS=m68k m88k vax -V= 2007-01-R1b +V= 2007-10-R1 DISTNAME= kismet-${V} -PKGNAME-main= kismet-${V:S,-,,g}p0 -PKGNAME-gpsmap=kismet-gpsmap-${V:S,-,,g}p1 +PKGNAME-main= kismet-${V:S,-,,g} +PKGNAME-gpsmap=kismet-gpsmap-${V:S,-,,g} CATEGORIES=net security HOMEPAGE= http://www.kismetwireless.net/ @@ -25,13 +25,14 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM=Yes PERMIT_DISTFILES_FTP= Yes -CONFIGURE_STYLE= autoconf old -AUTOCONF_VERSION= 2.59 +# old is required for setting --sysconfdir +CONFIGURE_STYLE= gnu old CONFDIR= ${SYSCONFDIR}/kismet SUBST_VARS+= CONFDIR -CONFIGURE_ARGS=--sysconfdir=${CONFDIR} +CONFIGURE_ARGS=--sysconfdir=${CONFDIR} \ + --mandir=${PREFIX}/man CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include -I${LOCALBASE}/include \ LDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib @@ -67,7 +68,7 @@ CONFIGURE_ARGS+= --disable-gpsmap post-configure: @cd ${WRKSRC} ${GMAKE} depend -post-build: +post-patch: @perl -pi -e \ 's,/usr/local/etc(/kismet.conf),${CONFDIR}$$1,' \ ${WRKSRC}/man/kismet.conf.5 Index: distinfo === RCS file: /cvs/ports/net/kismet/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo9 Apr 2007 20:50:57 - 1.5 +++ distinfo10 Nov 2007 13:28:54 - @@ -1,5 +1,5 @@ -MD5 (kismet-2007-01-R1b.tar.gz) = odzqcfDD+IHvcvW8ott7OQ== -RMD160 (kismet-2007-01-R1b.tar.gz) = HwZr0maeVx/+YnibgqKLvezipHk= -SHA1 (kismet-2007-01-R1b.tar.gz) = 0JJW50TsDKkk+Ahj/quo5UjUtL8= -SHA256 (kismet-2007-01-R1b.tar.gz) = G5mLNOLpN39ax3BCldZFByNP52VuSdOE+L+VYE6X4Fs= -SIZE (kismet-2007-01-R1b.tar.gz) = 625585 +MD5 (kismet-2007-10-R1.tar.gz) = IQDGZ+adsM3jX6LQbIUW4g== +RMD160 (kismet-2007-10-R1.tar.gz) = fLYqP9lkye5+Tsa+8FBVjIBqtJU= +SHA1 (kismet-2007-10-R1.tar.gz) = ocaCeXrWhCtT+eDwOCVKqDJuD7Q= +SHA256 (kismet-2007-10-R1.tar.gz) = Aj5/RwOcGthhUFLkZPdqPNSWpCNEm5MQNtEnxW1Ysrk= +SIZE (kismet-2007-10-R1.tar.gz) = 646452 Index: patches/patch-Makefile_in === RCS file: /cvs/ports/net/kismet/patches/patch-Makefile_in,v retrieving revision 1.4 diff -u -p -r1.4 patch-Makefile_in --- patches/patch-Makefile_in 9 Apr 2007 20:50:57 - 1.4 +++ patches/patch-Makefile_in 10 Nov 2007 13:28:54 - @@ -3,8 +3,8 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 # Don't hard code -O2 -Wall. # Use BSD_INSTALL_* macros for installation. Makefile.in.orig Fri Dec 15 00:01:06 2006 -+++ Makefile.inThu Dec 28 11:06:53 2006 +--- Makefile.in.orig Sun Sep 9 23:01:20 2007 Makefile.inWed Sep 12 22:02:32 2007 @@ -21,8 +21,8 @@ LD = @CXX@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @@ -16,9 +16,12 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 CPPFLAGS = @CPPFLAGS@ SUID = @suid@ -@@ -128,52 +128,52 @@ checkuiconfig: +@@ -137,53 +137,55 @@ checkuiconfig: + echo latest version is `grep version= conf/kismet_ui.conf | cut -f 2 -d=`; \ fi ++.PHONY: binuserinstall ++ binuserinstall: - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(PS) $(BIN)/$(PS); - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(DRONE) $(BIN)/$(DRONE); @@ -37,10 +40,10 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 + $(BSD_INSTALL_DATA_DIR) $(ETC) + $(BSD_INSTALL_PROGRAM_DIR) $(BIN) -- install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet $(BIN)/kismet +- install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(WRAP) $(BIN)/kismet - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(NC) $(BIN)/$(NC) - # install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(HOPPER) $(BIN)/$(HOPPER) -+ $(BSD_INSTALL_SCRIPT) scripts/kismet $(BIN)/kismet ++ $(BSD_INSTALL_PROGRAM) $(WRAP) $(BIN)/kismet + $(BSD_INSTALL_PROGRAM) $(NC) $(BIN)/$(NC) + # $(BSD_INSTALL_PROGRAM) $(HOPPER) $(BIN)/$(HOPPER) @if test $(ZAURUS) = yes; then \ @@
Re: Update net/kismet
On Sat, Nov 10, 2007 at 02:30:51PM +0100, Matthias Kilian wrote: On Sat, Nov 10, 2007 at 01:36:00PM +0100, Landry Breuil wrote: I suppose replacing lines 8466-8665 with HAVE_DBUS=no in configure is enough.. see updated patch-configure joined. We can then remove dbus from LIB_DEPENDS. (and it seems pthread is not needed in WANTLIB in this case, has to be re-checked..) Below is a slighly shorter patch (at least the configure part), with fixed LIB_DEPENDS and WANTLIB. I'll commit it this afternoon. Ciao, Kili Tested with this diff on amd64 with malo. Channel hopping works fine. Index: Makefile === RCS file: /cvs/ports/net/kismet/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile 13 Sep 2007 08:35:02 - 1.18 +++ Makefile 10 Nov 2007 13:28:54 - @@ -8,10 +8,10 @@ COMMENT-gpsmap= reads GPS and Network XM # No wireless capabilities NOT_FOR_ARCHS=m68k m88k vax -V=2007-01-R1b +V=2007-10-R1 DISTNAME= kismet-${V} -PKGNAME-main= kismet-${V:S,-,,g}p0 -PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}p1 +PKGNAME-main= kismet-${V:S,-,,g} +PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g} CATEGORIES= net security HOMEPAGE= http://www.kismetwireless.net/ @@ -25,13 +25,14 @@ PERMIT_PACKAGE_FTP=Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -CONFIGURE_STYLE= autoconf old -AUTOCONF_VERSION= 2.59 +# old is required for setting --sysconfdir +CONFIGURE_STYLE= gnu old CONFDIR= ${SYSCONFDIR}/kismet SUBST_VARS+= CONFDIR -CONFIGURE_ARGS= --sysconfdir=${CONFDIR} +CONFIGURE_ARGS= --sysconfdir=${CONFDIR} \ + --mandir=${PREFIX}/man CONFIGURE_ENV=CPPFLAGS=-I${X11BASE}/include -I${LOCALBASE}/include \ LDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib @@ -67,7 +68,7 @@ CONFIGURE_ARGS+= --disable-gpsmap post-configure: @cd ${WRKSRC} ${GMAKE} depend -post-build: +post-patch: @perl -pi -e \ 's,/usr/local/etc(/kismet.conf),${CONFDIR}$$1,' \ ${WRKSRC}/man/kismet.conf.5 Index: distinfo === RCS file: /cvs/ports/net/kismet/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 9 Apr 2007 20:50:57 - 1.5 +++ distinfo 10 Nov 2007 13:28:54 - @@ -1,5 +1,5 @@ -MD5 (kismet-2007-01-R1b.tar.gz) = odzqcfDD+IHvcvW8ott7OQ== -RMD160 (kismet-2007-01-R1b.tar.gz) = HwZr0maeVx/+YnibgqKLvezipHk= -SHA1 (kismet-2007-01-R1b.tar.gz) = 0JJW50TsDKkk+Ahj/quo5UjUtL8= -SHA256 (kismet-2007-01-R1b.tar.gz) = G5mLNOLpN39ax3BCldZFByNP52VuSdOE+L+VYE6X4Fs= -SIZE (kismet-2007-01-R1b.tar.gz) = 625585 +MD5 (kismet-2007-10-R1.tar.gz) = IQDGZ+adsM3jX6LQbIUW4g== +RMD160 (kismet-2007-10-R1.tar.gz) = fLYqP9lkye5+Tsa+8FBVjIBqtJU= +SHA1 (kismet-2007-10-R1.tar.gz) = ocaCeXrWhCtT+eDwOCVKqDJuD7Q= +SHA256 (kismet-2007-10-R1.tar.gz) = Aj5/RwOcGthhUFLkZPdqPNSWpCNEm5MQNtEnxW1Ysrk= +SIZE (kismet-2007-10-R1.tar.gz) = 646452 Index: patches/patch-Makefile_in === RCS file: /cvs/ports/net/kismet/patches/patch-Makefile_in,v retrieving revision 1.4 diff -u -p -r1.4 patch-Makefile_in --- patches/patch-Makefile_in 9 Apr 2007 20:50:57 - 1.4 +++ patches/patch-Makefile_in 10 Nov 2007 13:28:54 - @@ -3,8 +3,8 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 # Don't hard code -O2 -Wall. # Use BSD_INSTALL_* macros for installation. Makefile.in.orig Fri Dec 15 00:01:06 2006 -+++ Makefile.in Thu Dec 28 11:06:53 2006 +--- Makefile.in.orig Sun Sep 9 23:01:20 2007 Makefile.in Wed Sep 12 22:02:32 2007 @@ -21,8 +21,8 @@ LD = @CXX@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @@ -16,9 +16,12 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 CPPFLAGS = @CPPFLAGS@ SUID = @suid@ -@@ -128,52 +128,52 @@ checkuiconfig: +@@ -137,53 +137,55 @@ checkuiconfig: + echo latest version is `grep version= conf/kismet_ui.conf | cut -f 2 -d=`; \ fi ++.PHONY: binuserinstall ++ binuserinstall: - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(PS) $(BIN)/$(PS); - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(DRONE) $(BIN)/$(DRONE); @@ -37,10 +40,10 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 + $(BSD_INSTALL_DATA_DIR) $(ETC) + $(BSD_INSTALL_PROGRAM_DIR) $(BIN) -- install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet $(BIN)/kismet +- install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(WRAP) $(BIN)/kismet - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(NC) $(BIN)/$(NC) - # install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(HOPPER) $(BIN)/$(HOPPER) -+ $(BSD_INSTALL_SCRIPT) scripts/kismet $(BIN)/kismet ++ $(BSD_INSTALL_PROGRAM) $(WRAP) $(BIN)/kismet + $(BSD_INSTALL_PROGRAM) $(NC) $(BIN)/$(NC) +
Re: Update net/kismet
So far I got one test report from sthen@ (for ath). Anyone else? I'd also like to get some reports about gpsd and dbus support. On Sun, Oct 14, 2007 at 11:41:56PM +0200, Matthias Kilian wrote: Update to the latest kismet release. Please test and comment. Index: Makefile === RCS file: /cvs/ports/net/kismet/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile 13 Sep 2007 08:35:02 - 1.18 +++ Makefile 14 Oct 2007 21:36:49 - @@ -8,10 +8,10 @@ COMMENT-gpsmap= reads GPS and Network XM # No wireless capabilities NOT_FOR_ARCHS=m68k m88k vax -V= 2007-01-R1b +V= 2007-10-R1 DISTNAME=kismet-${V} -PKGNAME-main=kismet-${V:S,-,,g}p0 -PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g}p1 +PKGNAME-main=kismet-${V:S,-,,g} +PKGNAME-gpsmap= kismet-gpsmap-${V:S,-,,g} CATEGORIES= net security HOMEPAGE=http://www.kismetwireless.net/ @@ -25,13 +25,14 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP=Yes -CONFIGURE_STYLE= autoconf old -AUTOCONF_VERSION=2.59 +# old is required for setting --sysconfdir +CONFIGURE_STYLE= gnu old CONFDIR= ${SYSCONFDIR}/kismet SUBST_VARS+= CONFDIR -CONFIGURE_ARGS= --sysconfdir=${CONFDIR} +CONFIGURE_ARGS= --sysconfdir=${CONFDIR} \ + --mandir=${PREFIX}/man CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include -I${LOCALBASE}/include \ LDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib @@ -49,7 +50,9 @@ FLAVOR?= MULTI_PACKAGES= -main -WANTLIB-main=c m ncurses panel pcap stdc++ +LIB_DEPENDS= dbus-1.=6::x11/dbus + +WANTLIB-main=c m ncurses panel pcap pthread stdc++ .if !${FLAVOR:L:Mno_gpsmap} USE_X11= Yes @@ -58,7 +61,8 @@ WANTLIB-gpsmap= c ICE SM X11 Xext Xt bz jasper jbig jpeg lcms m png pthread stdc++ \ tiff xml2 z WANTLIB-main+= z -LIB_DEPENDS-gpsmap= Magick.=11,Wand.=11::graphics/ImageMagick \ +LIB_DEPENDS-gpsmap= ${LIB_DEPENDS} \ + Magick.=11,Wand.=11::graphics/ImageMagick \ gmp.=6::devel/gmp .else CONFIGURE_ARGS+= --disable-gpsmap @@ -67,7 +71,7 @@ CONFIGURE_ARGS+=--disable-gpsmap post-configure: @cd ${WRKSRC} ${GMAKE} depend -post-build: +post-patch: @perl -pi -e \ 's,/usr/local/etc(/kismet.conf),${CONFDIR}$$1,' \ ${WRKSRC}/man/kismet.conf.5 Index: distinfo === RCS file: /cvs/ports/net/kismet/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 9 Apr 2007 20:50:57 - 1.5 +++ distinfo 14 Oct 2007 21:36:49 - @@ -1,5 +1,5 @@ -MD5 (kismet-2007-01-R1b.tar.gz) = odzqcfDD+IHvcvW8ott7OQ== -RMD160 (kismet-2007-01-R1b.tar.gz) = HwZr0maeVx/+YnibgqKLvezipHk= -SHA1 (kismet-2007-01-R1b.tar.gz) = 0JJW50TsDKkk+Ahj/quo5UjUtL8= -SHA256 (kismet-2007-01-R1b.tar.gz) = G5mLNOLpN39ax3BCldZFByNP52VuSdOE+L+VYE6X4Fs= -SIZE (kismet-2007-01-R1b.tar.gz) = 625585 +MD5 (kismet-2007-10-R1.tar.gz) = IQDGZ+adsM3jX6LQbIUW4g== +RMD160 (kismet-2007-10-R1.tar.gz) = fLYqP9lkye5+Tsa+8FBVjIBqtJU= +SHA1 (kismet-2007-10-R1.tar.gz) = ocaCeXrWhCtT+eDwOCVKqDJuD7Q= +SHA256 (kismet-2007-10-R1.tar.gz) = Aj5/RwOcGthhUFLkZPdqPNSWpCNEm5MQNtEnxW1Ysrk= +SIZE (kismet-2007-10-R1.tar.gz) = 646452 Index: patches/patch-Makefile_in === RCS file: /cvs/ports/net/kismet/patches/patch-Makefile_in,v retrieving revision 1.4 diff -u -p -r1.4 patch-Makefile_in --- patches/patch-Makefile_in 9 Apr 2007 20:50:57 - 1.4 +++ patches/patch-Makefile_in 14 Oct 2007 21:36:49 - @@ -3,8 +3,8 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 # Don't hard code -O2 -Wall. # Use BSD_INSTALL_* macros for installation. Makefile.in.orig Fri Dec 15 00:01:06 2006 -+++ Makefile.in Thu Dec 28 11:06:53 2006 +--- Makefile.in.orig Sun Sep 9 23:01:20 2007 Makefile.in Wed Sep 12 22:02:32 2007 @@ -21,8 +21,8 @@ LD = @CXX@ LDFLAGS = @LDFLAGS@ LIBS= @LIBS@ @@ -16,9 +16,12 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 CPPFLAGS = @CPPFLAGS@ SUID= @suid@ -@@ -128,52 +128,52 @@ checkuiconfig: +@@ -137,53 +137,55 @@ checkuiconfig: + echo latest version is `grep version= conf/kismet_ui.conf | cut -f 2 -d=`; \ fi ++.PHONY: binuserinstall ++ binuserinstall: -install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(PS) $(BIN)/$(PS); -install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(DRONE) $(BIN)/$(DRONE); @@ -37,10 +40,10 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 +
Re: Update net/kismet
On Fri, Nov 09, 2007 at 12:15:36PM +0100, viq wrote: So far I got one test report from sthen@ (for ath). Anyone else? I'd also like to get some reports about gpsd and dbus support. I will try it with ral on i386. Unfortunately I don't have GPS hardware available... What is dbus supposed to do? After having yet another look, I think I could just disable dbus support for kismet, since we don't have Networkmanager in ports. From the README: DBUS: http://dbus.freedesktop.org/ OPTIONAL for networkmanager control Networkmanager is a network connection management tool. It can reconfigure devices while Kismet is running, and should be stopped. If Kismet is compiled with DBUS support and the networkmanagersleep variable in kismet.conf is true, Kismet will use DBUS to send sleep/wake commands to Networkmanager Ciao, Kili
Re: Update net/kismet
On 2007/11/09 11:49, Matthias Kilian wrote: So far I got one test report from sthen@ (for ath). Anyone else? Come on slackers, I want this in, kismet actually works properly with ath(4) now :-) wi, ral, ural still work ok. Unfortunately my GPS and acx cards live in a 4526-20 so testing those is a little awkward... I'd also like to get some reports about gpsd and dbus support. I don't really know how to test dbus, we don't have NetworkManager (http://www.gnome.org/projects/NetworkManager/ - also needs hal) and I'm not sure if kismet dbus support is useful for much else. If that _is_ the case, I'd slightly prefer to disable it (needs to be patched, alas no --disable-dbus) to avoid depending on X. But, well, if nobody else is interested it's probably not worth spending extra time on that :-)
Re: Update net/kismet
On Sat, Nov 10, 2007 at 12:05:57AM +0100, viq wrote: Yeah, my ral sees some networks with this. Does channel switching work?
Update net/kismet
Update to the latest kismet release. Please test and comment. Index: Makefile === RCS file: /cvs/ports/net/kismet/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile13 Sep 2007 08:35:02 - 1.18 +++ Makefile14 Oct 2007 21:36:49 - @@ -8,10 +8,10 @@ COMMENT-gpsmap= reads GPS and Network XM # No wireless capabilities NOT_FOR_ARCHS=m68k m88k vax -V= 2007-01-R1b +V= 2007-10-R1 DISTNAME= kismet-${V} -PKGNAME-main= kismet-${V:S,-,,g}p0 -PKGNAME-gpsmap=kismet-gpsmap-${V:S,-,,g}p1 +PKGNAME-main= kismet-${V:S,-,,g} +PKGNAME-gpsmap=kismet-gpsmap-${V:S,-,,g} CATEGORIES=net security HOMEPAGE= http://www.kismetwireless.net/ @@ -25,13 +25,14 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM=Yes PERMIT_DISTFILES_FTP= Yes -CONFIGURE_STYLE= autoconf old -AUTOCONF_VERSION= 2.59 +# old is required for setting --sysconfdir +CONFIGURE_STYLE= gnu old CONFDIR= ${SYSCONFDIR}/kismet SUBST_VARS+= CONFDIR -CONFIGURE_ARGS=--sysconfdir=${CONFDIR} +CONFIGURE_ARGS=--sysconfdir=${CONFDIR} \ + --mandir=${PREFIX}/man CONFIGURE_ENV= CPPFLAGS=-I${X11BASE}/include -I${LOCALBASE}/include \ LDFLAGS=-L${X11BASE}/lib -L${LOCALBASE}/lib @@ -49,7 +50,9 @@ FLAVOR?= MULTI_PACKAGES=-main -WANTLIB-main= c m ncurses panel pcap stdc++ +LIB_DEPENDS= dbus-1.=6::x11/dbus + +WANTLIB-main= c m ncurses panel pcap pthread stdc++ .if !${FLAVOR:L:Mno_gpsmap} USE_X11= Yes @@ -58,7 +61,8 @@ WANTLIB-gpsmap= c ICE SM X11 Xext Xt bz jasper jbig jpeg lcms m png pthread stdc++ \ tiff xml2 z WANTLIB-main+= z -LIB_DEPENDS-gpsmap=Magick.=11,Wand.=11::graphics/ImageMagick \ +LIB_DEPENDS-gpsmap=${LIB_DEPENDS} \ + Magick.=11,Wand.=11::graphics/ImageMagick \ gmp.=6::devel/gmp .else CONFIGURE_ARGS+= --disable-gpsmap @@ -67,7 +71,7 @@ CONFIGURE_ARGS+= --disable-gpsmap post-configure: @cd ${WRKSRC} ${GMAKE} depend -post-build: +post-patch: @perl -pi -e \ 's,/usr/local/etc(/kismet.conf),${CONFDIR}$$1,' \ ${WRKSRC}/man/kismet.conf.5 Index: distinfo === RCS file: /cvs/ports/net/kismet/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo9 Apr 2007 20:50:57 - 1.5 +++ distinfo14 Oct 2007 21:36:49 - @@ -1,5 +1,5 @@ -MD5 (kismet-2007-01-R1b.tar.gz) = odzqcfDD+IHvcvW8ott7OQ== -RMD160 (kismet-2007-01-R1b.tar.gz) = HwZr0maeVx/+YnibgqKLvezipHk= -SHA1 (kismet-2007-01-R1b.tar.gz) = 0JJW50TsDKkk+Ahj/quo5UjUtL8= -SHA256 (kismet-2007-01-R1b.tar.gz) = G5mLNOLpN39ax3BCldZFByNP52VuSdOE+L+VYE6X4Fs= -SIZE (kismet-2007-01-R1b.tar.gz) = 625585 +MD5 (kismet-2007-10-R1.tar.gz) = IQDGZ+adsM3jX6LQbIUW4g== +RMD160 (kismet-2007-10-R1.tar.gz) = fLYqP9lkye5+Tsa+8FBVjIBqtJU= +SHA1 (kismet-2007-10-R1.tar.gz) = ocaCeXrWhCtT+eDwOCVKqDJuD7Q= +SHA256 (kismet-2007-10-R1.tar.gz) = Aj5/RwOcGthhUFLkZPdqPNSWpCNEm5MQNtEnxW1Ysrk= +SIZE (kismet-2007-10-R1.tar.gz) = 646452 Index: patches/patch-Makefile_in === RCS file: /cvs/ports/net/kismet/patches/patch-Makefile_in,v retrieving revision 1.4 diff -u -p -r1.4 patch-Makefile_in --- patches/patch-Makefile_in 9 Apr 2007 20:50:57 - 1.4 +++ patches/patch-Makefile_in 14 Oct 2007 21:36:49 - @@ -3,8 +3,8 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 # Don't hard code -O2 -Wall. # Use BSD_INSTALL_* macros for installation. Makefile.in.orig Fri Dec 15 00:01:06 2006 -+++ Makefile.inThu Dec 28 11:06:53 2006 +--- Makefile.in.orig Sun Sep 9 23:01:20 2007 Makefile.inWed Sep 12 22:02:32 2007 @@ -21,8 +21,8 @@ LD = @CXX@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ @@ -16,9 +16,12 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 CPPFLAGS = @CPPFLAGS@ SUID = @suid@ -@@ -128,52 +128,52 @@ checkuiconfig: +@@ -137,53 +137,55 @@ checkuiconfig: + echo latest version is `grep version= conf/kismet_ui.conf | cut -f 2 -d=`; \ fi ++.PHONY: binuserinstall ++ binuserinstall: - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(PS) $(BIN)/$(PS); - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(DRONE) $(BIN)/$(DRONE); @@ -37,10 +40,10 @@ $OpenBSD: patch-Makefile_in,v 1.4 2007/0 + $(BSD_INSTALL_DATA_DIR) $(ETC) + $(BSD_INSTALL_PROGRAM_DIR) $(BIN) -- install -o $(INSTUSR) -g $(INSTGRP) -m 755 scripts/kismet $(BIN)/kismet +- install -o $(INSTUSR) -g $(INSTGRP) -m 755 $(WRAP) $(BIN)/kismet - install -o $(INSTUSR) -g $(INSTGRP) -s -m 755 $(NC)
Re: update: net/kismet
is anyone using a wpi card with this version of kismet? Sam Fourman Jr. On 2/20/07, Steffen Schuetz [EMAIL PROTECTED] wrote: On Tuesday 13 February 2007 22:36, Matthias Kilian wrote: It's late, but well... an ok would be nice, since this removes millions of patches and also fixes some bugs (and neither did i see any regression nor did i get regression reports). Well, I would vote for an OK because this updated port works far better than the one which is now in the ports tree. Steffen
Re: update: net/kismet
On Tuesday 13 February 2007 22:36, Matthias Kilian wrote: It's late, but well... an ok would be nice, since this removes millions of patches and also fixes some bugs (and neither did i see any regression nor did i get regression reports). Well, I would vote for an OK because this updated port works far better than the one which is now in the ports tree. Steffen
Re: update: net/kismet
On Wed, Jan 31, 2007 at 05:50:37PM +0100, Simon Kuhnle wrote: Which zyd are you testing with? I have the following zyd and see lots of data corruption like garbled SSIDs in kismet, and it doesn't seem to channel hop correctly. For general problems (data corruption, no data at all), please also try tcpdump in monitor mode. (See also tcpdump(8), option `-y') Channel hopping: it detects SSIDs from differen channels, but the thing in the lower right corner showing the current channel doesn't change. But it gets SSIDs from other channels than that one being printed out to the screen. This may be the same problem as in PR #5321 (from Steffen Schuetz), since the same code appears in sys/dev/usb/if_ral.c and sys/dev/usb/if_zyd.c Ciao, Kili -- Because the commonest use of LIAF is in iteration, LIAF means Loop Iterate Awaiting Failure. If that's too hard to remember, just pretend that LIAF is FAIL spelled backwards. -- Bill Yerazunis in The CRM114 Discriminator Revealed!
Re: update: net/kismet
On Monday 22 January 2007 08:55, Matthias Kilian wrote: Update to kismet 2007-01-R1b. Tested on zaurus with wi(4). Please test and comment. Ciao, Kili Thank you for the update ! I've tested this with wi(4), ral(4) , ath(4) and malo(4) on amd64. Kismet and wi(4) worked without any problems for me. The same with ral(4), but with the exception of bugreport #5321. Using ath(4) or malo(4) , kismet shows detected networks but no data packets will be captured. While using kismet with malo(4) , i could observe the kismet_server process running at 100% CPU usage - which resulted in a slowly-acting system. Steffen
Re: update: net/kismet
On 1/21/07, Matthias Kilian [EMAIL PROTECTED] wrote: Update to kismet 2007-01-R1b. Tested on zaurus with wi(4). Please test and comment. Works for me on i386 with 2 wi interfaces.
Re: update: net/kismet
I should also point out that tcpdump -i wpi0 -y IEEE802_11_RADIO works as expected. maybe this has the same trouble as the ral device Sam Fourman Jr. On 12/10/06, Sam Fourman Jr. [EMAIL PROTECTED] wrote: For what it is worth I get a device timed out error on a lenovo notebook with a wpi device when i try to start kismet Sam Fourman Jr. On 12/10/06, John Danks [EMAIL PROTECTED] wrote: On 12/10/06, Matthias Kilian [EMAIL PROTECTED] wrote: On Sun, Dec 10, 2006 at 08:35:38AM +, pedro la peu wrote: Sets BIOCIMMEDIATE and BIOCPROMISC. Fixes an apm display bug. Adds rssi support. Please test. Could someone else step in here? I've some serious trouble with my GN-WPKG/RT2560 (a ral(4)), because neither monitor mode nor AP scan (using ifconfig -M) work reliably. Until i can track this down to get at least some useful PR, i can't do any useful tests. Works for me on i386 with two wi and a zyd interface. Screen updates are much faster, like they used to be.
Re: update: net/kismet
On Thursday 07 December 2006 15:45, Steffen Schuetz wrote: And the second problem was loosing promiscuous mode on the card. Yeah, pcap_set_datalink() calls bpf_setdlt() which calls bpf_detachd() which disables promisc. The 1st diff below changes the order in Packetsourcetracker::BindSources() so that pcap_set_datalink() happens before the interface is configured for monitor mode. The 2nd diff fixes an apm display bug in the client. There's another bug that's causing Kismet to see far fewer packets than it should, I'm looking into that. Please test. --- /dev/null Fri Dec 8 19:50:48 2006 +++ patches/patch-packetsourcetracker_cc Fri Dec 8 19:29:34 2006 @@ -0,0 +1,55 @@ +$OpenBSD$ +--- packetsourcetracker.cc.orig Fri Dec 8 19:19:30 2006 packetsourcetracker.cc Fri Dec 8 19:23:38 2006 +@@ -670,25 +670,6 @@ int Packetsourcetracker::BindSources(int + return -1; + } + +-// Enable monitor mode +-int ret = 0; +-if (meta-prototype-monitor_enable != NULL) { +-fprintf(stderr, Source %d (%s): Enabling monitor mode for %s source +-interface %s channel %d...\n, +-x, meta-name.c_str(), meta-prototype-cardtype.c_str(), +-meta-device.c_str(), meta-cur_ch); +- +-ret = (*meta-prototype-monitor_enable)(meta-device.c_str(), +- meta-cur_ch, errstr, +- meta-stored_interface, +- (void *) meta-capsource); +-} +- +-if (ret 0) { +-// Errstr gets filled out by the monitor command via reference argument +-return -1; +-} +- + // Add it to the live sources vector + live_packsources.push_back(meta-capsource); + +@@ -703,6 +684,25 @@ int Packetsourcetracker::BindSources(int + if (meta-capsource-OpenSource() 0) { + meta-valid = 0; + snprintf(errstr, 1024, %s, meta-capsource-FetchError()); ++return -1; ++} ++ ++// Enable monitor mode ++int ret = 0; ++if (meta-prototype-monitor_enable != NULL) { ++fprintf(stderr, Source %d (%s): Enabling monitor mode for %s source ++interface %s channel %d...\n, ++x, meta-name.c_str(), meta-prototype-cardtype.c_str(), ++meta-device.c_str(), meta-cur_ch); ++ ++ret = (*meta-prototype-monitor_enable)(meta-device.c_str(), ++ meta-cur_ch, errstr, ++ meta-stored_interface, ++ (void *) meta-capsource); ++} ++ ++if (ret 0) { ++// Errstr gets filled out by the monitor command via reference argument + return -1; + } + Index: patches/patch-panelfront_cc === RCS file: /cvs/ports/net/kismet/patches/patch-panelfront_cc,v retrieving revision 1.4 diff -u -r1.4 patch-panelfront_cc --- patches/patch-panelfront_cc 1 Nov 2006 21:13:20 - 1.4 +++ patches/patch-panelfront_cc 8 Dec 2006 22:37:17 - @@ -2,8 +2,8 @@ # Make this work on archs without apm. Fix battery display. panelfront.cc.orig Wed Jun 29 20:04:43 2005 -+++ panelfront.cc Fri Oct 20 13:42:27 2006 +--- panelfront.cc.orig Wed Jun 29 19:04:43 2005 panelfront.cc Fri Dec 8 21:39:00 2006 @@ -22,7 +22,7 @@ #include sys/types.h #include dirent.h @@ -50,7 +50,21 @@ struct apm_power_info api; int apmfd; -@@ -1561,7 +1561,7 @@ int PanelFront::Tick() { +@@ -1543,11 +1543,13 @@ int PanelFront::Tick() { + if ((apmfd = open(/dev/apm, O_RDONLY)) 0) { + bat_available = 0; + WriteStatus(Unable to open /dev/apm\n); ++ monitor_bat = 0; + return 1; + } else if (ioctl(apmfd, APM_IOC_GETPOWER, api) 0) { + bat_available = 0; + WriteStatus(Apm ioctl failed\n); + close(apmfd); ++ monitor_bat = 0; + return 1; + } else { + close(apmfd); +@@ -1561,7 +1563,7 @@ int PanelFront::Tick() { } if (bat_available == 1) { bat_percentage = (int)api.battery_life;
Re: update: net/kismet
On Wednesday 08 November 2006 21:35, Matthias Kilian wrote: On Sun, Oct 29, 2006 at 04:15:40PM +0100, Steffen Schuetz wrote: With ath(4) only detecting networks worked; i was not able to capture data packets. I've got another report where not even detection worked. Which capture source did you use? source=radiotap_bsd_b,ath0,radiotap_bsd_b The ral(4) card didn't work in monitor mode - i had to disable the monitor mode by hand using ifconfig _after_ starting kismet. But even then only discovering networks worked for me. I just veryfied that ral(4) doesn't work (using radiotap_bsd_b), however I didn't try the part disabling monitor mode. On the other hand, tcpdump -y IEEE802_11_RADOI *did* work. Time to have a look at the OpenBSD specific parts of pcapsource.cc, I guess. I've an update regarding ral and kismet - detecting networks _and_ capturing data using a ral card with kismet works now for me. There were two problems to solve. The first problem was the ral driver not reporting channel changes back to the application. There is a bug report ( kernel/5321 ) which includes a patch for this. And the second problem was loosing promiscuous mode on the card. It seems that inside PcapSource::OpenSource() right after calling pcap_set_datalink(pd, DLT_IEEE802_11_RADIO), the promiscuous mode gets unset. To make sure the card is in promiscuous mode while running kismet, i've added one ioctl after the pcal_set_datalink call. And then it works for me. A patch against your port which includes my changes is at the end of this message. After that patch you can find the dmesg, just to show on which hardware i've tested. Steffen --8--8--8--8--8--8--8--8--8--8 Index: net/kismet/patches/patch-pcapsource_cc === RCS file: /home/cvsync/ports/net/kismet/patches/patch-pcapsource_cc,v retrieving revision 1.2 diff -u -r1.2 patch-pcapsource_cc --- net/kismet/patches/patch-pcapsource_cc 1 Nov 2006 21:13:20 - 1.2 +++ net/kismet/patches/patch-pcapsource_cc 3 Dec 2006 16:43:28 - @@ -5,8 +5,19 @@ # close(2). --- pcapsource.cc.orig Sun Apr 2 17:13:00 2006 -+++ pcapsource.cc Fri Oct 20 13:42:27 2006 -@@ -124,17 +124,17 @@ int PcapSource::OpenSource() { pcapsource.cc Sun Dec 3 17:43:08 2006 +@@ -108,7 +108,9 @@ typedef unsigned long u64; + #ifdef HAVE_LIBPCAP + + // This is such a bad thing to do... +-// #include pcap-int.h ++#if defined(SYS_OPENBSD) ++#include pcap-int.h ++#endif + + // Pcap global callback structs + pcap_pkthdr callback_header; +@@ -124,17 +126,18 @@ int PcapSource::OpenSource() { pd = pcap_open_live(unconst, MAX_PACKET_LEN, 1, 1000, errstr); @@ -19,6 +30,7 @@ /* Request desired DLT on multi-DLT systems that default to EN10MB. We do this later anyway but doing it here ensures we have the desired DLT from the get go. */ pcap_set_datalink(pd, DLT_IEEE802_11_RADIO); ++ ioctl(pd-fd, BIOCPROMISC, NULL); #endif -free(unconst); @@ -29,7 +41,7 @@ paused = 0; errstr[0] = '\0'; -@@ -146,7 +146,7 @@ int PcapSource::OpenSource() { +@@ -146,7 +149,7 @@ int PcapSource::OpenSource() { #ifdef HAVE_PCAP_NONBLOCK pcap_setnonblock(pd, 1, errstr); @@ -38,7 +50,7 @@ // do something clever (Thanks to Guy Harris for suggesting this). int save_mode = fcntl(pcap_get_selectable_fd(pd), F_GETFL, 0); if (fcntl(pcap_get_selectable_fd(pd), F_SETFL, save_mode | O_NONBLOCK) 0) { -@@ -180,6 +180,20 @@ int PcapSource::FetchSignalLevels(int *i +@@ -180,6 +183,20 @@ int PcapSource::FetchSignalLevels(int *i return 0; } @@ -59,7 +71,7 @@ // Errorcheck the datalink type int PcapSource::DatalinkType() { datalink_type = pcap_datalink(pd); -@@ -233,7 +247,13 @@ int PcapSource::CloseSource() { +@@ -233,7 +250,13 @@ int PcapSource::CloseSource() { } int PcapSource::FetchDescriptor() { @@ -73,7 +85,7 @@ } void PcapSource::Callback(u_char *bp, const struct pcap_pkthdr *header, -@@ -291,7 +311,8 @@ int PcapSource::ManglePacket(kis_packet +@@ -291,7 +314,8 @@ int PcapSource::ManglePacket(kis_packet int ret = 0; memset(packet, 0, sizeof(kis_packet)); @@ -83,7 +95,7 @@ packet-data = data; packet-moddata = moddata; packet-modified = 0; -@@ -310,9 +331,35 @@ int PcapSource::ManglePacket(kis_packet +@@ -310,9 +334,35 @@ int PcapSource::ManglePacket(kis_packet ret = Radiotap2KisPack(packet, data, moddata); #endif } else { @@ -120,7 +132,7 @@ ret = 1; } -@@ -2054,7 +2101,10 @@ int monitor_ipwlivetap(const char *in_de +@@ -2054,7 +2104,10 @@ int monitor_ipwlivetap(const char *in_de return -1; } @@ -132,7 +144,7 @@ // We're done with the RO fclose(sysf); -@@ -2084,7 +2134,10 @@ int monitor_ipwlivetap(const char *in_de +@@ -2084,7
Re: update: net/kismet
On Sun, Oct 29, 2006 at 04:15:40PM +0100, Steffen Schuetz wrote: With ath(4) only detecting networks worked; i was not able to capture data packets. I've got another report where not even detection worked. Which capture source did you use? The ral(4) card didn't work in monitor mode - i had to disable the monitor mode by hand using ifconfig _after_ starting kismet. But even then only discovering networks worked for me. I just veryfied that ral(4) doesn't work (using radiotap_bsd_b), however I didn't try the part disabling monitor mode. On the other hand, tcpdump -y IEEE802_11_RADOI *did* work. Time to have a look at the OpenBSD specific parts of pcapsource.cc, I guess. Ciao, Kili
Re: update: net/kismet
On 2006/11/08 21:35, Matthias Kilian wrote: On Sun, Oct 29, 2006 at 04:15:40PM +0100, Steffen Schuetz wrote: With ath(4) only detecting networks worked; i was not able to capture data packets. I've got another report where not even detection worked. Which capture source did you use? same for me, fwiw. detection doesn't work, ath(4) (as supplied with some thinkpad x40 models), radiotap_bsd_b. ath0 at pci1 dev 2 function 0 Atheros AR5212 rev 0x01: irq 11 ath0: AR5213 5.9 phy 4.3 rf2112a 4.6, WOR0W, address 00:0e:9b:93:23:e4 channels do hop, changing out of monitor mode doesn't help. run tcpdump -y IEEE802_11_RADIO while it's running and it starts picking up networks (and IP addresses from ARP, etc). I just veryfied that ral(4) doesn't work (using radiotap_bsd_b), however I didn't try the part disabling monitor mode. same for me, in monitor mode channel doesn't hop. I also get 8x could not write to RF kernel messages when starting kismet (I think at the point in which it goes into monitor mode, but I'm not 100% sure) and 8x when stopping it. switch to ibss and channels start hopping and it picks up networks straight away. I don't get could not write to RF if I switch into monitor myself before starting kismet (but detection still doesn't work until I force it out of monitor). running tcpdump -y ... doesn't make ralink start to detect. Nov 8 21:20:24 zeyk /bsd: ral0 at cardbus0 dev 0 function 0 ASUSTeK Computer , Inc., RT2500, 802.11 CardBus Reference Card: irq 11, address 00:11:d8:20:48:ee Nov 8 21:20:24 zeyk /bsd: ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 Nov 8 21:20:42 zeyk /bsd: ral0: could not write to RF Nov 8 21:21:07 zeyk last message repeated 15 times Nov 8 21:21:57 zeyk /bsd: ral0: could not write to RF Nov 8 21:21:59 zeyk last message repeated 7 times On the other hand, tcpdump -y IEEE802_11_RADOI *did* work. tcpdump -y IEEE..RADIO works for me with both cards (monitor and ibss) for the sake of completeness, OpenBSD 4.0-current (GENERIC) #1202: Mon Nov 6 20:20:14 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) M processor 1200MHz (GenuineIntel 686-class) 1.20 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF,EST,TM2 cpu0: Enhanced SpeedStep 1200 MHz (1180 mV): speeds: 1200, 1100, 1000, 900, 800, 600 MHz real mem = 526807040 (514460K) avail mem = 472543232 (461468K) using 4256 buffers containing 26464256 bytes (25844K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(0d) BIOS, date 03/01/06, BIOS32 rev. 0 @ 0xfd740, SMBIOS rev. 2.33 @ 0xe0010 (56 entries) bios0: IBM 23718EG apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd6d0/0x930 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdeb0/256 (14 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371FB ISA rev 0x00) pcibios0: PCI bus #3 is the last bus bios0: ROM list: 0xc/0xc800! 0xcc800/0x1000 0xcd800/0x1000 0xdc000/0x4000! 0xe/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02 Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at 0xe000, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x01: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x01: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x01: irq 11 usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x81 pci1 at ppb0 bus 2 cbb0 at pci1 dev 0 function 0 Ricoh 5C476 CardBus rev 0x8d: irq 11 sdhc0 at pci1 dev 0 function 1 Ricoh 5C822 SD/MMC rev 0x13: irq 11 sdmmc0 at sdhc0 em0 at pci1 dev 1 function 0 Intel PRO/1000MT Mobile (82541GI) rev 0x00: irq 11, address 00:0a:e4:2d:99:ee ath0 at pci1 dev 2 function 0 Atheros AR5212 rev 0x01: irq 11 ath0: AR5213 5.9 phy 4.3 rf2112a 4.6, WOR0W, address
Re: update: net/kismet
On Sun, Oct 29, 2006 at 04:15:40PM +0100, Steffen Schuetz wrote: I've tested your update using wi(4), ath(4) and ral(4) based cards on i386 and amd64. Thanks for testing. With ath(4) only detecting networks worked; i was not able to capture data packets. IIRC, we had this problem reported about two or three weeks ago, and it's still unresolved. The ral(4) card didn't work in monitor mode - i had to disable the monitor mode by hand using ifconfig _after_ starting kismet. But even then only discovering networks worked for me. Do you know wether it's a regression, i.e. did it work with 2005-08-R1? Because we do not have apm(4) support on all platforms, i would disable the apm option for displaying battery status - patch at the end of this message. Hmm. Availability of apm is checked during configure, so the worst effect of enabling apm on a machine without apm(4) should be a display like Battery: unavailable. But I could forcibly disable the apm option for non-apm platforms regardless of the config file. Ciao, Kili