Subject: Re: wireless access point scanning in netbsd
To: Jonathan A. Kollasch <jakllsch@kollasch.net>
From: None <coo.hen@gmail.com>
List: netbsd-help
Date: 04/26/2006 10:22:52
On Tue, Apr 25, 2006 at 05:27:15PM -0500, Jonathan A. Kollasch wrote:
> On Tue, Apr 25, 2006 at 04:05:55PM +0000, Henry S wrote:
> > Hi,
> > 
> > I'm using 3.99.16 with ral driver kernel. How should I go about scanning for
> > access point ? 
> 
> My ral0 on 3.99.18 i386 box this worked.
> 
> ifconfig ral0 up
> sleep 3
> wiconfig ral0 -d
> wlanctl ral0
>  
> > I tried installing kismet but ./configure says it only supports pcap source.
> 
> Yeah, it takes much effort to get it to work currently.
> 
> > Someone on irc pointed out wiconfig and wpa_supplicant so I tried
> > "wiconfig ral0 -D", but it couldn't find any APs.
> 
> That's been my experience with -current, it won't display, but it seems
> to actually do the scan.
> 

Thank you so much, the above wiconfig script worked. I also managed to scan 
using wpa_supplicant by running the following:

root:
# wpa_supplicant -d bsd -i ral0 -c /etc/wpa_supplicant.conf

user:
$ wpi_cli
> scan
> scan_results


> > Could I also use tcpdump -y IEEE... to scan for access points ? 
> 
> No.  I don't think it does radiotap anyway.

I have been hearing about radiotap and I came across /usr/pkgsrc/net/netbsd_tap/ 
Do i need to install this to get radiotap ?