Subject: Re: wi and MacOSX airport
To: David Young <dyoung@che.onthejob.net>
From: grant beattie <grant@netbsd.org>
List: current-users
Date: 10/31/2002 10:54:58
On Tue, Oct 29, 2002 at 10:27:29PM -0600, David Young wrote:
> 1 Are you using WEP encryption? MacOS X, when it is configured to use
> WEP, expects for the AP to authenticate using a shared key. NetBSD has
> temporarily lost its shared-key authentication with wi(4)'s adoption
> of the shared 802.11 state machine.
No, not using any WEP at this stage.
> For what it's worth, my Powerbook with Mac OS X will join an open
> network (eek!) run with -current NetBSD sources.
Hrm, this gives me a little confidence I guess :-)
> 2 Is the "wi0: device timeout" new with this version of NetBSD? If
> you rewind the source back to my jumbo patch, you may find much
> more conservative timings borrowed from the relatively more clueful
> linux-wlan-ng folks. It *may* end the timeouts. I am not too concerned
> about timeouts themselves. It is bad if 'wi0: init failed' appears,
> also.
I've only got my wireless card recently, so I haven't used it prior to
1.6I. I'll try some slightly older kernel source.
> It would help to see the output of tcpdump -ne -D ieee802_11 -i wi0 while
> your Mac tries to associate. Also, the output of "ifconfig wi0" is useful.
Okay, here it is:
wi0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
nwid test
powersave off
bssid 00:09:5b:0d:f4:bc chan 3
address: 00:09:5b:0d:f4:bc
media: IEEE802.11 DS11 hostap (DS2 hostap)
status: active
inet 10.199.1.1 netmask 0xffffff00 broadcast 10.199.1.255
inet6 fe80::209:5bff:fe0d:f4bc%wi0 prefixlen 64 scopeid 0x1
tcpdump: data link type DLT_IEEE802_11
tcpdump: listening on wi0
i09:16:59.131292 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:16:59.131307 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:16:59.211268 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:16:59.211274 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:17:04.140042 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc DeAuthentication: Deauthenticated because sending station is leaving (or has left) IBSS or ESS
09:17:20.267443 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:17:20.267461 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:17:20.337426 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:17:20.337432 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:17:25.280049 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc DeAuthentication: Deauthenticated because sending station is leaving (or has left) IBSS or ESS
09:17:36.463490 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:17:36.463506 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:18:21.815214 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:18:21.815227 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:18:21.825203 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:18:21.825206 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:18:21.835194 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:18:21.835196 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:18:21.845192 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:18:21.845195 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:18:26.422379 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:18:26.422394 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:18:54.715225 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:18:54.715240 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:18:54.725196 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:18:54.725199 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:19:21.236377 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:19:21.236389 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:19:21.246408 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:19:21.246411 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:19:21.256365 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:19:21.256367 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:19:21.266356 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:19:21.266359 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:19:21.276360 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:19:21.276362 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2:
09:19:22.182201 BSSID:0:9:5b:d:f4:bc DA:0:9:5b:d:f4:bc SA:0:30:65:16:5d:c5 Authentication (Open System)-1: Succesful
09:19:22.182214 BSSID:0:9:5b:d:f4:bc DA:0:30:65:16:5d:c5 SA:0:9:5b:d:f4:bc Authentication (Open System)-2: