Commit Graph

875 Commits

Author SHA1 Message Date
Tim Wilkinson bdba0c2910
tx power => txpower (typo) (#250) 2022-03-02 17:28:06 -06:00
Tim Wilkinson 2a263fce4f
Fix noprop color (typo in pattern match) (#251) 2022-03-02 17:27:39 -06:00
Tim Wilkinson 7b48dc3200 Only one device name per interface name (some devices have 2) 2022-03-02 07:25:23 -08:00
Tim Wilkinson 6877cb326f Fix WAN IP check (check was inverted) 2022-03-02 00:32:47 -08:00
Tim Wilkinson af53c47d57 Fix timezone management 2022-03-01 21:49:02 -08:00
Tim Wilkinson 3dbb83fcab
Lua userpages: ports (#244)
* Ports page in Lua

* Minor fixes

* Fix adding current leases to dhcp reservations

* Show correct dns alias ip address
2022-03-01 21:13:53 -06:00
Tim Wilkinson 5a47d39b3b
Fix map when lat/lon unknown (#245) 2022-03-01 21:06:55 -06:00
Tim Wilkinson a3f9e98577 Dont stop linkled service which no longer exists 2022-03-01 16:09:01 -08:00
Tim Wilkinson 3f2efd1c91
Fixes for first boot setup (#242) 2022-03-01 08:19:19 -06:00
Joe AE6XE 3e78e64bfc
aredn: add missing ar71xx led definitions (#241) 2022-02-28 21:42:43 -06:00
dman776 02ffc1e1b9
Revert "Prevent mesh from accessing internal LAN (#175)" (#240)
This reverts commit 86473b642e.
2022-02-28 15:45:46 -06:00
battlehax 86473b642e
Prevent mesh from accessing internal LAN (#175) 2022-02-28 14:41:22 -06:00
Tim Wilkinson 7600284487
Fix broken reboot on advancedconfig page (#239) 2022-02-28 14:38:05 -06:00
Tim Wilkinson 253b23d303
Missing cursor during reboot (#238) 2022-02-28 14:37:36 -06:00
Tim Wilkinson 01dbc757fa
Missing commas in dhcp options (#237) 2022-02-28 13:04:45 -06:00
Tim Wilkinson 4c3cd854a6
Protect against OLSRD returning nil results (#236) 2022-02-27 21:19:04 -06:00
Tim Wilkinson 301112fb37
Fix dmz_mode handling (#235) 2022-02-27 17:57:51 -06:00
Tim Wilkinson 70f81f5269 Check for various service and port files before opening them 2022-02-26 13:24:43 -08:00
Tim Wilkinson 2bd712cb9f
Add the interface guessing code like there is in perl (#228) 2022-02-24 11:07:36 -06:00
Tim Wilkinson 861db07ad6
Move multi ant detection into main run method (#229)
to avoid startup failures.
2022-02-24 11:06:29 -06:00
Tim Wilkinson 4f720b4afc
Submit on setup.pl should return to setup.pl (#227) 2022-02-24 11:05:33 -06:00
Tim Wilkinson 2d3e9a86b3 Fix typo when checking for multiple antennas
This check can fail if the rssi manager is started early but the daemon will
be restarted.
2022-02-23 15:40:32 -08:00
Tim Wilkinson 149b698d31
Lua userpages: setup (#220)
* Lua 'setup' page + backend node-setup
Moved old perl verison to .pl

* Make sure perl code continues to use node-setup.pl
2022-02-22 19:25:01 -06:00
Steve AB7PA ab241979bb
vpn send details in new browser window fixes #218 (#222) 2022-02-16 13:38:59 -06:00
Tim Wilkinson c3e586c60c
Migrate advancedconfig page to lua (#217) 2022-02-15 21:07:46 -06:00
Chris 2ce0e15083 Fix local variable in local neighbors 2022-02-12 04:41:24 -08:00
Chris 73d27f4d13
Fix sysinfo link (#216) 2022-02-11 14:32:25 -06:00
Tim Wilkinson c6c0244d94
Fix node count (similar fix to status page) (#213) 2022-01-31 08:45:05 -06:00
Tim Wilkinson 1ddedbb1e6
Link led fixes (#212) 2022-01-28 20:19:34 -06:00
Joe AE6XE ce4f694563
aredn: extend 2G band adding ch -3 and ch -4 (#210) 2022-01-21 21:52:26 -06:00
Tim Wilkinson 781425ad59 Add missing piece of markup 2022-01-20 18:29:17 -08:00
Tim Wilkinson 160af18978 Ignore empty alerts 2022-01-20 18:28:26 -08:00
Tim Wilkinson 610cde651c
Lua userpages (#190)
* Lua Services

* Lua versions of user page (non-admin)

* Support multiple antenna chains

* Improved led detection

* Fix logging

* Add manager.log files to support tool

* Lua versions of user page (non-admin)

* Dont count default route

* Fix board id for older nodes

* Handle missing node.history

* Check /tmp/snrlog exists

* Per discussion, make the Lua pages the defaults and Perl the backups
2022-01-19 07:42:31 -06:00
Tim Wilkinson fa6c2da4fe
Lua Services (#189)
* Lua Services

* Support multiple antenna chains

* Improved led detection

* Fix logging

* Add manager.log files to support tool
2022-01-17 18:54:44 -06:00
dman776 d7bc61ed6a
bugfix: remove filename checks for firmware uploads (#201)
* bugfix: remove filename checks for firmware uploads

* remove extra variable that are no longer needed
2022-01-15 21:56:48 -06:00
Tim Wilkinson 54589ff775 Fix missing location 2022-01-03 15:03:40 -08:00
dman776 488247753c
remove 'trunk' from snapshots path (#194) 2021-12-18 10:42:13 -06:00
Tim Wilkinson ee2791c621
Dmz mode migrate fix (#169)
* Migrate /etc/config/dmz-mode to /etc/dmz-mode

* Migrate dmz_mode into /etc/config/aredn

* Use cmd append

* Changes should be in /etc/config.mesh

* Add commit
2021-11-19 15:48:45 -06:00
dman776 f0c556941c
undo the renaming of output files that previously removed the -squashfs- portion to accomodate the OFS tool (#180) 2021-11-16 14:25:47 -06:00
dman776 7163819bf2
moved uci actions and file actions under file exists test (#173) 2021-11-12 08:34:31 -06:00
Tim Wilkinson f1b949134d
Stop creating 'config alerts' on every reboot. (#172)
Co-authored-by: Tim Wilkinson <tim@aredn-build.home>
2021-11-11 12:08:49 -06:00
battlehax 2c331fdd6f
Add files via upload (#174)
prevent unauthenticated remote code execution as root in the 'traceroute' function
2021-11-11 11:32:30 -06:00
dman776 90d9ac94bc
fix: duplicate to the config.mesh structure after saving. (#170) 2021-11-09 23:16:25 -06:00
dman776 f0c62fc2a7
enhancement: migrate location info to uci (#168)
* add uci migration script

* removed debug lines

* added newline to end

* include gridsquare values

* migrate lat/lon/gridsquare to uci format

* remove from sysupgrade kept files list
2021-11-09 17:03:20 -06:00
Tim Wilkinson 8ea58e4949 Revert failed olsrd fix 2021-11-08 19:40:47 -08:00
Tim Wilkinson ce296c94d4 Make sure wifi is up before letting OLSRD run 2021-11-07 11:09:34 -08:00
Phil Crump 837a3c602c
admin page: Fix validateFirmwareFilename() for underscore in ath79 filenames (#161) 2021-11-04 15:32:04 -05:00
Tim Wilkinson 1fd909b18d
Meshoween: Better way to add new uci meshstatus section (#159) 2021-11-03 21:26:56 -05:00
Tim Wilkinson 9cac3db003
aredn: Meshoween - Bug fixes (#158)
Create meshstatus section if missing
2021-11-03 13:25:06 -07:00
Tim Wilkinson 134532ab2a
aredn: Meshoween Mesh status page optimizations (#157)
* Memory and cpu performance improvements
* Fix bandwidth reporting
* Discard large arrays once we're done with them
* Fixup whitespace
* Improve string constructions
* Use available mem
* Print the Remote Nodes as we go (can be big)
* Local variables
* Stop re-reading arp/mac files
* Reduce calls to system 'cat'
* Simply lat/lon read
* Only read route30 once
* Whitespace
* Make meshstatus limits configurable
* and => &&, or => ||
* gzip content if we can

fixes #155
2021-11-02 21:35:39 -07:00