docs: WiFi role swap + hotspot settings feature (FEAT-11)
- PLAN.md: Hardware section + Architecture #2/#5 updated for wlan1=AP(5GHz), wlan0=uplink - FEATURES.md: FEAT-11 SHIPPED (hotspot SSID/password UI + 5GHz role swap) - readme.md: hardware table + hotspot feature line updated - deploy/readme.md: profile names/bands updated (home-wifi on wlan0, Hotspot-local 5GHz on wlan1)
This commit is contained in:
+12
-11
@@ -20,8 +20,8 @@ cd /home/yaris/app/yaris-obd
|
||||
|
||||
# REQUIRED before netwatch install:
|
||||
# Create/update NetworkManager profiles named exactly:
|
||||
# - home-wifi (client WiFi)
|
||||
# - Hotspot (local AP, shared at 10.42.0.1/24)
|
||||
# - home-wifi (client WiFi → wlan0, the internet uplink)
|
||||
# - Hotspot-local (local AP, shared at 10.42.0.1/24, on wlan1)
|
||||
# See section 4 below for exact nmcli commands.
|
||||
|
||||
bash deploy/install_service.sh
|
||||
@@ -42,9 +42,10 @@ curl -I http://127.0.0.1/
|
||||
|
||||
## TP-Link Archer T3U (RTL8812BU) driver
|
||||
|
||||
This project expects the T3U USB adapter as `wlan1` for hotspot/uplink logic.
|
||||
On a fresh Pi, install the RTL8812BU DKMS driver before configuring WiFi
|
||||
profiles:
|
||||
This project expects the T3U USB adapter as `wlan1` for the in-car AP (5GHz)
|
||||
and the onboard radio as `wlan0` for the internet uplink (home WiFi + phone
|
||||
hotspot). On a fresh Pi, install the RTL8812BU DKMS driver before configuring
|
||||
WiFi profiles:
|
||||
|
||||
```bash
|
||||
sudo apt-get update
|
||||
@@ -107,8 +108,8 @@ cd /home/yaris/app/yaris-obd
|
||||
|
||||
`deploy/install_netwatch.sh` expects two profiles to already exist:
|
||||
|
||||
- `home-wifi` (normal client connection)
|
||||
- `Hotspot` (local AP for phones/laptops in the car)
|
||||
- `home-wifi` (normal client connection → wlan0, the internet uplink)
|
||||
- `Hotspot-local` (local 5GHz AP on wlan1 for phones/laptops in the car)
|
||||
|
||||
### 4a) Home WiFi profile (edit SSID/password)
|
||||
|
||||
@@ -116,7 +117,7 @@ cd /home/yaris/app/yaris-obd
|
||||
sudo nmcli connection add \
|
||||
type wifi \
|
||||
con-name home-wifi \
|
||||
ifname wlan1 \
|
||||
ifname wlan0 \
|
||||
ssid "<HOME_WIFI_SSID>" \
|
||||
wifi-sec.key-mgmt wpa-psk \
|
||||
wifi-sec.psk "<HOME_WIFI_PASSWORD>" \
|
||||
@@ -127,10 +128,10 @@ sudo nmcli connection add \
|
||||
### 4b) Local hotspot profile (edit password)
|
||||
|
||||
```bash
|
||||
sudo nmcli connection add type wifi con-name Hotspot ifname wlan1 ssid yaris-obd
|
||||
sudo nmcli connection modify Hotspot \
|
||||
sudo nmcli connection add type wifi con-name Hotspot-local ifname wlan1 ssid yaris-obd
|
||||
sudo nmcli connection modify Hotspot-local \
|
||||
802-11-wireless.mode ap \
|
||||
802-11-wireless.band bg \
|
||||
802-11-wireless.band a \
|
||||
wifi-sec.key-mgmt wpa-psk \
|
||||
wifi-sec.psk "<HOTSPOT_PASSWORD>" \
|
||||
ipv4.method shared \
|
||||
|
||||
Reference in New Issue
Block a user