Files
xray/hostapd.conf

41 lines
851 B
Plaintext

# 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
# Use this driver for AP stuff. This corresponds to the mac80211 driver
# which most newer cards support.
driver=nl80211
hw_mode=g
country_code=US
channel=11
# Use Wifi 6
ieee80211n=0
ieee80211ac=0
ieee80211ax=1
# Set and broadcast the SSID. Stupid double-negatives...
ssid=MY_SSID
ignore_broadcast_ssid=0
# WPA Authtorization
auth_algs=1 # Open authentication, no WEP
wpa=2 # WPA2 only, set to 3 for WPA+WPA2
wpa_passphrase=MY_PASSWORD
wpa_key_mgmt=WPA-PSK
# Cipher for WPA2 (AES in this case)
rsn_pairwise=CCMP
wmm_enabled=1
wpa_pairwise=TKIP
# Don't use a MAC ACL
macaddr_acl=0