Commit Graph

501 Commits

Author SHA1 Message Date
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
Ryan McLean 9393525076 Fixed the consistency between "archive" and "realtime" SNR data (#403)
* cleaned up the endpoint for snr data

* updated property names on the signal page
2019-04-16 21:08:45 -05:00
Joe Ayers c1920104d3 aredn: Set default channel and width
10MHz channel width is most commonly used. This default
will minimize how many new users are unable to connect
to a local mesh on first try.  In 2GHz use ch -2
as only clear part 97 10MHz channel available and
predominently used.
2019-04-02 20:06:39 -07:00
Joe Ayers 9470c6b1ad aredn: add definition for Mikrotik LHG 5HPnD 2019-04-02 17:57:04 -07:00
Ryan McLean e0ea513c5e feature: added localhosts info to api (#390)
* mesh endpoint can return localhosts

* mesh endpoint can return localhosts

* added localhosts info to api
2019-03-27 22:21:23 -05:00
dman776 1c81085986
feature: add OLSR current neighbor info to API (#389)
* feature: add OLSR current neighbor info to API

* bugfix: correct quote issue
2019-03-26 01:04:33 -05:00
Ryan McLean 2ed5d37258 feature: added chart endpoint to the /api (#386)
* wscan can output results as json

* added a page for displaying scan results as json

* updated file permissions with +x

* added endpoint for wifi scan

* Revert "updated file permissions with +x"

This reverts commit 6f0a038334fbacc3f585f0a86fb7d9986a47b7d2.

* Revert "added a page for displaying scan results as json"

This reverts commit 4806ad01b6b717e2e02f248309a0257bb390af23.

* Revert "wscan can output results as json"

This reverts commit 75454e7e790a0457a0846182b0a8a44205772368.

* removed hardcoded device name

* exposed freqlist through the api

* moved signal.json code into the api

* old signal page uses /api?page=chart

* removed signal.json

* chart has targets for realtime and archive

* updated old signal page to use new api
2019-03-25 18:34:51 -05:00