forked from daschatten/hostapd-formula
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpillar.example
More file actions
68 lines (65 loc) · 2.83 KB
/
pillar.example
File metadata and controls
68 lines (65 loc) · 2.83 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# 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
# Alternative non-mixable syntax to define the order of the APs
# (In my setup, the first AP had to use the interface as bss.
# Therefore I had to put it before all other aps and omit the 'bss' parameter.)
ap_list: # now it's an actual list, if one's pydantic :-)
- ssid: 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
- ssid: 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
- ssid: myssid3
bss: wlan2
wpa_passphrase: someotherpassword3
wlan1:
bridge: br1
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:
myssid2: # 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