Commit Graph

1404 Commits

Author SHA1 Message Date
Tim Wilkinson 86271040a0
Scan cache (#1160)
* Cache the last wifi scan and update it when a re-scan is requested.
This change was suggested as a way of handling Ubiquiti AC devices
which disconnect while scanning and making retrieving the results
problematic if that was your connection. Now we scan and store the
results so they can be retrieved later. In fact we no longer scan when
navigating to this page but require an explicity scan button push.
This make the page generally more responsive when initially navigated
to.
2024-04-10 18:30:29 -04:00
Paul K3PGM 9dafffa152
Show progress bar during reboot/reflash and show estimated time remaining in MM:SS. (#1156)
* Reboot/reflash progress bar, time remaining in MM:SS

When rebooting or reflashing the node, display a progress bar as
well as the estimated time remaining. Also show the time remaining
in MM:SS format.

* Fix indentation error.

* Minor changes to improve browser compatibility.
2024-04-07 16:04:00 -04:00
Tim Wilkinson 0dba2661c3
Improve the reboot/flash timers (#1155)
During the initial setup the IP address of the node can move
around a fair bit. Make sure the reboot timeout code handles this.
2024-04-04 12:10:58 -07:00
Tim Wilkinson e51fedc394
Use 192.168.1.1 when flashing while on ramdisk (#1154) 2024-04-03 15:29:15 -07:00
Paul K3PGM 3fee4eadae
Add antenna and TX-power definitions for GL-B1300. (#1151) 2024-04-03 15:01:43 -07:00
Tim Wilkinson d8b85d5b4a
Fix library requires (#1147)
* Another attempt to stop the mesh page from being truncated sometimes

* Fix originator

* Fix the require(...) libraries
2024-04-01 22:15:45 -07:00
Tim Wilkinson 9b89db7a7f
Fix missing hosts on mesh page (#1146)
* Another attempt to stop the mesh page from being truncated sometimes

* Fix originator
2024-04-01 22:14:49 -07:00
Tim Wilkinson d8c29d60e9
Use per-page scan rather than per node (#1145)
Similar fix that was recently added to the mesh page
2024-03-31 22:14:49 -07:00
Tim Wilkinson c77a63eca3
Ubiquiti AC wifi scan fix (#1144)
If we disconnect then reconnect the radio then the wifi scan on the Ubiquiti AC
will work for a short while.
2024-03-31 22:13:42 -07:00
Tim Wilkinson dae38b1611
Eliminate displaying multiple copies of previous neighbors (#1143) 2024-03-31 14:18:38 -07:00
Tim Wilkinson 145a2a38e8
Add 'None' antenna so we can unset the defined antenna (#1142) 2024-03-29 22:32:49 -07:00
Tim Wilkinson 466b8bd3c2
Chrome layout fixes (#1141)
* Layout tweaks for Chrome

* Better fixed antenna ui
2024-03-29 18:32:36 -07:00
Tim Wilkinson 5c90a1c09f
Tweak setup page layout (#1139)
* Tweak setup page layout

* Move map
2024-03-29 15:42:00 -07:00
Tim Wilkinson d111d82549
Provide /metrics using alias (no more /cgi-bin/metrics) (#1140) 2024-03-29 15:41:48 -07:00
Tim Wilkinson 7fbc89e797
Fix black on black text on tunnel page (#1138) 2024-03-29 13:02:52 -07:00
Tim Wilkinson c7f79de97a
Add aux antenna support (#1136) 2024-03-29 12:25:04 -07:00
Tim Wilkinson 5c279f16e0
Add a countdown timer for reboots and updates (#1137) 2024-03-29 12:24:55 -07:00
Tim Wilkinson bca1ed4be4
Rewrite iperf to make it more reliable (#1135)
* Improve iperf

* Try to improve iperf reliability

* Try to improve iperf reliability

* Rewrite
2024-03-28 23:01:59 -07:00
Tim Wilkinson a97c1c277a
Use arpping to monitor poor arp-able links (#1134) 2024-03-28 23:01:48 -07:00
Tim Wilkinson 068e35dfc8
Fix missing cursor (#1132) 2024-03-28 23:01:37 -07:00
Tim Wilkinson 4337fc6393
Fix display of previous neighbors (#1133) 2024-03-28 15:43:09 -07:00
Tim Wilkinson f75e4d9675
Increase wifi retries by default. (#1129)
Experimental wifi research reports that increased retries (rather than decreased as I originally
thought) improves tcp throughput on multi-hop wifi networks.
2024-03-27 17:01:14 -07:00
Tim Wilkinson 8e751dcb62
Half the OLSR maintenance traffic (#1130) 2024-03-27 17:01:00 -07:00
Tim Wilkinson 3d1faf8939
Fix DTD and WLAN ips derived from matching MACs. (#1128)
On some devices the hardware MAC for the WLAN and ETH are the
same so the 10.DTD and 10.WLAN addresses are identical. If we
detect this, bump the DTD address.
Commonly seen on TP-Link devices (but there are others)
2024-03-26 22:56:21 -07:00
Tim Wilkinson a14b897e0f
Disable reducing retry counts (#1126) 2024-03-26 16:23:50 -07:00
Tim Wilkinson ff02f129f3
Improve xlink reporting in sysinfo (#1127) 2024-03-26 16:23:32 -07:00
Tim Wilkinson 2fc76191a0
Set pkt retry to 2 (was 1) for hub nodes. (#1125)
Too many retries appears to cause network congestion issues slowing down
links with multiple hops, but reducing this to 1 then caused single links
to have poor performance. Try a rety of 2 as a better compromise.
2024-03-25 21:08:30 -07:00
Tim Wilkinson 8b6339a099
Use adaptive reload mechanism when node upgrades or reboots (#1121) 2024-03-25 19:52:27 -07:00
Tim Wilkinson 08226ca8d0
Make auto mesh reloading per browser rather then per node (#1122) 2024-03-25 19:52:16 -07:00
Tim Wilkinson dea10f2f8e
Lime on Black style (#1123) 2024-03-25 19:52:06 -07:00
Tim Wilkinson d517e4f6c8
Fix Bad Gateway when rebooting from tunnel pages (#1120) 2024-03-24 23:34:19 -07:00
Tim Wilkinson 6be1091ffb
Updates to /etc/local/services no longer require reboot (#1119) 2024-03-24 23:10:42 -07:00
Tim Wilkinson b1c85fa281
Improve speed of search (#1117)
* Stop searching empty fields

* Cache searchable fields to speed up future searches
2024-03-22 17:49:59 -07:00
Tim Wilkinson 43a4940032
Improve mesh page searching (#1115)
* Improve layout so we can improve search

* Fixes

* Use thead for table header
2024-03-15 08:43:43 -07:00
Tim Wilkinson 811743a7ac
Add <1 mile if distance to node is known but small. (#1114)
Handle kilometers
2024-03-13 18:18:24 -07:00
Tim Wilkinson afbd22a5e6
Hide wireguard keys in base config (#1112) 2024-03-06 10:24:03 -08:00
Tim Wilkinson 2cda75e7ba
Include tunnel information in supporttool dump (with hidden passwords) (#1111) 2024-03-05 17:23:13 -08:00
Tim Wilkinson 5c633f2b8e
Support CIDR (e.g. /24, /16, etc) on a xlink (#1110)
* Revert hAP AC Lite xlink support

* Support CIDR (e.g. /24, /16, etc) on a xlink
Xlink had originally been envisaged as a point-to-point connection
leaving the "how" of that to other software. However, there's a use case
where the non-AREDN radios in the xlink need to be accessed, and allocating
addresses within the xlink's address range is a good way to do that.
By supporting a a subnet on a xlink we can enable this.
2024-03-04 21:08:27 -08:00
Tim Wilkinson e8abbb5489
Revert hAP AC Lite xlink support (#1106) 2024-03-01 15:23:15 -08:00
Tim Wilkinson 6f30ab1cc5
Fix bug in making new xlinks (#1105) 2024-02-29 16:32:45 -08:00
Tim Wilkinson 6d81b4c846
Enable xlinks on hap ac lites (#1104) 2024-02-28 23:57:13 -08:00
Tim Wilkinson 4ff44c2b21
Run the wireguard watchdog script every 5 minutes (#1102)
This fixes up wireguard connections to dynamically changing IP addresses
2024-02-23 23:02:45 -08:00
Tim Wilkinson 6659c59239
Ignore tracker entries without IPs (#1101) 2024-02-23 21:11:51 -08:00
Tim Wilkinson d1777c016d
Correctly escape characters in the mailto: urls (#1099) 2024-02-19 17:33:41 -08:00
Tim Wilkinson e76c21de2d
Improve hidden node reporting & fix column alignments (#1098)
* Fix ETX alignment

* Move hidden into Remote Nodes section.
Simplify node status construction
2024-02-11 21:04:02 -08:00
Tim Wilkinson 270b205a8b
Improve link labels (add RF and Wireguard) (#1097) 2024-02-11 01:12:58 -08:00
Tim Wilkinson 425253a428
Fix lqm ip lookup (#1096) 2024-02-09 20:55:18 -08:00
Tim Wilkinson 139c5f66e5
Merge the LQM info onto the Mesh page (#1095) 2024-02-09 20:45:52 -08:00
Tim Wilkinson a810b3b63b
Limit buffer size of iperf3 test to 1K (#1094)
This is a workaround for a bug where iperf3 will just block
randomly and no longer send data. It may effect the absolute
performance measurements compared to the default buffer value
although I didnt see that in my testing
2024-02-09 14:13:16 -08:00
Tim Wilkinson a09ac6ed1a
New supernodes no longer have access to legacy tunnels (#1093) 2024-02-06 19:24:33 -08:00