Tim Wilkinson
be969b1e63
Fix frequency range reporting and display for 900MHz devices ( #803 )
2023-04-23 20:00:53 -05:00
Tim Wilkinson
8711afa9ca
Remove hardwired frequency tables and use information from the hardware ( #801 )
...
* Remove hard coded channel tables
* Reduce radios.json to only what's needed
* Update radios
* Improve unsupported device handling
2023-04-22 03:24:20 -10:00
Tim Wilkinson
291ba2d012
Prometheus Metrics ( #797 )
...
* Basic memory, filesystem, cpu and networking
* Split metrics out
* Run hourly metrics tasks if people are actively gathering metrics
* Hourly metrics
* Add LQM metrics
* Fixes
* OLSR link info
* Improve error handling
* Basic node details
* Add bitrates and ping times
* Remove periodic tasks
* Migrate metrics to package
* Metrics config file
2023-04-20 18:34:52 -07:00
Tim Wilkinson
697d6c6d42
Fix TP-Link CPE210 v3 capitalization ( #792 )
2023-04-17 20:38:27 -05:00
Tim Wilkinson
e5a0b43480
Fix occasional nil error
2023-04-11 00:38:35 -07:00
Tim Wilkinson
cc78b0c4a7
Mikrotik SXT Lite2 support
2023-04-10 10:25:29 -07:00
Tim Wilkinson
922949abc0
Eliminate false network rejoins using LQM information ( #781 )
...
* Use LQM information to filter out neighbors we dont care about.
These can cause false rejoin events and degrade the network.
* Only use active station monitor with LQM info.
2023-04-10 10:21:30 -07:00
Tim Wilkinson
211006b47c
Resolve unresponsive node problems with Mikrotik AC devices. ( #776 )
...
* Resolve unresponsive node problems with Mikrotik AC devices.
Mikrotik AC devices get into a state where they wont communicate with
non-AC devices .. sometimes. Leaving and rejoinging the network resets
everything. We monitor for this situation and rejoin the network when detected
to resolve the issue.
* Make reporting less chatty
2023-04-02 01:29:46 -07:00
Tim Wilkinson
59ed665f3d
General station monitor logging service. ( #767 )
...
* General station monitor service.
It turns out this station bug is not limited to the ath10k driver, so
make this monitor service wifi generic.
(I've now seen this at both ends of the Mikrotik AC <-> Rocket pair)
* New logs
* Just monitor for now
2023-03-30 11:36:31 -07:00
Tim Wilkinson
4761380fc7
Support for NanoBeam AC 5 Gen 2 (XC)
2023-03-29 14:52:43 -07:00
Tim Wilkinson
933e411a10
Force badly associated stations to reassociate.
...
There appears to be a bug in the ath10k firmware for Mikrotik devices (maybe others)
where a station will associate but only broadcast traffic will be passed - unicast traffic
will fail. This code detects this situation and forces the device to reassociate which
fixes the problem.
2023-03-28 18:41:28 -07:00
Tim Wilkinson
954cd70ebf
Powerbeam 5AC 400 support ( #765 )
...
* Support PowerBeam 5AC 400
* Supported info
2023-03-26 23:00:28 -04:00
Tim Wilkinson
5657bfcdf8
Dont let services uses hostname which are not propagated.
...
OLSR doesnt allow this.
2023-03-26 22:37:43 -04:00
Tim Wilkinson
2e64928bfa
Support for LiteBeam AC / LiteAP AC
2023-03-26 22:35:58 -04:00
Tim Wilkinson
79a5880b21
Improve ipFromCIDR function to handle /32 cidrs.
...
Unlike any other /X suffix, the /32 is omitted when turned into a string.
2023-03-26 22:33:34 -04:00
Tim Wilkinson
6aee2e1305
Block DHCP server traffic from every going to the WAN interface
2023-03-23 23:06:42 -04:00
Tim Wilkinson
51878e2b32
Stop RETURN from refreshing the mesh page
...
When people are using the filters on the mesh page, they sometimes
hit RETURN. This submit the page (which is a form) causing the page
to reload, lossing the filter, and as a side effect, setting the page
to auto-refresh.
2023-03-16 16:08:55 -04:00
Tim Wilkinson
dd0cc3ba2e
Validate state of services over a period of time before disabling advertisements ( #751 )
...
* Track validation state of hosts and services. Only remove a host/service if it fails multiple times in a row.
* Let new addresses/services be valid for a while regardless
* Initially unknown addresses will be valid for a while
* Reset validation state when services updated
2023-03-16 16:02:08 -04:00
Tim Wilkinson
21115f732d
Support forced upgrades ( #745 )
...
* Support force upgrades
* update UI with warning for unsafe upgrades
* Ignore the device check when in dangerous mode
2023-03-10 15:39:23 -08:00
Tim Wilkinson
692fc8e8c9
Improve error reporting when server is busy/disabled
2023-03-07 07:57:26 -08:00
Tim Wilkinson
95f3cfe75a
Fix service alignments
2023-02-21 17:49:10 -08:00
Tim Wilkinson
e284ff98e2
Move the unconfigued setup earlier
...
Fixes bad band label display on first boot
2023-02-21 17:46:43 -08:00
Tim Wilkinson
6a27a8fb28
Add GL.iNet GL-AR750S "Slate"
2023-02-20 12:09:12 -08:00
Tim Wilkinson
4763c4d149
Fix AP mode selection when turning mesh back on.
2023-02-20 12:05:39 -08:00
Tim Wilkinson
e728e30aaf
Handle system upgrade files of type "nand-sysupgrade"
2023-02-20 12:03:01 -08:00
ab7pa
072c3da550
remove WAN Wifi Client key lower limit
2023-02-20 09:25:35 -08:00
Tim Wilkinson
68f242512b
More fixes for AP mode
...
AP radio isn't always phy1 so handle these cases.
Add in some labels to RF and AP for which bands are in use.
2023-02-19 08:18:32 -08:00
Tim Wilkinson
05d247d15f
Fix rule checking for existing drop rules. ( #719 )
2023-02-17 21:07:39 -08:00
Tim Wilkinson
32e02de328
Fix fccid beacon ( #717 )
2023-02-17 21:06:04 -08:00
Tim Wilkinson
61fa802f80
Fix monitors not detecting non-mesh mode ( #716 )
2023-02-17 21:02:21 -08:00
Tim Wilkinson
741becfefa
Improve AP band selection. ( #718 )
2023-02-17 20:58:51 -08:00
Tim Wilkinson
111858eaba
Mesh Status TxMbps calculation consistency ( #713 )
...
* Fix the bandwidth reporting for ath10k devices
* Use 'iw' for all TxMbps reporting.
As we cannot account for error rates in the ath10k driver, to be consistent
we now use the same system to retrieve tx rates for both ath9k and ath10k.
* Remove unused rate tables
2023-02-15 20:49:33 -08:00
Tim Wilkinson
9ae6e13ee0
Force dnsmasq to update itself if no network changes for > 60secs
...
On small networks there are not a lot of OLSR name changes. While
dnsmasq watches for changes and updates itself, it will sometimes miss
them. On busy networks this doesnt matter as the next change will catch
it up. But on smaller network (esp. test networks) a missed change can
stop name resolution working for some time. So now, if no changes are
detected for > 60 seconds, we force dnsmasq to reload its tables.
2023-02-15 20:21:17 -08:00
Tim Wilkinson
dd00c7b1c3
Fix the bandwidth reporting for ath10k devices
2023-02-15 20:14:53 -08:00
ab7pa
b4df8bd893
add help text for LAN AP channel selection
2023-02-14 21:44:39 -08:00
ab7pa
89500f6c2d
add extended channels to LAN AP list
2023-02-14 21:44:39 -08:00
Tim Wilkinson
214a93367a
Fix AC coverage calculation in driver. ( #710 )
...
For some reason, there was code in the driver to block the setting of
the coverage when a previous setting wasn't a particular value.
It's unclear what this was trying to achieve or prevent, but it stopped AC
devices operating efficiently (by a factor of 10x or more).
2023-02-12 15:50:49 -06:00
Tim Wilkinson
6834271946
Reworked ARP cache ( #707 )
2023-02-11 13:45:04 -06:00
Tim Wilkinson
571dbf6251
Disable RTS by default in ath10k devices 02/11/2023 ( #706 )
2023-02-11 13:44:10 -06:00
Tim Wilkinson
c70a23f7a8
Improve LQM distance management 02/11/2023 ( #705 )
2023-02-11 13:43:36 -06:00
Tim Wilkinson
062ffb3521
Normalize the case of the macs and node names ( #700 )
2023-02-11 13:42:03 -06:00
Brett T. Warden
8f4e05030e
Use luci's urldecode_params to handle query string ( #703 )
2023-02-10 11:19:09 -06:00
Tim Wilkinson
2ae6a61630
More consistant way to provide interface mac address in overrides ( #698 )
2023-02-07 21:57:20 -06:00
Tim Wilkinson
863d098554
Filter even earlier
2023-02-03 09:39:28 -10:00
Tim Wilkinson
eefcc888dc
Filter out non-routable ARP entries which confuse LQM
2023-02-03 09:39:28 -10:00
Tim Wilkinson
e515ed7ec6
Provide a timeout on the iperf client.
...
This cryptic bit of shell script adds a maximum timeout for the iperf client
to run as it appears it can get stuck occasionally. The server has a built-in
timeout (not available in client mode)
2023-02-03 08:17:49 -10:00
Tim Wilkinson
edda18da98
Add QRT5 support ( #688 )
2023-01-29 21:22:53 -06:00
Tim Wilkinson
33684d22d2
Gather statistics about RF links ( #684 )
2023-01-29 21:21:58 -06:00
Tim Wilkinson
fdb9270617
Improve firmware failure error recovery ( #683 )
2023-01-29 21:21:03 -06:00
Tim Wilkinson
f733592438
Make sure we never pass 'nil' to the json parser ( #685 )
2023-01-28 21:58:46 -06:00
Tim Wilkinson
d6a6261a46
Remove fw blocker we no longer need ( #679 )
2023-01-27 22:08:22 -06:00
Tim Wilkinson
ee3fa7f955
Split the various Mikrotik radios into their individual variants ( #677 )
2023-01-26 15:34:48 -06:00
Steve
0dc5651690
add hidden and exposed to help file ( #676 )
2023-01-26 13:39:31 -06:00
Tim Wilkinson
e6eef45de7
New firmware selector
...
Uses the same information as the firmware selector UI
2023-01-25 23:42:06 -08:00
Tim Wilkinson
4894f42efd
Make sure we look for packages with the correct architecture
2023-01-24 23:29:06 -08:00
Tim Wilkinson
8817b70b52
Remove firewall counters except for specific ports
2023-01-24 23:16:42 -08:00
Tim Wilkinson
2423bdd152
fix xlink firewall rule inserted incorrectly ( #671 )
2023-01-24 20:35:15 -06:00
Tim Wilkinson
773c69d171
Fix netmask on br-nomesh device (for when RF mesh is disabled) ( #670 )
2023-01-24 19:17:35 -06:00
Tim Wilkinson
701b2afa3c
Refresh LQM's hostname periodically
2023-01-23 11:30:36 -08:00
Tim Wilkinson
5cf089e96c
Iperf improvements ( #668 )
2023-01-21 22:38:32 -06:00
Tim Wilkinson
aa76c06b6a
Ignore non-routable when calculating hidden nodes ( #665 )
...
* Exclude neighbor's neighbors which are non-routable.
If a neighbor node's neighbor is non-routable, then no traffic will
flow from it, so it's not hidden
* Use routable flag for exposed node detection
2023-01-20 21:39:54 -06:00
Tim Wilkinson
78b8578a06
Automatically enable RTS when hidden nodes detected ( #659 )
2023-01-19 13:11:30 -06:00
Tim Wilkinson
7b8a2f2e8a
Fix power offsets ( #656 )
2023-01-19 09:15:26 -06:00
Tim Wilkinson
f57a2ac647
Add nanobeaml ac gen1 xc
2023-01-17 14:15:22 -08:00
Tim Wilkinson
3366f9baa6
Mikrotik boot loader change to avoid boot lockup problem ( #654 )
...
See: https://forum.openwrt.org/t/openwrt-installed-mikrotik-rb750gr3-wont-boot-when-wan-cable-plugged/146330/7
2023-01-16 13:57:19 -06:00
Tim Wilkinson
45ac6c583f
Generalize node-setup variable expansion ( #653 )
...
* Turn variable expansion into a function so we can reuse it
* Fix not including missing include
2023-01-15 21:50:39 -08:00
Tim Wilkinson
fdeda7d0cc
New network configuration code ( #650 )
...
* Migrate wired network building into node-setup
* Rework network setup
* Fixes for various alt wireless modes
* Commit to new vlan model
2023-01-14 23:07:22 -08:00
Tim Wilkinson
21c3b80e59
An node with a single RF link cant have exposed nodes
2023-01-14 22:54:00 -08:00
Tim Wilkinson
b26017c2d1
Rework DTD blocking detection
2023-01-14 21:22:07 -08:00
Tim Wilkinson
e0498ca856
Handle missing ip and more general RF/DTD identification
2023-01-13 14:08:36 -08:00
Tim Wilkinson
252b1dc8b7
Exposed node detection ( #644 )
2023-01-12 19:58:27 -08:00
Tim Wilkinson
5fcd373e65
Block older versions of the firwmare once we upgrade
2023-01-12 14:56:07 -08:00
Tim Wilkinson
d2ac62e775
Bug fixes + distance information
2023-01-12 14:54:35 -08:00
Tim Wilkinson
72cc6c8a06
Hidden node detection (and optional mitigation) ( #635 )
...
* Enable RTS/CTS when we detect hidden nodes
* Only change rts setting when we need to
* RTS advanced config option
* Include neighbors blocked neighbors (they still transmit)
* Bump default RTS threashold
* Report list of hidden node rather than yes/no
* Canonical hostnames
* When we enable RTS, enable it for all traffic by default
* Show hidden neighbors in display
* Default RTS threshold to -1 (always off)
2023-01-12 10:31:28 -08:00
Tim Wilkinson
a21f7791af
Add Mikrotik LDF 5
2023-01-11 19:06:06 -08:00
Steve
a90fbae271
fix mesh status typos ( #632 )
2023-01-09 16:16:53 -06:00
Tim Wilkinson
6dac4c6b41
Fix WAN VLAN detection on hAP (name change)
2023-01-08 17:05:44 -08:00
Tim Wilkinson
8b3551b539
Add a maximum timeout for service checks.
...
The connec timeout did not include DNS looksup, and if DNS is broken this can hang forever. Add
a maxmimum timeout so this call will eventually terminate regardless.
2023-01-08 17:03:43 -08:00
Tim Wilkinson
fb6060cf3a
Fix idle tunnel quality check
...
When a tunnel is idle, binding to the tun* device fails; so remove it.
As we have a direct tunnel route in the routing table (not OLSR table 30)
created by vtun, we will still correctly route the quality testing traffic.
2023-01-07 20:32:42 -08:00
Tim Wilkinson
b082f56fee
Remove LQM first run code
...
This was used during the transition to using LQM and is no longer needed.
2023-01-07 07:43:23 -08:00
Tim Wilkinson
9acdc231dd
BAD TYPO - stops firmware being upgraded
2023-01-06 20:42:03 -08:00
Tim Wilkinson
93ba4ca367
Revert a forwarding rule which was changed in error
2023-01-06 20:40:51 -08:00
Tim Wilkinson
5214d35fcd
Provide better error feedback when upgrades fail
2023-01-05 19:13:01 -08:00
Tim Wilkinson
d2364b83ad
Fix tunnel firewall
...
Data destined for the firewall endpoint was being blocked by
bad rule ordering.
2023-01-05 13:02:40 -08:00
Tim Wilkinson
fce9629249
Switch from wget to curl for better control of timeouts
2023-01-04 22:43:14 -08:00
Tim Wilkinson
bea7fb6723
Fix tunnel quality measurement ( #617 )
2023-01-04 15:16:13 -06:00
Tim Wilkinson
bc77ff8b5b
Enable ac neg channels ( #615 )
2023-01-03 21:25:22 -08:00
Tim Wilkinson
8a3bc2d09c
Improve the quality of the scan output ( #609 )
2022-12-31 21:20:12 -06:00
Tim Wilkinson
599819c73c
Dont kill hostapd at start of upgrade process. ( #604 )
2022-12-28 16:00:29 -06:00
Tim Wilkinson
aadb372745
Fix DTD identification ( #601 )
2022-12-28 10:47:34 -06:00
Tim Wilkinson
9da5d7b8cc
Add client/server at top of data for easier understanding ( #602 )
2022-12-28 10:47:02 -06:00
Tim Wilkinson
9293de42a7
Improve meshref conflict check which could be triggered even when no wifi is enabled ( #599 )
2022-12-27 20:06:30 -06:00
Tim Wilkinson
47d8a5bb29
New opkg reports missing dependencies differently ( #597 )
2022-12-27 10:46:47 -06:00
Steve
909e4fb765
Display Charts button even when no RF links ( #593 )
...
* display charts button even if no RF links
* adjust spacing
2022-12-26 18:31:33 -06:00
Tim Wilkinson
6fba065d2d
Ignore unexpected output causing bad gateway error ( #591 )
2022-12-25 07:13:04 -06:00
Tim Wilkinson
0414ec7fac
Handle generic to specific name changes when upgrading ( #585 )
2022-12-24 23:17:53 -06:00
Tim Wilkinson
fa898ccb4f
Fix tonumber parsing when value is actually an error value ( #580 )
2022-12-23 23:01:07 -06:00
Tim Wilkinson
9ee849eb3f
More xlink firewall fixes ( #581 )
2022-12-23 23:00:35 -06:00
Tim Wilkinson
cbbd8f81ee
Fix xlink firewall rule ( #576 )
2022-12-22 23:35:21 -06:00
Tim Wilkinson
0992c62755
Terminate monitors when nothing to monitor ( #577 )
2022-12-22 23:35:01 -06:00