net: AP on wlan1 uses 5GHz band for faster in-car access
This commit is contained in:
@@ -30,9 +30,10 @@ sudo install -m 755 "$REPO_DIR/deploy/90-yaris-uplink" \
|
||||
|
||||
# Bind the internet uplink to the onboard radio (wlan0)
|
||||
sudo nmcli connection modify home-wifi connection.interface-name "$WLAN"
|
||||
# The in-car AP lives on the fast T3U (wlan1)
|
||||
# The in-car AP lives on the fast T3U (wlan1), forced to 5GHz
|
||||
sudo nmcli connection modify Hotspot-local \
|
||||
connection.interface-name "$AP_IFACE" \
|
||||
802-11-wireless.band a \
|
||||
ipv4.method shared \
|
||||
ipv4.addresses 10.42.0.1/24
|
||||
if nmcli connection show phone-hotspot >/dev/null 2>&1; then
|
||||
|
||||
Reference in New Issue
Block a user