Commit Graph

1634 Commits

Author SHA1 Message Date
Tim Wilkinson 7650b627e8
Minor wifi monitor improvements for better metrics reporting (#875) 2023-06-20 20:51:18 -07:00
Tim Wilkinson 8c4d9edd99
Merge all the station monitoring and mitigation into a single service. (#874)
This is an attempt to unify all the station monitoring and make it work
better as one. We're trying to square a circle here somewhat, with taking
steps to kick nodes when problems are detected, but not kick them too quickly
or often in case we're mis-identifing issues.
We've seen these issue manifest themselves which nodes messing VoIP services
as well as resets causing nodes to get into unrecoverable states when there
was no real problems in the first place.
This will probably need to evolve before the next release, but would be good
to get some milage on the new code.
2023-06-20 01:27:23 -07:00
Tim Wilkinson ea2375974c
Revert PowerBeam 5AC 400 name change which causes upgrade problems. (#873) 2023-06-18 21:48:09 -07:00
Tim Wilkinson 52c7286a4c
Remove another coverage test which causes problems. (#871)
Coverage is handled by modifying firmware state, and the driver stores
the values the first time it is set. When we reset this state might be lost
so it will be reloaded from the firmware. We set the coverage back to 0
so the reloaded value will be the default again.
We also remove a check which can fail incorrectly.
2023-06-12 23:29:38 -07:00
Tim Wilkinson 8c4369e966
Remove subnet restrictions for xlinks (#870)
Xlink endpoints can now be arbitrary IP addresses
2023-06-11 23:20:24 -07:00
Tim Wilkinson 8f6e943237
Avoid fatal error if mac disappears across a radio reset (#868) 2023-06-08 21:27:37 -07:00
Tim Wilkinson b64aa0c988
Monitor bug fixes (#867) 2023-06-07 22:42:42 -07:00
Tim Wilkinson 8287742822
Fix bug when editing xlinks on single port devices (#866) 2023-06-06 21:54:08 -07:00
Tim Wilkinson da7b894c39
Support xlinks on x86 (#865) 2023-06-06 00:38:45 -07:00
Tim Wilkinson 644b6579a5
New LiteBeam AC Gen2 variant (#864) 2023-06-04 21:31:53 -07:00
Tim Wilkinson 26742bbd83
Fix 'has_wifi' detection. (#863)
/sys/kernel/debug/ieee80211 can exist without entries sometimes
2023-06-04 17:24:28 -07:00
Tim Wilkinson 935dc2c063 Handle non-wifi devices passed to maxpower/pwroffset functions 2023-06-03 15:45:00 -07:00
Tim Wilkinson 60a2627989
More multi-radio support (#860)
* Multi-radio: Support different powers for different radios
* Use arrays for powers
* Update APIs to take wifi interface
2023-06-02 18:47:34 -07:00
Tim Wilkinson 225773cf06
Fix lua converting empty port object to empty array. (#858)
Lua confuses empty objects and empty arrays when converting to JSON.
2023-06-01 18:47:50 -07:00
Tim Wilkinson a61dfcdafe
Alternate ath9k and ath10k radio reset for deaf nodes (#857)
* A scan, especially if we have to do both active and passive, essentially mutes
the radio to AREDN traffic for 10-20 seconds, which isn't good. If the radio is completely
deaf then it doesn't matter, but particularly on the 9K radios we do this when
things are looking a bit dodgy, though not deaf. 
* Provide hook to reset ath9k from userspace.  This hook is attributed to:
Linus Lüssing <ll@simonwunderlich.de>
* User /sys reset hooks rather than iw scan
2023-06-01 17:06:39 -07:00
Tim Wilkinson 0890ab210f
Fix API nil pointer when mac lookup fails (#855) 2023-05-29 21:12:37 -07:00
Tim Wilkinson df77276075
Disable WAN access to node by default. (#854) 2023-05-29 11:22:09 -05:00
Tim Wilkinson ab541c3d35
Fix disabled mesh on multi-wifi devices (#852) 2023-05-27 17:58:10 -07:00
Tim Wilkinson 158773f777
Enable rocket m xw (accidentally disabled) (#850) 2023-05-25 21:32:37 -07:00
Tim Wilkinson 4e621baf0b
Support switching mesh radio on multi-radio devices (#847) 2023-05-25 21:27:59 -07:00
Tim Wilkinson 62a19a239e
Support for Mikrotik LDF 5AC (#841) 2023-05-17 20:52:51 -07:00
Tim Wilkinson 65dab4cda1
UI improvements from Steve (#843) 2023-05-17 17:49:04 -07:00
Tim Wilkinson f9b032aca1
Advanced networking tab (#834)
* Advanced networking tab

* Add page protection

* Disable WAN VLAN option in advanced config when advanced networking available
2023-05-16 21:29:20 -05:00
Tim Wilkinson f00966531d
PowerBaam 5ac-620 support (#840) 2023-05-15 14:10:05 -07:00
Tim Wilkinson 27f9c82b92
Revert the Rocket M5 filename change. (#839)
This was preventing the currently installed Rocket M5s from finding updates.
2023-05-13 23:22:14 -07:00
dman776 ca496462d4
revert workspace changes (#836) 2023-05-10 20:51:06 -05:00
dman776 49db14f358
Cci workspace step1 (#835)
* cci workspace introduction

* Revert "cci workspace introduction"

This reverts commit a8c76fe7d7.
2023-05-10 20:49:23 -05:00
Tim Wilkinson cb090b250a
Split rocket-m[52]-xw into different builds (#832)
The Rocket M5 and M2 (XW version) need different DTS files to work
so we need two builds.
2023-05-09 23:15:45 -07:00
dman776 bf95688115
cci workspace introduction (#831) 2023-05-09 21:53:14 -05:00
Tim Wilkinson 3fa247bc86
LDF2 support (#828) 2023-05-09 00:22:41 -07:00
Tim Wilkinson eb90661eac
Fix wifi setup for multi-radio devices (#827)
Disable/enabling mesh wifi on multi-radio devices could confuse the
allocation of the radios to specific tasks
2023-05-08 22:31:10 -07:00
Tim Wilkinson a5725ee55e
Add missing radios.json for Powerbeam 5AC 400 (#826)
* Add missing radios.json for Powerbeam 5AC 400
* Supported in nightly
2023-05-07 10:35:35 -07:00
Tim Wilkinson 175d23ee30
Remove the old PBE 100mb port fix as it's no longer necessary. (#823)
Deprecate /etc/rc.local (where the fix was) by making dnsmasq startup the proper way
2023-05-05 18:20:45 -07:00
dman776 5f19a7d090
cci improvements and change nightly build number to actual date (#824)
ie. aredn-20230505-commit_id-xxxxx-yyy.bin
2023-05-05 18:20:29 -07:00
Tim Wilkinson c991ea4ea1
Feedback when pressing upload/download buttons (#819) 2023-05-03 19:22:30 -05:00
Tim Wilkinson 8f572af4c7
Fix upgrade typo (#818) 2023-05-03 19:21:52 -05:00
Tim Wilkinson 58d662fb05
Upgrade to OpenWRT 22.03.5 (#817) 2023-05-02 20:50:26 -07:00
dman776 99380f59f8
cci update default workflow (#816) 2023-05-01 17:52:13 -05:00
dman776 baf100deed
migrate circleci to pipelines and trigger schedule (#814) 2023-05-01 17:39:23 -05:00
Tim Wilkinson e6f29214f2
Fix channel display for 5GHz nodes (#811) 2023-04-29 00:10:59 -07:00
Tim Wilkinson 3863207c5a
Virtualized X86 support (#807) - 4/28/2023
* x86 configs

* Update for new update system

* Build support

* Handle nowifi on status page
2023-04-28 11:01:58 -07:00
Tim Wilkinson 794d6caa89
Tidy up the formatting and fix column widths (#809) 2023-04-27 22:12:57 -05:00
Tim Wilkinson e148f10ed0
Fix syntax error in patch that broke network on many ath79 devices (#808) 2023-04-26 17:25:26 -05:00
Tim Wilkinson deeacc2cc2
Restructure, modularize and tidy the navigation buttons and menus (#805)
* Make admin and user bar menus pluggable

* Realign header block to stop is moving around

* Remove ref

* Use modular nav to disable ineligable options during initial install

* Dont offer tunnel menus options when no tunnel daemon installed.
This is for low-memory devices

* Simplify

* Improve messaging when running ram image

* Disable rather than hide vpn menu items on tiny memory devices

* Move menu navs
2023-04-25 20:07:19 -07:00
Tim Wilkinson 1ddac476f1
Fix ar300m16 wan configuration (#806) 2023-04-25 15:30:21 -07:00
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
dman776 07bad2d173
fix circleci config.yaml (#800) 2023-04-19 21:20:48 -05:00
Tim Wilkinson b16a6c4b85
Fix missing POE for nanostation-m (#799) 2023-04-19 21:19:58 -05:00