-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhostapd.conf
More file actions
34 lines (31 loc) · 930 Bytes
/
hostapd.conf
File metadata and controls
34 lines (31 loc) · 930 Bytes
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
# Set up some logging. VERY useful to see why things aren't working.
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
# Which interface to use and which bridge to join
interface=wlan0
bridge=br0
driver=nl80211
# a for 5Ghz & g for 2.4Ghz frequency
hw_mode=a
# the channel to use
channel=149
# Don't use a MAC ACL
macaddr_acl=0
# the name of the AP
ssid=somename
# limit the frequencies used to those allowed in the country
ieee80211d=1
# the country code
country_code=FR
# 802.11n support
ieee80211n=1
# QoS support, also required for full speed on 802.11n/ac/ax
wmm_enabled=1
# WPA Authentication
auth_algs=1 # Open authentication, no WEP
wpa=2 # WPA2 only, set to 3 for WPA+WPA2
wpa_passphrase=xxxxxxxxxxx # network passphrase/password
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP # Cipher for WPA2 (AES in this case)