Date: Fri, 26 Aug 2005 12:37:38 -0400 From: "Michael W. Oliver" <michael@gargantuan.com> To: Dan Olson <danolson@visi.com> Cc: Brad Schonhorst <bschonhorst@vcsnyc.org>, freebsd-mobile@freebsd.org Subject: Re: kismet and atheros Message-ID: <20050826163738.GF71063@gargantuan.com> In-Reply-To: <430E6803.1090109@visi.com> References: <56287.168.100.249.178.1124853510.squirrel@www.geekisp.com> <1124915713.798.4.camel@genius1.i.cz> <1124961221.852.9.camel@genius1.i.cz> <430E6803.1090109@visi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--NGIwU0kFl1Z1A3An Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2005-08-25T19:53:23-0500, Dan Olson wrote: > Michal Mertl wrote: >> Michal Mertl wrote: >>> Brad Schonhorst wrote: >>>> I have been using an iBook since OS X came about but recently decided = it >>>> was time to give BSD a try. I picked up a new TINY Fujitsu P7010 and = now >>>> have it running FreeBSD 6 - current circa July >>>> Wireless support was obviously a must for the laptop ( hence running >>>> CURRENT to get support for my Atheros card. ) As someone new to BSD >>>> wireless I was wondering if you guys could share with me some of your >>>> favorite tools for wireless use. I have been somewhat frustrated with= =20 >>>> the >>>> steps I currently take to discover new wireless access points. >>>> To get wireless access: >>>> 1) Run Kismet, find some SSIDs that are open >>>> 2) Reboot! I can't seem to get my card out of Promisc mode otherwise >>> You can control promiscuous mode of a running card with ifconfig ath0 >>> [-]promisc. The card may end up also in monitor mode. You can disable >>> monitor mode with ifconfig ath0 mediaopt -monitor. >> I've just noticed I wrote the second command wrongly - it's 'ifconfig >> ath0 -mediaopt monitor'. >> Michal >=20 > On my system after I run kismet and exit, a stray kismet_server is left= =20 > running sometimes. I have to kill -9 its pid. I then do the command: >=20 > ifconfig ath0 -promisc -mediaopt monitor >=20 > This returns ath0 to normal and I can use wireless again. This may help= =20 > you, Brad. Thanks very much for that. I wasn't able to remove the promisc and monitor from ath0 while the kismet_server was running, but the exit from the client doesn't give any clue that the server is still running. Once I kill 9'd the server I could reconfigure the ath0 interface without any problem at all. Thanks! One problem that I am having, however, is that kismet is not hopping channels. I have tried the version from ports as well as 2005-08-R1 and both are showing this behavior. It is really strange. I have neighbors that spew all types of stuff my way, so it is easy to verify if it is working on channels 5, 6, and 11. When I manually set the interface to channel 11 and start kismet, it detects my neighbor's network on channel 11 and nothing else, but the client is stuck on channel 11 and doesn't hop. I have tried toggling L and H to lock/hop but nothing changes -- I see only channel 11. Now, if I stop kismet (and kill 9 kismet_server!) and change ath0 to channel 6 and then restart kismet, I can see two channel 6 networks and one channel 5 network in the kismet client, but no channel 11 network! gah! Has anyone else had this trouble with kismet refusing to channel hop? Here is some pertinent information: # uname -a FreeBSD gambit.gargantuan.com 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Fri Aug 19 17:40:53 EDT 2005 root@gambit.gargantuan.com:/usr/obj/usr/src/sys/GAMBIT i386 Starting server... Waiting for server to start before starting UI... Will drop privs to mwoliver (1001) gid 1001 Enabling channel hopping. Disabling channel splitting. Source 0 (sager): Enabling monitor mode for radiotap_bsd_b source interface= ath0 channel 6... Source 0 (sager): Opening radiotap_bsd_b source interface ath0... WARNING: pcap reports link type of EN10MB but we'll fake it on BSD. This may not work the way we want it to. WARNING: Some Free- and Net- BSD drivers do not report rfmon packets correctly. Kismet will probably not run correctly. For better support, you should upgrade to a version of *BSD with Radiotap. Spawned channelc control process 26100 Dropped privs to mwoliver (1001) gid 1001 Allowing clients to fetch WEP keys. Logging networks to Kismet-20050826-21.network Logging networks in CSV format to Kismet-20050826-21.csv Logging networks in XML format to Kismet-20050826-21.xml Logging cryptographically weak packets to Kismet-20050826-21.weak Logging cisco product information to Kismet-20050826-21.cisco Logging gps coordinates to Kismet-20050826-21.gps Logging data to Kismet-20050826-21.dump Writing data files to disk every 300 seconds. Mangling encrypted and fuzzy data packets. Tracking probe responses and associating probe networks. Reading AP manufacturer data and defaults from /usr/local/etc/ap_manuf Reading client manufacturer data and defaults from /usr/local/etc/client_ma= nuf Using network-classifier based data encryption detection Dump file format: wiretap (local code) dump Crypt file format: airsnort (weak packet) dump Kismet 2005.08.R1 (Kismet) Logging data networks CSV XML weak cisco gps GPSD cannot connect: Connection refused Listening on port 2501. Allowing connections from 127.0.0.1/255.255.255.255 Registering builtin client/server protocols... Registering requested alerts... Registering builtin timer events... Gathering packets... Thanks in advance for your help! --=20 Mike Oliver [see complete headers for contact information] --NGIwU0kFl1Z1A3An Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFDD0VSsWv7q8X6o8kRAoxHAJ9b73GDDZVoJxKauw7Jsxy2VZ3sFQCdFtsU JqfcYj+bYj+oFkA9Uhp6rCM= =SYJQ -----END PGP SIGNATURE----- --NGIwU0kFl1Z1A3An--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050826163738.GF71063>