Re: wpa_supplicant support for EAP_TTLS and wired drivers

From: Chris Hodgins <christopher.hodgins_at_gmail.com>
Date: Tue, 2 Aug 2005 22:41:37 +0100
On 8/2/05, Brooks Davis <brooks_at_one-eyed-alien.net> wrote:
> On Tue, Aug 02, 2005 at 02:21:05PM -0700, Darren Pilgrim wrote:
> > From: Chris Hodgins [mailto:christopher.hodgins_at_gmail.com]
> > > On 8/2/05, Darren Pilgrim <dmp_at_bitfreak.org> wrote:
> > > > From: Chris Hodgins
> > > > >
> > > > > # wpa_supplicant -c wpa.conf -irl0
> > > > > Line 6: unknown EAP method 'TTLS'
> > > >
> > > > Do you have ENABLE_WPA_SUPPLICANT_EAPOL defined in /etc/make.conf?
> > >
> > > No, I don't.  It seems I should have read the man page for
> > > the config file a little more thoroughly.  Is it possible to
> > > just rebuild wpa supplicant in my base without having build
> > > the whole world again?
> >
> > I'm not sure how ENABLE_WPA_SUPPLICANT_EAPOL gets used.  I don't have a
> > machine in front of me to test with and a quick perusal of
> > src/contrib/wpa_supplicant didn't turn up anything obvious.
> 
> cd src/usr.sbin/wpa
> make -DENABLE_WPA_SUPPLICANT_EAPOL
> make -DENABLE_WPA_SUPPLICANT_EAPOL install
> 
> ought to do it.  You'll rebuild hostapd in addition to wpa_supplicant
> and wpa_cli, but that shouldn't hurt much.
> 
> -- Brooks
> 

Managed to work that out after a little playing around.  I just added
ENABLE_WPA_SUPPLICANT_EAPOL=true to /etc/make.conf and compiled as
above but without the variable definition.  Unfortunetly it is still
not working, producing errors like "ioctl[SIOCS80211] invalid
argument".  If anyone is interested I can paste the full error
tomorrow.  This is how dmesg shows my ethernet card:

rl0: <RealTek 8139 10/100BaseTX> port 0xd800-0xd8ff mem
0xe00ff400-0xe00ff4ff irq 19 at device 6.0 on pci1

Chris
Received on Tue Aug 02 2005 - 19:41:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC