On Sat, 2016-08-13 at 10:33 +0300, Jouni Malinen wrote: > On Mon, Aug 08, 2016 at 12:20:43PM +0100, chris@xxxxxxxxxxxxxxxxxxx > wrote: > > > > Is there any way to tell what options have been used to build a > > wpa_supplicant executable? > > > > In particular I'd like to be able to find out if the wpa_supplicant > > provided by the Ubuntu > > repositories has EAP-SIM capabilities. > The control interface command GET_CAPABILITY allows number of the > capabilities to be determined. For example, "wpa_cli get_capability > eap" > would list the EAP methods that were included in the build. The D-Bus interface also lists which EAP methods are built in: dbus-send --system --print-reply --dest=fi.w1.wpa_supplicant1 /fi/w1/wpa_supplicant1 org.freedesktop.DBus.Properties.GetAll string:"fi.w1.wpa_supplicant1" gives you something like: dict entry( string "EapMethods" variant array [ string "MD5" string "TLS" string "MSCHAPV2" string "PEAP" string "TTLS" string "GTC" string "OTP" string "LEAP" string "AKA" string "FAST" string "PAX" string "SAKE" string "GPSK" string "WSC" string "IKEV2" string "TNC" ] ) Dan _______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap