-
Notifications
You must be signed in to change notification settings - Fork 10
/
pillar.example
31 lines (30 loc) · 1.24 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# See
# * http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/external/bsd/wpa/dist/hostapd/hostapd.conf
# * http://wiki.gentoo.org/wiki/Hostapd
hostapd:
cardlist:
wlan0: # the interface used by the AP
bridge: br0
hw_mode: g # g simply means 2.4GHz
channel: 10 # the channel to use
ieee80211d: 1 # limit the frequencies used to those allowed in the country
country_code: DE # the country code
ieee80211n: 1 # 802.11n support
wmm_enabled: 1 # QoS support
ap_list:
myssid1: # the name of the AP
auth_algs: 1 # 1=wpa, 2=wep, 3=both
wpa: 2 # WPA2 only
wpa_key_mgmt: WPA-PSK
rsn_pairwise: CCMP
wpa_passphrase: mysupersecretkey
myssid2:
bss: wlan1 # the name of the new interface hostapd will create to handle this AP
bridge: br0
auth_algs: 1 # 1=wpa, 2=wep, 3=both
wpa: 1 # WPA1 only
wpa_key_mgmt: WPA-PSK
wpa_passphrase: someotherpassword
myssid3:
bss: wlan2
wpa_passphrase: someotherpassword3