Subject: Re: hostapd on NetBSD?
To: Ronald van der Pol <Ronald.vanderPol@rvdp.org>
From: Sam Leffler <sam@errno.com>
List: current-users
Date: 08/01/2005 11:15:18
Ronald van der Pol wrote:
> On Fri, Jul 29, 2005 at 13:19:05 +0300, Teemu Rinta-aho wrote:
> 
> 
>>Sure, I know all of that.. I'm already running it on FreeBSD,
>>but the question was if anyone has got it compiled on
>>NetBSD (as it now has the net80211 code ported from FreeBSD),
>>or should I go hack the code myself...
> 
> 
> I have started with wpa_supplicant. It only needs two small changes
> in wpa_supplicant-0.3.9 (see below) and some tweaks to the Makefile.
> It depends on net/libdnet.
> 
> wpa_supplicant compiles, but I have not gotten it running fully
> yet. It seems to authenticate fine, I can see traffic on the
> interface with tcpdump, but I don't get a dhcp address. My
> problem might just be a dhcp problem. I'm still investigating.
> I can ping6 the IPv6 link local address of the router.
> 
> Also, I see some disconnects. I don't know why this happens.
> 
> Disconnect event - remove keys
> Trying to associate with 00:0e:d7:b5:04:41 (SSID='ietf63-1x' freq=2452 MHz)
> Associated with 00:0e:d7:b5:04:41
> EAP-MSCHAPV2: Authentication succeeded
> EAP-TLV: TLV Result - Success - EAP-TLV/Phase2 Completed
> WPA: Key negotiation completed with 00:0e:d7:b5:04:41 [PTK=TKIP GTK=TKIP]

Look in freebsd's current tree under usr.sbin/wpa; I've diverged from 
the CVS repo for various reasons and you're likely to have an easier 
time working with something that works on freebsd.

	Sam