wpa_supplicant support for EAP_TTLS and wired drivers
Chris Hodgins
christopher.hodgins at gmail.com
Tue Aug 2 21:41:39 GMT 2005
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
More information about the freebsd-current
mailing list