Skip to content

Instantly share code, notes, and snippets.

@elbosso
Last active March 31, 2018 07:08
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 elbosso/9b3cffa89e7f3e0e95f5f445c08f5931 to your computer and use it in GitHub Desktop.
Save elbosso/9b3cffa89e7f3e0e95f5f445c08f5931 to your computer and use it in GitHub Desktop.
interface=wlp2s0
bssid=02:16:3e:24:31:30
driver=nl80211
ssid=<the one SSID>
hw_mode=a
country_code=DE
ieee80211n=1
ieee80211d=1
#channel=6
macaddr_acl=0
auth_algs=1 # 1=wpa, 2=wep, 3=both
wpa=2 # WPA2 only
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP TKIP
wpa_passphrase=<your passphrase here>
ignore_broadcast_ssid=0
#to be able to do wps, we add this:
eap_server=1
wps_state=2
ctrl_interface=/var/run/hostapd
ap_setup_locked=1
wps_pin_requests=/var/run/hostapd.pin-req
config_methods=label display push_button keypad
bss=wlp2s0_0
ssid=<the other SSID>
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1 # 1=wpa, 2=wep, 3=both
wpa=2 # WPA2 only
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP TKIP
ignore_broadcast_ssid=0
#this allows unique pre shared keys per MAC address
wpa_psk_file=/etc/hostapd-psk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment