Tim Wilkinson
b26476f5e2
Fix displaying "Previous neighbors" with empty hostnames ( #325 )
...
* Dont display previous neighbors with empty hostnames
* Use IP address when name missing
* Fix bug where missing names became ever growing string of whitespace
2022-04-04 22:16:35 -04:00
Tim Wilkinson
e0ac3e9349
Fix bad gateway when switching to LAN NAT mode ( #321 ) 03/30/2022
2022-03-30 15:14:01 -05:00
Steve AB7PA
b13e04b2d8
reduce slider chunkiness ( #316 )
2022-03-22 06:33:00 -05:00
Tim Wilkinson
6b4ccbf5ad
advancedconfig: tun wan only ( #310 )
...
* Prevent tunnel traffic being sent over the mesh (unless explicitly enabled)
* Boolean settings will use default value if value not yet set
2022-03-20 22:55:11 -03:00
Tim Wilkinson
69c0d51216
Add @ back in as a valid password character ( #312 )
2022-03-20 17:46:56 -05:00
Tim Wilkinson
ce2f47e06d
Improve history matching as poor history entries could break "Previous Neighbors" ( #307 )
2022-03-19 09:21:22 -05:00
Tim Wilkinson
85edc542fc
Fix uploading data to AREDN Servers
2022-03-18 17:57:05 -07:00
Tim Wilkinson
321e58bd37
Include tunnels by default ( #302 )
...
* Include tunnels by default
* Tunnels are always installed so no longer need this flag
2022-03-17 20:57:48 -05:00
Tim Wilkinson
caebaea106
Automatically update package dependencies if package install fails ( #303 )
2022-03-17 20:36:08 -05:00
Tim Wilkinson
ebd4a9e07e
Fix use of coordinate to center map ( #304 )
...
* Fix use of coordinate to center map
* Typo
2022-03-17 20:35:35 -05:00
Tim Wilkinson
57f81e48cc
Automatically update package dependencies if package install fails ( #300 )
2022-03-17 14:28:20 -05:00
Tim Wilkinson
3595dd3ac2
Make sure we copy /etc/config/vtun to /etc/config.mesh/vtun when installing tunnels. ( #299 )
2022-03-17 06:23:40 -05:00
Tim Wilkinson
ad78e077f0
Improve the firmware upgrade process ( #294 )
...
* Improve the firmware upgrade process
The old firmware upgrade process attempted to free up RAM by reusing
the 'upgrade_kill_prep' script which is later used by '/sbin/sysupgrade'.
Unfortuantely this doesn't work as intented. While the script will go about
killing various services, 'procd' just goes and starts them up again using
quite a bit more memory in the process. Instead this script just kills
the various daemons 'no questions asked' and then runs the associated
'/etc/init.d/xxx stop' script to instruct 'procd' not the start them up again.
This gets us to the place the original script was trying to go.
+ A syntax fix in '007' patch (need spaces around the [ .. ])
* Inline the style for the firmware page to avoid sleep before flash
* Minor reliability improvements
* Clear away services even earlier
2022-03-16 21:45:26 -05:00
Tim Wilkinson
8947e6f23c
Migrate LeafletJS to new URL ( #298 )
2022-03-16 21:42:26 -05:00
Tim Wilkinson
f613b078d7
Add /var/run/services_olsr to support tool data
2022-03-15 22:57:53 -07:00
Tim Wilkinson
09985d3c57
Completely remove perl from the build DUMP_PERL ( #291 )
...
* And finally ... remove perl from the images
* Remove two more than came from the Admin merge
* Remove perl from perm packages
2022-03-15 21:23:39 -05:00
Tim Wilkinson
7dde68bbb5
Lua page: Admin ( #290 )
...
* Fix scripts to fail gracefully if tunnel software not configured.
* Add 'manager.lua' to restart list
* Admin page in Lua (+associated upgrade script)
* Rename bbhn-postupgrade -> aredn_postupgrade
* Add missing 'uploadctlservices' call before package upload
2022-03-13 20:19:04 -07:00
Tim Wilkinson
74ba25c909
Add missing escapes for contact and node descriptions ( #289 )
2022-03-13 08:11:22 -07:00
Tim Wilkinson
64d315ada5
Ignore 'iw phy' command if no phy device ( #287 )
2022-03-13 07:48:10 -07:00
Tim Wilkinson
8409ffe6ea
Fix tunnel disply order ( #286 )
2022-03-11 15:59:50 -06:00
Tim Wilkinson
d03be0c2ae
Fix broken wifi sorting
2022-03-11 10:57:54 -08:00
Tim Wilkinson
93e8d0a53d
Cron is only running to poll AREDN messages, so kill it.
...
And move polling into the Lua Manager
2022-03-09 19:18:19 -08:00
Tim Wilkinson
66ee2fc9a2
Fix active tunnel indicator for tunnel server ( #277 )
2022-03-09 20:26:07 -06:00
Tim Wilkinson
7a5d15fd09
Tunnel's default IP is explicityly based on eth0's MAC (not 'lan') ( #278 )
2022-03-09 20:25:35 -06:00
Tim Wilkinson
36c3e054ac
Dont truncate /etc/config/vtun on tunnel install ( #275 )
2022-03-09 15:34:33 -06:00
Tim Wilkinson
a0e7749b1e
Lua stragglers ( #274 )
...
* Final bits of perl replaced by lua
* Use iwinfo during first boot (api I was using fails this early)
* Retry getting phy device (it can fail as the node is booting up)
2022-03-08 21:22:07 -06:00
Tim Wilkinson
922a74d574
Lua userpages: Tunnels ( #271 )
...
* Lua vpn server and client pages
* Lua vpn server and client pages
* Fix reporting of daemon restart errors
* Lua olsrd-config
* Fix reversed client/server ip assignments
* Fix patterns for finding active tunnels
2022-03-08 21:07:58 -06:00
Tim Wilkinson
f41fff889d
Mesh ignore bad linkquality ( #273 )
2022-03-08 17:47:08 -06:00
Tim Wilkinson
b17f52c27d
Fix suffix and bad protocol suffix service url name checks ( #269 )
2022-03-07 21:41:47 -08:00
Tim Wilkinson
ceec7a6fa5
Fix mis-reporting of changed LAN subnet on reboot ( #268 )
2022-03-06 18:15:07 -06:00
Steve AB7PA
6087149914
add advanced WAN help ( #259 )
2022-03-05 21:52:41 -06:00
Tim Wilkinson
eae5908148
Add channel -3 & -4 (from original fix #210 ) ( #262 )
2022-03-05 21:51:45 -06:00
Tim Wilkinson
50d4671be5
Make wifi scanning produce the same results as the perl version. ( #263 )
2022-03-05 21:50:54 -06:00
Tim Wilkinson
17d76bed07
Fix wifi power offset calculation. ( #265 )
2022-03-05 21:50:06 -06:00
Tim Wilkinson
c1ab4f9a51
Setting POE or USB to off caused 'Bad Gateway' ( #264 )
2022-03-05 17:31:44 -06:00
Steve AB7PA
125f49d640
remove trunk from urlprefix ( #261 )
2022-03-05 11:46:57 -06:00
Tim Wilkinson
d3b67ddbb8
Fix broken cursor use. ( #258 )
2022-03-04 20:57:16 -06:00
Tim Wilkinson
46a4420a3d
Remove the potentially problematic 'filecopy("/etc/config/aredn", "/etc/config.mesh/aredn")'
...
/etc/config.mesh/aredn sometimes gets truncated, although reproducing it is difficult. This
is one of the few places this file is mindlessly written to, so instead use cursors to update it.
2022-03-03 19:47:25 -08:00
Tim Wilkinson
4eaeb1d220
Advancedconfig improvement ( #255 )
2022-03-03 17:03:08 -06:00
Tim Wilkinson
10a7be36fe
Fix broken auto-reboot on initial setup ( #256 )
2022-03-03 17:01:57 -06:00
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
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
3f2efd1c91
Fixes for first boot setup ( #242 )
2022-03-01 08:19:19 -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
4f720b4afc
Submit on setup.pl should return to setup.pl ( #227 )
2022-02-24 11:05:33 -06: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
Tim Wilkinson
c6c0244d94
Fix node count (similar fix to status page) ( #213 )
2022-01-31 08:45:05 -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
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
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
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
Phil Crump
7d6dfcb37d
aredn: Load leaflet assets asynchronously on setup page. ( #151 )
2021-10-25 20:43:55 -05:00
Phil Crump
a6669cc53e
aredn: Fix validateFirmwareFilename() on admin page ( #150 )
...
Co-authored-by: Phil Crump <phil.crump@goonhilly.org>
2021-10-22 16:02:15 -05:00
Joe AE6XE
304540d0e1
aredn: add new ubnt Rocket M with USB device
...
new boardid 0xe112
2021-09-15 02:20:33 +01:00
dman776
c179ce40b7
Api add tactical name ( #139 )
2021-09-09 08:32:24 -05:00
Steve AB7PA
7908c3e2d4
api: fix remote nodes list ( #138 )
2021-09-09 08:31:20 -05:00
dman776
abb3b4ae79
enhancement: add freifunk repo to advancedconfig. fixes #143 ( #144 )
2021-08-31 13:10:00 -05:00
Eric
785161e932
aredn: fix long node names for tunnels. ( #137 )
...
fixes #11
also fixes: https://www.arednmesh.org/comment/7412#comment-7412
(which has been hanging around for um... _years_!!)
2021-07-20 09:07:10 -05:00
Steve AB7PA
a3e33a2f9b
api: show version in info table ( #135 )
...
Include the api_version in the info table so it can be displayed in
System card on newui.
2021-07-18 21:21:12 -05:00
Steve AB7PA
db61c1181d
api: sort remote nodes ( #134 )
...
* api: sort remote nodes
one-liner to sort remoteNodes by ETX value for newui.
* api: sort remote nodes
ensure sort by floating point numbers
2021-07-18 21:20:48 -05:00
Eric
87ea92da2a
aredn: update the API version numbers ( #132 )
2021-07-13 21:29:32 -05:00
Eric
7fa6b57e1c
aredn: added network topology to mesh info API "page" ( #125 )
2021-07-10 12:38:11 -05:00
Steve AB7PA
e93987fe06
api: add RF IP for non-RF links ( #124 )
...
* api: add RF IP for non-RF links
Add the RF IP address for non-RF linked devices. This allows the
services to be displayed for non-RF Current Neighbors.
* remove case manipulation
2021-06-17 14:48:19 -05:00
dman776
d595b9cf3d
add traceroute and remotenodes to api ( #114 )
2021-06-06 07:33:43 -05:00
Steve AB7PA
06bce04df1
fix MHz on status display ( #118 )
2021-06-05 10:37:53 -05:00
dman776
79aa11db40
Api use libiwinfo frequency ( #112 )
2021-05-26 09:57:47 -05:00
AbortRetryFail
9fd900f631
Add build target for Meraki MR16 devices. ( #104 )
...
closes #103
closes #104
2021-05-16 15:29:40 -07:00
dman776
209f9dc3f9
bugfix: fix api when meshrf is disabled ( #99 )
2021-05-05 12:53:19 -05:00
dman776
8117fcc74f
Lua info gateway ( #95 )
...
* api updates: alerts, targettype, api_version
* added filesystem and memory totals
* bugfix: correct error in api ip when there is no gateway
2021-04-23 10:10:40 -05:00
Paul K3PGM
3ddb7a0bb2
feature: runtime-configurable tunnel limits ( #84 )
2021-04-23 09:46:09 -05:00
Steve AB7PA
d5c9e33e68
bug: Fix spike to zero in SNR Chart ( #90 )
...
Fix spike to zero in SNR Chart.
2021-04-06 21:18:00 -05:00
Steve AB7PA
6cc379d647
bug: fix nill typo ( #88 )
...
* bug: fix nill typo
Fix typo (nill to nil) in pidfile test.
* bug: fix nill typo
Fix typo (nill to nil).
2021-04-06 21:15:50 -05:00
Steve AB7PA
77ebea85c2
Execute Button Description ( #86 )
2021-03-27 11:28:17 -05:00
kc8ufv
fa4c9c36ea
Update perlfunc.pm
...
Added new hardware model strings for the Mikrotik Routerboard 911 & 912, since Mikrotik now puts them as RB911/RB912
2021-03-26 17:46:16 -07:00
dman776
c98126f812
feature: add "none" type advanced config options to simplify the UI ( #81 )
2021-03-21 19:14:29 -05:00
dman776
38b5e01fee
feature: add mesh gateway setting to sysinfo.json ( #77 )
2021-03-15 09:39:27 -05:00
K3PGM
1381cf3868
Fix for uci_set_indexed_option() inserting multiple empty sections ( #78 )
2021-03-14 20:35:10 -05:00
dman776
4b86b4f02a
feature: add advanced config option to purge AREDN Alert (and local alert) messages ( #76 )
2021-03-12 16:28:14 -06:00
ab7pa
89f110866f
Update alert banner background color
...
Update the alert banner background color to distinguish it from the
"supported hardware" messages. This makes it look more like a standard
sticky note.
2021-03-07 00:32:58 -08:00
Joe AE6XE
011eab0895
aredn: add new Mikrotik model string for SXTsq5nD ( #62 )
2021-01-22 23:10:14 -06:00