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-----------------------------------------------------
On 12/23/-58 20:59, Greg Rivers wrote:> <div class="moz-text-flowed">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, I'm unable to comment on including your patch into cvs, but for own patches like your's, I'm using a script which does 1) csup and 2) integrate a bunch of patches into /usr/src. HTH Volker
Greg Rivers wrote:> 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? >Thanks for reminding me about these config options. I typically add EAP options slowly based on feedback because I'm leery of pulling in heaps of code that's rarely used. Also all the code is present in contrib so you just need to tweak the compile knobs. I'll see if I can make it so you can do it from src.conf. Sam