KORTHVEILSecurity firewall
Guides

Managing access points: live view, radios, networks, clients, groups, alerts and reports

Download as PDF All guides

Wireless › Access points lists your access points at the top; each opens its own page. Options an access point cannot do are never hidden: they are shown switched off with the reason (for example available after the next update for options its connector gets later).

At a glance:

Where What
Wireless › Access points, top Set up Wi-Fi, Add an access point, and a button per access point with its state
An access point's page Live view, radios, its networks' options, device operations, clients
A client's page Signal and rates over time, joins, roams and leaves, actions
Wireless › Overview Access point alerts
Wireless › Radios & channels One change to many access points
Wireless › Experience & reports Reports

Preparing an OpenWrt access point: the access rules

Korthveil manages an OpenWrt access point through its own limited account on the access point, korthveil, which may only read the Wi-Fi settings and status and change the Wi-Fi settings: it can never run commands. Do this once on each OpenWrt access point, as root over SSH.

Updating from 1.7.6 or earlier: the access rules changed in 1.7.7 (Wi-Fi scans, channel surveys, the radios' power limits and the log were missing, so scans and surveys failed and the power slider assumed 20 dBm). Replace the rules file on every OpenWrt access point with the one below and restart rpcd.

  1. Create the rules file /usr/share/rpcd/acl.d/korthveil.json with this content:
{
  "korthveil": {
    "description": "Korthveil wireless controller",
    "read": {
      "ubus": {
        "session": ["access", "login"],
        "system": ["board", "info"],
        "iwinfo": ["devices", "info", "assoclist", "scan", "survey", "freqlist", "txpowerlist"],
        "uci": ["get", "changes"],
        "log": ["read"]
      },
      "uci": ["wireless"]
    },
    "write": {
      "ubus": {
        "uci": ["set", "add", "delete", "revert", "apply", "confirm", "rollback"],
        "hostapd.*": ["del_client"],
        "system": ["reboot"]
      },
      "uci": ["wireless"]
    }
  }
}

/etc/config/rpcd:

config login
    option username 'korthveil'
    option password '$p$korthveil'   # the system user's /etc/shadow password; or a $1$ crypt hash
    list read 'korthveil'
    list write 'korthveil'
    option timeout '900'

Create the system user (korthveil, no shell) with a long random password, then restart rpcd (/etc/init.d/rpcd restart). The read part covers every call the connector makes: the radio's channel list and highest power (iwinfo freqlist, txpowerlist) for the RF plan and power presets, the air scan and channel survey (iwinfo scan, survey), and the access point's log (log read) for sign-in failures; without them those features answer "access denied" (openwrt_acl_test.go checks the ACL against the connector). The ACL gives no file exec, rc, or service access. Korthveil never runs commands on the AP, and the ACL would refuse them anyway.

Use a long random password for the korthveil user (example only above: never reuse it). After /etc/init.d/rpcd restart, add the access point in Korthveil with that user and password; Korthveil shows the access point's certificate fingerprint for you to confirm before it sends the password.

An access point's page

Live: clients, uptime, firmware, and the client traffic graph (the sum of the clients' rates, every 10 seconds). Airtime, channel busy, interference, retries, temperature, CPU and memory show as not reported until the access point's connector reads them.

Radios: per radio, Channel, Transmit power (slider; driver default at 0), Radio on. Channel width (slider with 20/40/80/160/320 MHz marks; the radio's current width is the limit), Minimum data rate, 802.11b off and Beacon interval are shown with their reason when the connector cannot set them yet.

Its networks: Client isolation (always on for a guest network), Hidden; Maximum clients, Bandwidth per client, Multicast to unicast, Broadcast filtering and Schedule with their reason when not available. These options apply to the network on every access point that broadcasts it.

Press Save to pending changes, then commit. Every push is undone by the access point itself unless Korthveil confirms it.

Device: Managed by Korthveil, Push now, Reboot… (asks first; clients drop for a few minutes). LEDs, locate, PoE (today on Network › Switches), port VLANs, configuration backup, staged firmware updates with automatic undo, and factory reset show their reason when not available.

Clients: each client with its network, signal (green above -60 dBm, amber to -72, red below) and rates; History and actions opens its page.

A client's page

  • Signal (RSSI) and Data rates graphs over the last two hours (one point per poll), with roams marked. History is kept in memory and starts empty when the add-in restarts.
  • Joins, roams and leaves, newest first. OpenWrt does not say why a client left; the line says what was seen (not in the client list at the next poll, or the access point stopped answering).
  • Disconnect, Block for a day (keeps it off that access point for 24 hours; to keep a device off for good, use Network › DHCP server › Isolate).
  • Give it its own key: a personal key tied to its MAC on a passphrase network, optionally landing it in another VLAN (Land in VLAN). The key is shown once; commit, then type it on the device.
  • Steer to another access point and Limit its bandwidth show their reason when not available.

One change to many access points

Switch on the access points, choose the Band, then a Channel, a Transmit power or Switch these radios off, and press Preview: it lists each radio that changes (and access points without that band, skipped) and the configuration lines. Apply commits with a 5-minute confirmation; Undo puts the previous revision back.

Access point alerts

Offline access points, changes that did not apply, busy access points (more than 40 clients), many weak clients (more than a third below -75 dBm), and what the air watch hears (evil twins of your networks). Hot and high-retry alerts need the access point's counters and say so until its connector reads them. Offline and failed pushes also reach Monitoring › Alerts through the add-in's health.

Reports

Busiest access points and clients now, roaming problems (a client that roams 4 or more times within 10 minutes bounces between access points; disconnects at a weak signal mean it stays too long on a far one), and coverage gaps (access points whose clients' median signal is below -70 dBm). Usage over days and weeks comes with stored history in a later update.

Download as PDF All guides