Skip to content

Instantly share code, notes, and snippets.

@Snawoot
Last active January 26, 2020 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Snawoot/cf17d20ced65a323421367dcf9db00d2 to your computer and use it in GitHub Desktop.
Save Snawoot/cf17d20ced65a323421367dcf9db00d2 to your computer and use it in GitHub Desktop.
hostapd WPA2 EAP-TLS config example
interface=wlxb827ebe93438
ssid=rpi_GW
country_code=00
logger_stdout=127
logger_stdout_level=2
ieee80211d=1
ieee80211n=1
hw_mode=g
channel=9
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
eapol_key_index_workaround=1
ht_capab=[HT40-][SHORT-GI-20][DSSS_CCK-40]
ieee8021x=1
auth_algs=1
wpa=3
wpa_pairwise=CCMP
bridge=br0
wpa_disable_eapol_key_retries=1
wpa_key_mgmt=WPA-EAP
okc=0
disable_pmksa_caching=1
rsn_pairwise=CCMP
eap_server=1
eap_user_file=/etc/hostapd/eap_user
ca_cert=/etc/hostapd/certs/ca.pem
server_cert=/etc/hostapd/certs/server.pem
private_key=/etc/hostapd/certs/server.pem
dh_file=/etc/hostapd/certs/dhparam.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment