Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KqhjP7nud5gdBg25zCiRk9
28 lines
899 B
Plaintext
28 lines
899 B
Plaintext
interface=@WIFI_5G_IFACE@
|
|
# Put the AP into br0 so Wi-Fi and the wired LAN port share one 10.42.1.0/24 segment.
|
|
# hostapd adds the wlan to the bridge after setting AP mode; the bridge itself + its
|
|
# wired member + the gateway IP are defined under /etc/systemd/network (2x-van-br0/lan).
|
|
bridge=br0
|
|
# Control socket so van-ap-watchdog (and hostapd_cli) can read the AP's real state
|
|
# (state=ENABLED means it's actually beaconing) — used to detect a wedged radio that
|
|
# stays "running" but stops serving after a USB glitch.
|
|
ctrl_interface=/var/run/hostapd
|
|
driver=nl80211
|
|
ssid=@AP_SSID_5G@
|
|
country_code=CA
|
|
ieee80211d=1
|
|
hw_mode=a
|
|
channel=149
|
|
wmm_enabled=1
|
|
# 5GHz AP with MT7925E (mt76 driver) on FriendlyElec R5C
|
|
# Supports 802.11ac (VHT) and 802.11ax (WiFi 6)
|
|
ieee80211n=1
|
|
ieee80211ac=1
|
|
ieee80211ax=1
|
|
@AP_5G_RADIO@
|
|
auth_algs=1
|
|
wpa=2
|
|
wpa_passphrase=1foot11foot11
|
|
wpa_key_mgmt=WPA-PSK
|
|
rsn_pairwise=CCMP
|