Commit Graph

105 Commits

Author SHA1 Message Date
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 17d76bed07
Fix wifi power offset calculation. (#265) 2022-03-05 21:50:06 -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 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 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 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 253b23d303
Missing cursor during reboot (#238) 2022-02-28 14:37:36 -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
Joe AE6XE ce4f694563
aredn: extend 2G band adding ch -3 and ch -4 (#210) 2022-01-21 21:52:26 -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 7d6dfcb37d
aredn: Load leaflet assets asynchronously on setup page. (#151) 2021-10-25 20:43:55 -05:00
Eric 31492676dc
update: Change the nodes default map tile server URL away from MapBox (#527) 2020-06-20 19:54:12 -05:00
Eric 3f1646682e
bug: leaflet css and js files from mesh hosts (#501)
correct issue with the map on the setup page in PR #490
2020-04-04 09:31:07 -05:00
Joe Ayers f81c129dae aredn: enable wan wifi client to connect to an open AP 2019-06-20 13:27:51 -07:00
Joe Ayers 74ca6f5a17 aredn: add wan wifi client capability 2019-06-17 20:45:02 -07:00
Joe Ayers f134465edb aredn: add auto distance setting option
contributing author lua code: dman776 <dman776@gmail.com>
2019-05-03 19:17:14 -07:00
Joe Ayers a399623140 Revert "aredn: enable ath9k auto distance capability (#367)"
This reverts commit d5be7814b3.
Auto Distance is not ready for a release and will be
reintroduced afterwards. Added logic to reset '0' distance
to 60km so tower nodes will continue to respond after
upgrade if running the experimental auto distance
2019-03-21 21:30:48 -07:00
Joe AE6XE 60d01c91da bugfix: correct spelling error (#370)
fixes #368
2019-02-25 08:20:22 -06:00
Joe AE6XE d5be7814b3 aredn: enable ath9k auto distance capability (#367) 2019-02-24 16:03:24 -06:00
Joe Ayers 1c6d2286cc aredn: hap ac lite add 2G/5G lan ap options
Add option for hap ac lite to select which band to
use for LAN AP option, 2GHz or 5GHz.  Also, ensure
all wireless cards are defined when disabled to
prevent default wireless config options.
2018-12-17 20:13:37 -08:00
Joe AE6XE f777e914f9 aredn: Mesh RF enable/disable (#307)
add feature to turn off Mesh RF if not in use.  When off,
section to re-purpose wireless card to LAN bridged Access
Point becomes visable.
Closes #155
2018-12-12 15:16:07 -06:00
Joe AE6XE 303c50904c
aredn: harden hAP ac lite 5Ghz Lan Access Point (#293)
enable passwords with virtually any character,  enable SSIDs
with virtually any character.  ensure ap is always
encrypted to give operator control of client access and
license compliance.  Remove (week) WEP encryption option.
2018-11-30 08:32:38 -08:00
Joe AE6XE a62fe95b26
aredn: hAP ac lite enable 5GHz LAN Access Point (#287)
* aredn: hAP ac lite enable 5GHz LAN Access Point

enable ability to bridge LAN physical ports with wireless
LAN Access Point capability. On dual band hAP ac lite,
used in parallel with mesh RF on 2GHz.  Enables future
features on single band devices to turn off mesh RF and
repurposed for mesh LAN Access Point.

closes: #215
2018-11-27 21:37:59 -08:00
dman776 9391ff5555
Add "Advanced config" page (#237)
* initial commit

* feature: advanced configuration page

fixes #230

* add help page updates

* added menu links to perlfunc.pm

* add default value for serverpath

* move "Reset to Firstboot" button from setup page to advancedconfig page

* secure page
minor ui changes

* center the help icon

* implement callback capabilities pre/post

* hardening uci calls to prevent command injection attacks

* moved settings to custom aredn uci file

* resolve shellcheck warnings
2018-10-25 21:06:05 -05:00
dman776 ea36aa9d06
feature: add a "firstboot" button on setup page (#225)
* feature: add a "firstboot" button on setup page

fixes #162

* changed confirmation message
2018-10-18 11:06:55 -05:00
dman776 b11a4fc95d
bugfix: check to see if internet is reachable before loading external resources (#224) 2018-10-15 21:58:52 -05:00
Joe AE6XE b432be987f bugfix: aredn: correct test script warnings and errors 2018-09-17 21:42:52 -07:00
Joe AE6XE 0bd057ed40 aredn: phase 1 support for Mikrotik rb952Ui-5ac2nD
Add support for the hAP lite model rb952UI-5ac2nD equivilent to
the UBNT AirRouter.  The 5Ghz interface will be configured in a
2nd phase.  This hAP lite model has double the RAM and Flash
of the AR.  the 2Ghz is MIMO (5Ghz is single antenna).
2018-09-03 23:26:56 -07:00
Eric ef6d092b2e aredn: node description, lat/lon display, olsr entries (#163)
* aredn: node description on mesh page, lat/lon on both status and mesh, olsr entries

Added node description to mesh status page
Fixes #161

Added Lat/Lon (if available) to status and mesh pages.
It is diplayed above the description and under the node name.
Fixes #145

Added OLSR Routing tables entries to status page just under the memory area
Also added this same info just above the buttons on the mesh status page
Fixes #160

* aredn: OLSR routing table entries

Small addition to the displayed info

* aredn: corrections

move lat lon if statement farther up
changed system command lines to have () around them...

* aredn: added comments for new lines

* aredn: more corrections

back to using backticks on system commands per short discussion with ae6xe

* aredn: updated some lines so they will not toss warnings in the syntax tests
2018-08-31 20:39:07 -05:00
Eric 4997cb47d2 aredn: Node description enhancement (#156)
* aredn: Node Description Enhancements

Node Description entry on setup page is now multiline.
Fixes #91

Node Description display on status page is now a table cell,
allowing for background color addition and word-wrapping.
Fixes #90

Description background color added to CSS files with colors appropriate to each theme.
Other CSS additions for the description input field on the setup page.

Updated onboard help file about the node description field (and fixed a typo)

* move some of the character filtering "higher up the chain" in perl.

javascript still will replace any new lines with a space in case the user hit's enter in the description entry box.
tested with curl and I can't find any problems yet.

* removed some commented lines that were not needed

* actually fix the typo I saw in help.html file.
2018-08-26 13:03:26 -05:00
dman776 560070d2d1
bugfix: node description not saving properly (#101) 2018-08-02 15:58:01 -05:00
Eric 22e4557821 A simple fix for the apostropocalypse (#98)
changed some single quotes to escaped double quotes in setup
2018-07-30 23:37:32 -05:00
dman776 5c5ed5a8bc
Add Node description to status (and setup) pages (#79)
Closes #32 
* feature: add node description to status page
* feature: add node description to status page
* scrub for html like tags and correct node description label
* cleanup extra whitespace, comments, and debug stmt
2018-07-19 13:28:18 -05:00
dman776 f05c204a96
feature: nodename field on setup page is too small (#77)
Fixes #76
2018-07-17 14:13:30 -05:00
Jason accca49945 Support 29 host direct mode (fixes #49) 2018-07-17 08:53:11 -05:00
Darryl Quinn a8d0fbd16c Change AREDN site URLs, licensing info, and correct typos in AREDN name 2018-06-30 10:32:54 -05:00
dman776 7f78757bc2
correct issues in files so build test will pass without issue (#4)
* correct issues in files so build test will pass without issue

* correct issues in files so build test will pass without issue
2018-05-02 19:42:04 -05:00
Darryl Quinn 507ceed577 bugfix: invalid lat/lon values when dragging marker across wrapped boundry
refs AREDN->ticket:221

Change-Id: Id60213e72428c86f51b17c9c137785e340bca3eb
2017-03-21 16:31:12 +00:00
Conrad Lara - KG6JEI c592f44ab0 Sourcecode license text spelling correction.
Inside the source files the word "contained" was mispelled
as "conained"

The website currently lists this correctly as "contained"

This was an error in the intial stamping of the source files in
changeset:5c3ee1d0686c6e6f2907fe4fc393d86d6c5a69b5/aredn_ar71xx

Line is part of "Additional Conditions" permitted by GPLv3.
Line does not impact coders prior to the AREDN setup date
as it was added by the AREDN team.

Change-Id: I3bc09aea548100f35c08aebe8686b8d4808d56d8
Signed-off-by: Conrad Lara - KG6JEI <KG6JEI@amsat.org>
Signed-off-by: Joe Ayers <ae6xe@arrl.net>
Signed-off-by: Darryl Quinn <k5dlq@arrl.net>
Signed-off-by: Trevor Paskett - K7FPV <snoopytjp@gmail.com>
2016-12-30 18:54:05 +00:00
Conrad Lara - KG6JEI a39abd3813 bugfix: Typo in comment header for perl scripts
This is at the top of the license header.

It prevents the code from being processed but doesn't
actually impact the license terms in any way.

Change-Id: Ic91f2400f9694056b6f06fa43d1074411d6c6262
2016-12-23 16:45:47 -08:00
AE6XE 9ec5e2132d bugfix: Basic Setup - WAN proto stuck in dhcp mode
Change-Id: I3a66a027e71fb97f518795e8cc8172fb7aef86f0
2016-09-24 10:52:39 -07:00
Conrad Lara - KG6JEI 1b65f8a3ad bugfix: UI allows enabling mesh_gw when wan disabled or nat mode
Mesh nodes would need a significant amount of configuration
including some operational checks everytime an interface comes up
to be able to handle this.

The more sane method is to only allow a node to be a mesh_gw when
the WAN port is utilized and the node is in DIRECT mode.

This changes the UI to prevent this setup from being allowed.

fixes AREDN->ticket:184

Change-Id: I1a1289bc914a349149f5842812dbebc0a70442f7
2016-09-20 23:09:03 -07:00
Darryl Quinn efd133cbd4 change AREDN upload to only pull /links from OLSR
enables support for drawing map links as well.
fixes AREDN->ticket:181

Change-Id: I5b0dd4b99d3892d136021faa4a5bd5856607b2a5
2016-08-24 20:40:47 -05:00
AE6XE d4b7617e03 remove non-mesh modes from setup options
fixes AREDN->ticket:175

Change-Id: I7517df178a5ce82ef79ec4af844932fe6569d8da
2016-08-07 21:38:18 +00:00
Darryl Quinn 4ada350a4c add olsr/links to aredn data server push info
Change-Id: Iea15ac7f4ea0858702bb3d8eaa06f36135f76eb4
2016-07-12 10:55:43 -05:00