Package: kismet
Version: 2008-05-R1-4.1+b1
Severity: normal

Kismet won't start:

Launching kismet_server: //usr/bin/kismet_server
Suid priv-dropping disabled.  This may not be secure.
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
NOTICE: Disabling channel hopping, no enabled sources are able to change 
channel.
Source 0 (me): Enabling monitor mode for iwl4965 source interface wlan0 channel 
6...
FATAL: channel get ioctl failed 22:Invalid argument
Done.

The problem seems to be that kismet is trying to read the current channel and
failing, since the card has not yet been set to any channel. Issuing something
like

iwconfig wlan0 channel 6

before invoking kismet allows kismet to start. Similarly, if the card has
previously been associated with an AP in managed mode, even if it's been taken
down before starting kismet, there's no problem, apparently because the channel
remains set.

It shouldn't be too difficult to get kismet to ignore a failure to read the
current channel. At the very least, a note in the documentation should warn the
user about the possible need to first set the channel.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.7 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kismet depends on:
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libexpat1              2.0.1-7           XML parsing C library - runtime li
ii  libgcc1                1:4.4.5-8         GCC support library
ii  libgmp3c2              2:4.3.2+dfsg-1    Multiprecision arithmetic library
ii  libgomp1               4.4.5-8           GCC OpenMP (GOMP) support library
ii  libmagickcore3         8:6.6.0.4-3       low-level image manipulation libra
ii  libncurses5            5.7+20100313-5    shared libraries for terminal hand
ii  libpcap0.8             1.1.1-2+squeeze1  system interface for user-level pa
ii  libstdc++6             4.4.5-8           The GNU Standard C++ Library v3
ii  wireless-tools         30~pre9-5         Tools for manipulating Linux Wirel
ii  wireshark-common       1.2.11-6+squeeze5 network traffic analyzer - common 
ii  zlib1g                 1:1.2.3.4.dfsg-3  compression library - runtime

kismet recommends no packages.

Versions of packages kismet suggests:
pn  festival    <none>                       (no description available)
pn  gpsd        <none>                       (no description available)
ii  gsfonts     1:8.11+urwcyr1.0.7~pre44-4.2 Fonts for the Ghostscript interpre
ii  libwww-perl 5.836-1                      Perl HTTP/WWW client/server librar
pn  sox         <none>                       (no description available)
ii  wget        1.12-2.1                     retrieves files from the web

-- Configuration Files:
/etc/kismet/kismet.conf changed:
version=2007.09.R1
servername=Kismet
suiduser=yitzhak
source=iwl4965,wlan0,me
channelhop=true
channelvelocity=5
channelsplit=true
defaultchannels=IEEE80211b:1,6,11,2,7,3,8,4,9,5,10
defaultchannels=IEEE80211g:1,6,11,2,7,3,8,4,9,5,10
defaultchannels=IEEE80211a:36,40,44,48,52,56,60,64
defaultchannels=IEEE80211ab:1,6,11,2,7,3,8,4,9,5,10,36,40,44,48,52,56,60,64
tcpport=2501
allowedhosts=127.0.0.1
bindaddress=127.0.0.1
maxclients=5
gps=false
gpshost=localhost:2947
gpsmodelock=false
alert=NETSTUMBLER,10/min,1/sec
alert=WELLENREITER,10/min,1/sec
alert=LUCENTTEST,10/min,1/sec
alert=DEAUTHFLOOD,10/min,2/sec
alert=BCASTDISCON,10/min,2/sec
alert=CHANCHANGE,5/min,1/sec
alert=AIRJACKSSID,5/min,1/sec
alert=PROBENOJOIN,10/min,1/sec
alert=DISASSOCTRAFFIC,10/min,1/sec
alert=NULLPROBERESP,10/min,1/sec
alert=BSSTIMESTAMP,10/min,1/sec
alert=MSFBCOMSSID,10/min,1/sec
alert=LONGSSID,10/min,1/sec
alert=MSFDLINKRATE,10/min,1/sec
alert=MSFNETGEARBEACON,10/min,1/sec
alert=DISCONCODEINVALID,10/min,1/sec
alert=DEAUTHCODEINVALID,10/min,1/sec
allowkeytransmit=true
writeinterval=300
trackivs=false
sound=false
soundplay=/usr/bin/play
sound_new=//usr/share/kismet/wav/new_network.wav
sound_traffic=//usr/share/kismet/wav/traffic.wav
sound_junktraffic=//usr/share/kismet/wav/junk_traffic.wav
sound_alert=//usr/share/kismet/wav/alert.wav
speech=false
festival=/usr/bin/festival
flite=false
darwinsay=false
speech_voice=default
speech_type=nato
speech_encrypted=New network detected, s.s.i.d. %s, channel %c, network 
encrypted.
speech_unencrypted=New network detected, s.s.i.d. %s, channel %c, network open.
ap_manuf=ap_manuf
client_manuf=client_manuf
metric=false
waypoints=false
waypointdata=%h/.gpsdrive/way_kismet.txt
waypoint_essid=false
alertbacklog=50
logtypes=dump,network,csv,xml,weak,cisco,gps
trackprobenets=true
noiselog=false
corruptlog=true
beaconlog=true
phylog=true
mangledatalog=true
fuzzycrypt=wtapfile,wlanng,wlanng_legacy,wlanng_avs,hostap,wlanng_wext,ipw2200,ipw2915
fuzzydecode=wtapfile,radiotap_bsd_a,radiotap_bsd_g,radiotap_bsd_bg,radiotap_bsd_b,pcapfile
netfuzzycrypt=true
dumptype=wiretap
dumplimit=0
logdefault=Kismet
logtemplate=/var/log/kismet/%n-%d-%i.%l
piddir=/var/run/
configdir=/var/lib/kismet/
ssidmap=ssid_map
groupmap=group_map
ipmap=ip_map


-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to