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=VanLink2 country_code=CA ieee80211d=1 hw_mode=g channel=6 wmm_enabled=1 # 2.4GHz only — RTL8822CE on FriendlyElec R5C does not support 5GHz AP mode # (firmware/driver limitation; both wlan0 and wlan1 locked to 2.4GHz) ieee80211n=1 ht_capab=[HT20][SHORT-GI-20] auth_algs=1 wpa=2 wpa_passphrase=1foot11foot11 wpa_key_mgmt=WPA-PSK rsn_pairwise=CCMP