wpa_supplicant features and compile options

Greg Rivers gcr+freebsd-stable at tharned.org
Wed Sep 5 19:03:06 PDT 2007


I connect to certain wireless networks that require the EAP_GTC and 
EAP_OTP features in wpa_supplicant.  These features are not compiled into 
wpa_supplicant by default.

Using the patch below works great, but it's inconvenient having to 
remember to apply it after every cvsup.  Is there a better way to 
accomplish this?  If not, might a change such as this be committed to 
enable GTC and OTP by default?

-- 
Greg Rivers


-----------cut here-----------------------------------------------------
---  usr.sbin/wpa/wpa_supplicant/Makefile.old	ThuMar 23 19:43:18 2006
+++  usr.sbin/wpa/wpa_supplicant/Makefile	TueMay  2 17:07:30 2006
@@ -34,8 +34,8 @@
  	eap_psk.c eap_psk_common.c \
  	eap_tlv.c eap_tls_common.c tls_openssl.c ms_funcs.c crypto.c

-CFLAGS+=-DEAP_TTLS -DEAP_MD5
-SRCS+=	eap_ttls.c eap_md5.c
+CFLAGS+=-DEAP_TTLS -DEAP_MD5 -DEAP_GTC -DEAP_OTP 
+SRCS+=	eap_ttls.c eap_md5.c eap_gtc.c eap_otp.c

  # NB: requires patch to openssl
  #CFLAGS+= -DEAP_FAST
-----------cut here-----------------------------------------------------


More information about the freebsd-stable mailing list