STARLINK_IFACE pointed at the wrong device after the USB hub swap (was accidentally set to the 5GHz AP dongle's interface). failover/config.json also hardcoded the old interface name instead of being templated like the other configs, so deploy.conf changes never reached it — switched it to @STARLINK_IFACE@ and deploy.sh now renders it.
34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
# deploy.conf — hardware-instance identifiers for this Pi's vanlink deployment.
|
|
#
|
|
# These are the values that change when a USB Wi-Fi dongle, LAN adapter, or
|
|
# modem gets physically swapped (MAC-derived interface names are stable per
|
|
# physical device, but change when the device changes). Edit here and run
|
|
# `sudo ./deploy.sh` — it substitutes @TOKEN@ placeholders in the repo's
|
|
# config templates with these values before installing them.
|
|
#
|
|
# Find a new device's interface name after plugging it in: `iw dev` (wifi) or
|
|
# `ip -br link` (wired). USB vendor ID: `lsusb`.
|
|
# Preview a rendered file without deploying: `sudo ./deploy.sh render <file>`
|
|
|
|
# 5GHz AP radio (currently: Realtek RTL8852BU, driver rtw89_8852bu)
|
|
WIFI_5G_IFACE=wlxc83a35a4ee55
|
|
|
|
# 2.4GHz AP radio (currently: D-Link DWA-171, RTL8821CU, driver rtw88_8821cu)
|
|
WIFI_2G_IFACE=wlx3c3332002066
|
|
|
|
# Wired LAN port, USB-attached gigabit adapter (RTL8153-family)
|
|
LAN_USB_IFACE=enx00e04c331140
|
|
|
|
# Starlink dish uplink, USB-attached gigabit adapter (RTL8153-family)
|
|
#STARLINK_IFACE=enxd8ec5eeb3512 # White Belkin dongle
|
|
STARLINK_IFACE=enx6c1ff7d210a5 # UGreen 8-port hub's built-in Ethernet (ASIX AX88179B)
|
|
|
|
# Cellular modem USB vendor ID (Quectel EC25-AF)
|
|
MODEM_USB_VENDOR=2c7c
|
|
|
|
# Fixed upstream DNS resolvers — this router always uses these, never a WAN's
|
|
# own DHCP/RA-provided servers (NetworkManager is told to ignore those
|
|
# entirely; see ap/van-wan-dns.conf + ap/99-van-router-dns.conf). Keeps
|
|
# resolution identical on Wapana, Starlink, or cellular.
|
|
DNS_RESOLVERS="1.1.1.1 8.8.8.8"
|