Subject: Re: ath(4) and stealth AP
To: Tatoku Ogaito <firstname.lastname@example.org>
From: Sam Leffler <email@example.com>
Date: 04/20/2006 09:10:15
Tatoku Ogaito wrote:
>>> In Message <44466BD8.firstname.lastname@example.org>
> at Wed, 19 Apr 2006 09:56:56 -0700
> Sam Leffler <email@example.com> wrote:
> > Channels are marked passive according to local regulatory constraints.
> > When scanning you're not supposed to send a probe req on a channel setup
> > this way unless you know it's being used for 802.11 communication. The
> > code currently in cvs will listen on such channels but when the ap is
> > not broadcasting it's ssid this is insufficient.
> > So was the ap setup on a channel marked for passive scan only? In
> > freebsd you can tell by doing
> > ifconfig ath0 list chan
> > and channels marked passive have a '*'.
> Unfortunately the ifconfig bundled with NetBSD does not support
> "list command".
> [tamp]/tmp% /sbin/ifconfig ath0 list chan
> ifconfig: list: bad value
> So I stole list_channels function (and required function) from FreeBSD's
> ifconfig, and I got the following results.
> [tamp]/usr/current/src/sbin/ifconfig# ./ifconfig ath0
> ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> Channel 1 : 2412* Mhz 11g Channel 10 : 2457* Mhz 11g
> Channel 2 : 2417* Mhz 11g Channel 11 : 2462* Mhz 11g
> Channel 3 : 2422* Mhz 11g Channel 12 : 2467* Mhz 11g
> Channel 4 : 2427* Mhz 11g Channel 13 : 2472* Mhz 11g
> Channel 5 : 2432* Mhz 11g Channel 14 : 2484* Mhz 11b
> Channel 6 : 2437* Mhz 11g Channel 34 : 5170* Mhz 11a
> Channel 7 : 2442* Mhz 11g Channel 38 : 5190* Mhz 11a
> Channel 8 : 2447* Mhz 11g Channel 42 : 5210* Mhz 11a
> Channel 9 : 2452* Mhz 11g Channel 46 : 5230* Mhz 11a
> What shall/can I do next ?
I have changes in freebsd to dtrt. I started to import them yesterday
but netbsd locked up on my dell 600m when I brought up an ath interface
so I set it aside. This is a GENERIC_LAPTOP kernel from cvs of
yesterday morning w/o any mods fwiw.