Commit Graph

507 Commits

Author SHA1 Message Date
Joe Ayers 1adcfd77a5 aredn: remove config files no longer in use consuming flash
clean up 176k of flash space.  Config files include modes
forA P, Client, Mesh_Ap, and ROuter.  Files are no longer
referenced or used.
2020-06-29 08:11:44 -05:00
Joe Ayers c98916ad1a aredn: remove node mode configuration notation
in the past nodes could be configured uniquely for
a given mode:  ap, wifi client, mesh. Current behavior
in basic setup no longer has unique modes, rather wireless
cards can be configured in different modes in basic setup
and devices with multiple wireless interfaces can
be setup to use multiple modes at the same time.

fixes #533
fixes #535
2020-06-22 22:00:01 -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
Joe Ayers 79f3b518d0 aredn: supporttool: change format of firewall reporting
use iptable -L -v options to see chain order and enable
improved ability to troubleshoot firewall issues
2020-05-28 23:07:06 -05:00
Joe Ayers 16e33b5306 aredn: add new Mikrotik model strings for RBLHG-5nD and RBLHG-2nD-XL 2020-05-27 19:33:56 -05:00
apcameron 80619b73a9
ath79: Migrate the TP-LINK WBS Devices to the ath79 Branch (#525) 2020-05-01 09:30:39 -05:00
apcameron 62adfa9eb8
ath79: Migrate CPE210 v1/v1.1, CPE510v1/v1.1 to the ATH79 Branch (#523)
Installation:

Flash factory image through stock firmware WEB UI
or through TFTP:
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP address:192.168.0.254
2020-04-28 22:29:37 -05:00
Eric 1ace91aae2 bugfix: encode special characters in tunnel comment field
catch the tunnel comment field in perlfunc's read_post_data function where certain characters are changed to the html character entity in order to not interfere with the config files.
Tested with all kinds of crazy charcters such as: zdsfkh? <!@#$%^&*()> "quote"

Fixes #515
2020-04-23 17:33:44 -07:00
apcameron 31c6669c2f ath79: add support for TP-Link CPE220 v2
Specifications:

    * SoC: Qualcomm Atheros AR9344 (560 MHz)
    * RAM: 64MB
    * Storage: 8 MB
    * Wireless: 2.4GHz N based built into SoC 2x2
    * Ethernet: 2x 100/10 Mbps, integrated into SoC, 24V POE IN

Installation:

Flash factory image through stock firmware WEB UI
or through TFTP:
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP address:192.168.0.254
2020-04-20 19:20:57 -07:00
apcameron 831df9af23 ath79: Add Support for the TP-Link CPE610-v2
TP-Link CPE610-v2 is an outdoor wireless CPE for 5 GHz with
one Ethernet port based on Atheros AR9344
Specifications:
Based on the same underlying hardware as the TP-Link CPE510
Power, LAN0, WLAN green LEDs
23dBi high-gain directional 2×2 MIMO antenna and a dedicated metal reflector
Flashing instructions:
Flash factory image through stock firmware WEB UI
or through TFTP
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP adress:192.168.0.254
Signed-off-by: Andrew Cameron apcameron@softhome.net
2020-04-15 05:53:06 -07:00
apcameron b452af4c05 bugfix: migrate the TP-LINK CPE610 v1 device to the ath79 branch 2020-04-10 17:54:51 -07:00
dman776 3298de7fb8
feature: add aam_refresh method to advanced config page (#511) 2020-04-09 19:52:39 -05:00
apcameron 3b4ac70028 bugfix: Migrate the TP-LINK CPE510 v2/v3 to the ath79 branch 2020-04-09 06:13:28 -07:00
dman776 c3f94bd0d5
feature: add "aredn alerts" feature in header (#505)
* feature: add "aredn alerts" feature in header

* optimize conditional logic

* additional fixes

* improve presentation display
2020-04-08 21:31:01 -05:00
Eric 5142710e20
bugfix: fix variables in perlfunc (#506) 2020-04-07 18:42:29 -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
dman776 cdd1f8e96c
feature: add target type info (ar71xx/ath79) to admin page (#500)
* feature: add target type info (ar71xx/ath79) to admin page

* changed order of info
2020-04-03 17:50:55 -05:00
Eric 83675fbd9d
enhancement: ability to change and revert firmware and package download paths (#490)
replaces #486
fixes #452
2020-04-03 15:58:30 -05:00
Eric ff2e93565b
enhancement: added contact info/comment field for each tunnel connect… (#479)
* enhancement: added contact info/comment field for each tunnel connection.

Allows for a short comment or an email address so you can remember who to contact for each tunnel.
The field is optional and does not need to be filled out to get a tunnel connection up.

Also cleaned up some of the layout on the tunnel pages and hopefully made it a bit easier to tell what is what.
Fixes #457

* added `maxlength='50'` to the comment/contact field.

50 characters should be enough for an email address or a short comment.

* Allow for spaces in the Tunnel contact/comment field
2020-03-13 16:40:14 -05:00
dman776 5d672f5371
feature: change firmware download location (#488) 2020-02-26 22:59:13 -06:00
Joe Ayers 9d5f8a3a78 aredn: upgrade to pre-openwrt-19.07.2 2020-02-26 00:04:23 -06:00
Joe Ayers 2cf8b32e85 aredn: add /etc/board.json to aredn support data download 2020-02-22 22:06:00 -06:00
Joe AE6XE 105a2ba662
bugfix: ath79 tplink cpe210 v2 changed name (#481) 2020-02-19 20:04:11 -08:00
dman776 8439b21b06
feature: remove libopenssl (large library) and disable ssl in vtun (#475) 2020-01-29 21:15:07 -06:00
Joe Ayers ae593838bb aredn: upgrade to Openwrt 19.07.0 release
Co-authored-by: Andrew KK4ZUZ <apcameron@softhome.net>

This commit begins the process to migrate from ar71xx to
ath79 target images.
2020-01-29 07:39:05 -08:00
apcameron 5eedf421da ar71xx: add Support for the TP-LINK WBS510 V2
This adds support for a popular low-cost 5GHz N based AP

Specifications:
- SoC: Atheros AR9344
- RAM: 64MB
- Storage: 8 MB SPI NOR
- Wireless: 5GHz 300 Mbps, 2x RP-SMA connector, 27 dBm TX power
- Ethernet: 1x 10/100 Mbps with 24V POE IN, 1x 10/100 Mbps

Installation:
Flash factory image through stock firmware WEB UI
or through TFTP
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP adress:192.168.0.254

Signed-off-by: Andrew Cameron <apcameron@softhome.net>
2019-11-23 09:17:05 -08:00
Joe Ayers 2e35fec972 aredn: add definition for Mikrotik RB911G-2HPnD mANTBox 2019-11-17 13:53:13 -08:00
Joe Ayers 1272c5785e aredn: add definition for Mikrotik RBSXTsq2nD
Mikrotik has multiple model strings for this device
2019-11-02 21:53:49 -07:00
Eric c17f56507f bugfix: +x to /www/cgi-bin/mesh 403 error if not. 2019-10-29 19:39:41 -07:00
Steve Kostecke 1f92711cd4 Remove ".local.mesh" from link text 2019-10-29 17:57:02 -07:00
Joe Ayers 340cd76be6 aredn: add definition for Mikrotik SXTsq 2nD
tested by K9CQB <damon.schaefer@me.com>
2019-10-11 16:14:44 -07:00
Eric 6e199947ff cleanup: remove the `meshmap=1` option from sysinfo.json. (#454)
It is no longer needed and never actually was.
You learn something new every day. :)

Every bit saved is a bit earned for somethnig else.
2019-09-26 14:40:13 -05:00
Joe Ayers 7f4bf75d78 aredn: Add definitions for RBSXTsq5nD 2019-09-22 22:11:18 -05:00
Joe Ayers ad0caaf56a aredn: add support for Mikrotik RBSXTsq5HPnD 2019-08-30 21:55:50 -07:00
Joe Ayers 8177bab22b aredn: add definitions for LDF-2nD, LHG-2nD, LHG-2nD-XL
The LDF-2nD internally has the LHG-2nD motherboard.
closes #332
2019-06-25 21:51:07 -05:00
Joe Ayers 3324ce849e aredn: add olsr restart option in AdvancedConfig 2019-06-20 16:33:20 -07: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 d8f9320021 aredn: add GL-iNet AR750 definitions 2019-05-26 16:24:39 -07:00
Joe Ayers 3889d2c558 bugfix: Mesh status missing owning host of service advertisement
Mesh status will show service entries of a remote mesh
node at the top with 0 ETX value.  The owning mesh hostname
displays blank across the mesh network.

The root cause is OLSR not propagating the node's hostname due
to the admin assigning  a conflicting/duplicate hostname.  These
services will no longer show in mesh status.
2019-05-18 12:01:33 -07:00
Joe Ayers fc2235377a aredn: add support for GL-AR300M16 2019-05-17 21:39:38 -07:00
dman776 b0bc20b392
api: add first_boot field to indicate if this node has been configured or not (#416) 2019-05-11 12:08:37 -05:00
Joe Ayers e15021dc66 aredn: add support for GL-USB150 Microuter 2019-05-04 19:49:52 -07:00
Joe Ayers 8aeb64f323 aredn: new LDF5 model number
Mikrotik change from "MikroTik RouterBOARD LDF-5nD"
to "MikroTik RouterBOARD RBLDF-5nD"
2019-05-04 09:55:32 -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
Eric 71325a91d2 bugfix: fix call to getFrequency() to getFreq() in api (#408)
getFrequency() becomes getFreq()
2019-05-01 21:07:30 -05:00
ZL2WRW 1a43b07293 Add experimental support for the GL.iNet GL-AR150 (#407)
* Add experimental support for the GL.iNet GL-AR150 - https://openwrt.org/toh/gl.inet/gl-ar150
Mesh networking and tunneling have been confirmed working.
This device has been confirmed capable of operating on channel -1, but /etc/config/wireless has to be manually edited to select this channel.

* www/cgi-bin/perlfunc.pm patched to add UI support for the GL.iNet GL-AR150

* www/cgi-bin/perlfunc.pm patched to add UI support for the GL.iNet GL-AR150 - seems like only 18 dBm TX power is possible

* Remove Experimental comments and designate as stable

* Configure Ethernet ports & VLANs for GL-AR150, and update README.md

* Fix misunderstanding re README.md

* Patch Upstream OpenWRT GL-AR150 LAN & WAN LED mapping, configure WLAN LED as mesh linked indicator.
2019-04-30 20:55:09 -05:00
dman776 c981a1c451
feature: api - added current dhcp leases (#394)
* feature: api - added current dhcp leases

* move dhcp info to secure page

* changed filename
2019-04-30 20:29:17 -05:00
Eric 0300874d99 New sysinfo json changes (#405)
* sysinfo.json additions
lua library additions

Dependent on #389 and #391
Replaces #387

* additional check for nil needed
tested on a node with several very marginal RF links (IP, no host name) and it is working, so far.
also removed the decimal point on the n/lq values, we didn't need 10 places of accuracy. :)

* a couple more small changes

* changed neighborLinkInfo() function in aredn.info to show *all* links, not just RF.
Adds additional info for each RF link (tx/rx_rate, noise, signal)

* Removed redundant function.
Removed functions no longer needed.
Reworked getCurrentNeighbor function to add in the additional RF link info if requested.
2019-04-29 22:43:37 -05:00
Bailey Kasin 94816c45c7 Minor UI/output updates (#399)
* UI update

* Perl better

* Reset .gitignore
2019-04-16 21:10:30 -05:00