Subject: Re: NetBSD wi0 AP and Mcintoshes?
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: David Young <dyoung@pobox.com>
List: tech-net
Date: 07/31/2004 19:57:27
On Sat, Jul 31, 2004 at 09:30:32PM +0200, Hauke Fath wrote:
> Hi,
> 
> what are your experiences with a wi(4) based access-point, WEP and Apple
> Macintoshes? I find that with both System 9 and MacOS X.3 clients, I can
> connect without WEP. With WEP enabled, OTOH (using a 128 bit key), I get an
> unspecified error from both clients.
> 
> On the server/AP, an 'ifconfig wi0 debug' gives me an endless stream of
> 
> Jul 31 21:10:32 pizza /netbsd: wi0: received auth from 00:30:65:01:c6:62
> rssi 37
> Jul 31 21:10:32 pizza /netbsd: wi0: station 00:30:65:01:c6:62 shared key
> reauthentication
> Jul 31 21:10:32 pizza /netbsd: wi0: sending auth to 00:30:65:01:c6:62 on
> channel 11
> Jul 31 21:10:32 pizza /netbsd: wi0: dst 00:30:65:01:c6:62 threshold[160,
> 0.0] 0 < 9388
> Jul 31 21:10:38 pizza /netbsd: wi0: dst 09:00:07:ff:ff:ff threshold[77,
> 11.0] 0 < 7648
> Jul 31 21:10:39 pizza /netbsd: wi0: dst ff:ff:ff:ff:ff:ff threshold[68,
> 11.0] 0 < 7648
> 
> and 'tcpdump -ne -D ieee802_11 -i wi0' gives
> 
> 21:12:38.394876 DA:9:0:7:ff:ff:ff BSSID:0:9:5b:54:f1:e5 SA:8:0:20:18:76:7e
> Data IV:3aaaa Pad 0 KeyID 0

This must not be related to authentication?

> 21:12:39.281749 BSSID:0:9:5b:54:f1:e5 DA:0:9:5b:54:f1:e5 SA:0:30:65:1:c6:62
> Authentication (Shared Key)-1: Succesful
> 21:12:39.320517 BSSID:0:9:5b:54:f1:e5 DA:0:30:65:1:c6:62 SA:0:9:5b:54:f1:e5
> [|802.11]
> 
> so there is nothing that resembles an error here. But while the above
> tcpdump says, "Shared Key",

Use a longer snap size (-s) so that I can see the non-truncated packets.

> (1=OpenSys, 2=Shared Key):              [ 1 ]
> 
> has "OpenSys" as authentication type. The related switch for wiconfig(8)
> was present in NetBSD 1.6

Right, I removed that thinking it was something else.  But that should
not affect AP operation.  I am patching up net80211 ioctls and ifconfig
to replace the function.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933