Skip to content

WiFi Insight 1.2.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 08:35
· 49 commits to main since this release
aa85145
  • 5 GHz scans on routers that refuse a full scan. On a DFS channel, some drivers refuse every full 5 GHz scan ("Scan Rejected"), so the Spectrum, Site Survey and Channel Statistics stayed empty on 5 GHz. Some of them still take one channel at a time: an RT-BE88U took every single-channel scan. WiFi Insight now falls back to that when the full scan is refused: one channel after another, each retried for up to 20 seconds, giving up after three refused in a row or 150 seconds. Where the driver only takes one now and then, the next scan carries on where this one stopped, so the band fills in over a few scans. scan, Scan now and the syslog say so, for example "one channel at a time (full scan refused: wl said "Scan Rejected" for 20 s)". Routers whose full scans work aren't affected. Thanks to SashaSolitaire, EmeraldDeer and ColDen for the tests!
  • When scans fail, the page says why. The Spectrum, Site Survey and Channel Statistics said "No scans yet" even when scans ran and the radio refused them. They now say what happened to the band's last scan, quoting the driver, and on 5 GHz that some routers refuse scans while on a DFS channel. When older scans are shown, the Spectrum subtitle mentions a failed scan after them.
  • A damaged database is reported, and repair fixes it. After a power cut, a database on a USB drive can be damaged ("database disk image is malformed"), and charts get gaps or stop updating. WiFi Insight now notices, logs it once, and says so on the page and at the end of status. wifiinsight.sh repair rebuilds the database from everything still readable, with sampling and scans paused meanwhile, and keeps the damaged copy next to it (wifiinsight.db.bad). On a sound database it changes nothing. Thanks to ColDen for the report!
  • Networks per channel shows Yours only when it heard other access points of yours (an AiMesh node, say). A router doesn't hear its own network when it scans, so without nodes the legend said Yours with nothing to show; the subtitle now explains that the shaded area is the router's channel.

Install or update

Over SSH on the router:

curl -fsL --retry 3 "https://raw.githubusercontent.com/IfSugar/wifiinsight/1.2.1/wifiinsight.sh" -o /tmp/wifiinsight.sh && sh /tmp/wifiinsight.sh install

Already installed? Run /jffs/addons/wifiinsight/wifiinsight.sh update. Your settings and history are kept.

Full diff: 1.2.0...1.2.1