New RPC methods: - openwrt.scan-wifi: triggers iwinfo scan on the router radio, returns networks sorted by signal strength - openwrt.configure-wan: creates UCI wireless.wwan (sta mode) + network.wwan (DHCP) + adds wwan to firewall WAN zone, then calls `wifi reload` get-status now includes a `wan` object with configured/ssid/ip/ internet fields so the UI can show current uplink state. Frontend WAN panel: scan → pick SSID (signal bars) → enter password → apply. Shows "Configure WAN first" hint above TollGate install button when internet is not available. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
10 lines
134 B
Rust
10 lines
134 B
Rust
pub mod detect;
|
|
pub mod opkg;
|
|
pub mod router;
|
|
pub mod tollgate;
|
|
pub mod uci;
|
|
pub mod wan;
|
|
pub mod wifi_scan;
|
|
|
|
pub use router::Router;
|