The WiFi and switch panel lets you inspect your router’s wireless configuration, scan for nearby networks, see which devices are connected, and manage the hardware switch’s VLAN configuration. All actions are executed over SSH using standard OpenWrt tools. Navigate toDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/KevinCruz-cell/Redes-de-comunicaciones-/llms.txt
Use this file to discover all available pages before exploring further.
/Wifi_Conmutador to open the panel.
WiFi info
The WiFi info panel fetches real-time data from the router and shows:- SSID — the name of the wireless network (
uci get wireless.@wifi-iface[0].ssid) - Encryption — the security mode in use, e.g.
psk2,none(uci get wireless.@wifi-iface[0].encryption) - Interface count — the number of configured WiFi interfaces (
uci show wireless | grep -c '=wifi-iface') - Raw interface info — the full output of
iwinfo wlan0 info, which includes channel, frequency, signal, and TX power
Network scan
The network scan action runsiw dev wlan0 scan over SSH and parses the results to build a list of nearby wireless networks.
Each detected network shows:
| Field | Description |
|---|---|
| SSID | Network name (or “Hidden” if not broadcast) |
| BSSID | Access point MAC address |
| Channel | Channel number from the DS Parameter Set |
| Signal | Signal strength in dBm |
| Encryption | WPA2 PSK if RSN/WPA elements are present, otherwise Open |
iw returns no results, the controller falls back to iwinfo wlan0 scan and parses its output using a different regex.
Connected devices
The connected devices list reads/tmp/dhcp.leases from the router via SSH. This file is maintained by dnsmasq and contains one active lease per line:
Switch / VLAN configuration
The switch panel displays a matrix of ports (0–6) and VLANs. For each combination you can set the port mode:| Mode | Symbol | Description |
|---|---|---|
| Tagged | t | Port carries traffic for this VLAN with an 802.1Q tag |
| Untagged | u | Port carries traffic for this VLAN without a tag |
| Off | (omitted) | Port is not a member of this VLAN |
swconfig dev switch0 are accepted by the custom switch command endpoint. Any other command is rejected with HTTP 403.
Port status
The port status panel queries each of the seven ports (0–6) individually:| Field | Values |
|---|---|
| Link | up / down |
| Speed | 10baseT, 100baseT, 1000baseT |
| Duplex | full-duplex / half-duplex |
disable 0.
WiFi restart
The Restart WiFi button sends the following command sequence over SSH:UCI apply
The UCI apply feature lets you send a list of arbitrary UCI commands, which are concatenated and executed as a single script. The controller automatically:- Appends
uci commit wirelessif nouci commitis present in the command list - Appends
wifi down; sleep 2; wifi upif any command referenceswifiorhostapd
UCI apply always commits to the
wireless UCI package. If you need to modify a different package (e.g. network), include an explicit uci commit <package> command in your list.