Commit Graph

769 Commits

Author SHA1 Message Date
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 f62e41aa99 aredn: Update Help for passive Wifi Scan updates 2019-08-25 14:20: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
Ryan McLean 58d4d21729 feature: added a wifi scan endpoint to the /api (#379)
* 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
2019-03-25 16:56:38 -05: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
dman776 1495c11498
feature: update list of supported devices in prep for 3.19.3.0 release (#382) 2019-03-21 17:44:59 -05:00
Joe Ayers e9166722fd aredn: add definition for Rocket M5 TI GPS
board.sysid=0xe1d5
board.cpurevision=0x00002122
board.name=Rocket M5 Titanium
board.shortname=R5T
board.subtype=GPS
board.netmodes=7
board.hwaddr=DC9FDB2E1715
board.reboot=40
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
board.gps=1
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe1d5
radio.1.subvendorid=0x0777
radio.1.txpower.max=27
radio.1.txpower.min=-4
radio.1.txpower.offset=5
radio.1.ieee_modes=5
radio.1.antennas=13
radio.1.def_antenna=13
radio.1.antenna.1.id=1
radio.1.antenna.1.name=AMO-5G10
radio.1.antenna.1.gain=10
radio.1.antenna.1.builtin=0
radio.1.antenna.1.chains=2
radio.1.antenna.1.chain.1.id=0
radio.1.antenna.1.chain.1.name=Chain0
radio.1.antenna.1.chain.2.id=1
radio.1.antenna.1.chain.2.name=Chain1
radio.1.antenna.2.id=2
radio.1.antenna.2.name=AMO-5G13
radio.1.antenna.2.gain=13
radio.1.antenna.2.builtin=0
radio.1.antenna.2.chains=2
radio.1.antenna.2.chain.1.id=0
radio.1.antenna.2.chain.1.name=Chain0
radio.1.antenna.2.chain.2.id=1
radio.1.antenna.2.chain.2.name=Chain1
radio.1.antenna.3.id=3
radio.1.antenna.3.name=AM-5G16-120
radio.1.antenna.3.gain=16
radio.1.antenna.3.builtin=0
radio.1.antenna.3.chains=2
radio.1.antenna.3.chain.1.id=0
radio.1.antenna.3.chain.1.name=Chain0
radio.1.antenna.3.chain.2.id=1
radio.1.antenna.3.chain.2.name=Chain1
radio.1.antenna.4.id=4
radio.1.antenna.4.name=AM-5G17-90
radio.1.antenna.4.gain=17
radio.1.antenna.4.builtin=0
radio.1.antenna.4.chains=2
radio.1.antenna.4.chain.1.id=0
radio.1.antenna.4.chain.1.name=Chain0
radio.1.antenna.4.chain.2.id=1
radio.1.antenna.4.chain.2.name=Chain1
radio.1.antenna.5.id=5
radio.1.antenna.5.name=AM-M-V5G-Ti
radio.1.antenna.5.gain=17
radio.1.antenna.5.builtin=0
radio.1.antenna.5.chains=2
radio.1.antenna.5.chain.1.id=0
radio.1.antenna.5.chain.1.name=Chain0
radio.1.antenna.5.chain.2.id=1
radio.1.antenna.5.chain.2.name=Chain1
radio.1.antenna.6.id=6
radio.1.antenna.6.name=AM-5G19-120
radio.1.antenna.6.gain=19
radio.1.antenna.6.builtin=0
radio.1.antenna.6.chains=2
radio.1.antenna.6.chain.1.id=0
radio.1.antenna.6.chain.1.name=Chain0
radio.1.antenna.6.chain.2.id=1
radio.1.antenna.6.chain.2.name=Chain1
radio.1.antenna.7.id=7
radio.1.antenna.7.name=AM-5G20-90
radio.1.antenna.7.gain=20
radio.1.antenna.7.builtin=0
radio.1.antenna.7.chains=2
radio.1.antenna.7.chain.1.id=0
radio.1.antenna.7.chain.1.name=Chain0
radio.1.antenna.7.chain.2.id=1
radio.1.antenna.7.chain.2.name=Chain1
radio.1.antenna.8.id=8
radio.1.antenna.8.name=AM-V5G-Ti
radio.1.antenna.8.gain=21
radio.1.antenna.8.builtin=0
radio.1.antenna.8.chains=2
radio.1.antenna.8.chain.1.id=0
radio.1.antenna.8.chain.1.name=Chain0
radio.1.antenna.8.chain.2.id=1
radio.1.antenna.8.chain.2.name=Chain1
radio.1.antenna.9.id=9
radio.1.antenna.9.name=AM-5AC21-60
radio.1.antenna.9.gain=21
radio.1.antenna.9.builtin=0
radio.1.antenna.9.chains=2
radio.1.antenna.9.chain.1.id=0
radio.1.antenna.9.chain.1.name=Chain0
radio.1.antenna.9.chain.2.id=1
radio.1.antenna.9.chain.2.name=Chain1
radio.1.antenna.10.id=10
radio.1.antenna.10.name=AM-5AC22-45
radio.1.antenna.10.gain=22
radio.1.antenna.10.builtin=0
radio.1.antenna.10.chains=2
radio.1.antenna.10.chain.1.id=0
radio.1.antenna.10.chain.1.name=Chain0
radio.1.antenna.10.chain.2.id=1
radio.1.antenna.10.chain.2.name=Chain1
radio.1.antenna.11.id=11
radio.1.antenna.11.name=RD-5G-30
radio.1.antenna.11.gain=30
radio.1.antenna.11.builtin=0
radio.1.antenna.11.chains=2
radio.1.antenna.11.chain.1.id=0
radio.1.antenna.11.chain.1.name=Chain0
radio.1.antenna.11.chain.2.id=1
radio.1.antenna.11.chain.2.name=Chain1
radio.1.antenna.12.id=12
radio.1.antenna.12.name=RD-5G31-AC
radio.1.antenna.12.gain=31
radio.1.antenna.12.builtin=0
radio.1.antenna.12.chains=2
radio.1.antenna.12.chain.1.id=0
radio.1.antenna.12.chain.1.name=Chain0
radio.1.antenna.12.chain.2.id=1
radio.1.antenna.12.chain.2.name=Chain1
radio.1.antenna.13.id=13
radio.1.antenna.13.name=RD-5G-34
radio.1.antenna.13.gain=34
radio.1.antenna.13.builtin=0
radio.1.antenna.13.chains=2
radio.1.antenna.13.chain.1.id=0
radio.1.antenna.13.chain.1.name=Chain0
radio.1.antenna.13.chain.2.id=1
radio.1.antenna.13.chain.2.name=Chain1
radio.1.distance_limit_km=0
radio.1.chanbw="5,8,10,20,30,40"
feature.rssi.leds=6
feature.gps=1
feature.gps.leds=7
feature.ext_reset=0
2019-03-20 21:26:24 -07:00
dman776 0d223232b5
bugfix: standardize browser page title on the node status page to be consistent with other pages (#372)
fixes #366
2019-02-25 21:08:44 -06: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
Patrick Dickey f833b38e04 Adding support for the TP-Link WBS210 version 1. 2019-02-12 07:20:44 -08:00
Joe Ayers 711fe96a70 aredn: add definition for nanobridge M2 13
fixes #358
2019-02-07 20:52:27 -08:00
dman776 4eda661962
feature: add volume control to signal tone (#353) 2019-02-02 21:49:49 -06:00
dman776 3abc82f529
feature: add pitch control to signal tone (#347) 2019-01-31 16:57:30 -06:00
dman776 ddda727da0
bugfix: correct issue when pushing sound "on" more than once (#345) 2019-01-29 18:53:22 -06:00
dman776 89c9d37075
bugfix: new settings will now show after a conditional setting (#343) 2019-01-29 12:20:37 -06:00
dman776 d9acfa2ea7
feature: add sounds to realtime signal page (#342) 2019-01-28 23:39:51 -06:00
Joe Ayers 07aa305e29 aredn: olsrd: add olsrd watchdog
Adding native olsrd watchdog on top of procd
ensures mesh nodes are always accessable.

closes #338
2019-01-27 14:12:37 -08:00
Joe Ayers 90b21d88d2 aredn: add definition for hAP ac lite current revision
/proc/cpuinfo machine string to identify the device
has changed.
From - MikroTik RouterBOARD 952Ui-5ac2nD
To   - MIkroTik RouterBOARD RB952Ui-5ac2nD
2019-01-27 12:19:11 -08:00
Joe Ayers ef24633204 bugfix: aredn: fix bogus nano-m-xw image upload warning
fixes #330
2019-01-23 23:17:02 -08:00
dman776 b5ceb1ccc2
bugfix: set execute bit on api script (#329) 2019-01-22 17:14:35 -06:00
Raymond Suelzer 664f2ee629 Some LUA Code Clean Up, API (#327)
* Refactor API

* work in progress

* lua clean up
2019-01-21 15:41:31 -06:00
Joe Ayers 13a6afb815 aredn: Add definitions for Rocket M2 XW 2019-01-10 17:10:46 -08:00
Joe Ayers 6728fba06b bugfix: aredn sysinfo.json fails with mesh rf off
added json meshrf->status->on/off
fixes:  #317
2018-12-22 10:14:58 -08:00
Joe Ayers 0fed66dbf5 bugfix: bogus warning when selecting firmware file to sysupgrade
fixes: #290
2018-12-19 20:30:23 -08:00
Joe Ayers 8778b07bc6 bugfix: helpfile spelling correction
fixes: #311
2018-12-18 20:41:49 -08:00
Joe Ayers 588b59cf65 aredn: Add definitions for Mikrotik RB-911G-5HPnD 2018-12-18 20:40:58 -08: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 Ayers d188fcf980 bugfix: firstboot button does not function 2018-12-12 19:08:46 -08:00
dman776 97938b4697
bugfix: remove SNR from signal archive page (#309)
fixes #242
2018-12-12 18:11:40 -06:00
Joe AE6XE 513406754f aredn: clarify distance setting in help (#299)
closes #279
2018-12-12 15:17:04 -06: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
apcameron b9bf9ba099 ar71xx: Add Support for the TP-LINK CPE220 V2.0 Device (#306)
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
2018-12-11 17:09:11 -06:00
Joe AE6XE 8f71b15d4a bugfix: Advanced config settings not persistant though reboot (#305)
fixes #303
2018-12-11 06:47:36 -06:00
apcameron 230eddf8bb ar71xx: Add Support for the TP-LINK CPE510 V3.0 Device
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
2018-12-10 14:38:00 -08:00
Joe Ayers 7486a179c7 aredn: add support for Mikrotik LDF-5nD 2018-12-07 21:36:03 -08:00
apcameron 9d60516176 ar71xx: Add Support for the TP-LINK CPE220 V3.0 Device
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
2018-12-05 19:38:46 -08:00
apcameron 6982757c79 ar71xx: Add Support for the TP-LINK CPE610 V1.0 Device
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
2018-12-03 19:25:48 -08:00
Joe AE6XE 123949de9e
aredn: Standardize Ethernet Port vlans for UBNT XM devices (#297)
The secondary port on Ubnt XM devices was non-functional.
Enabled bridge type in network config to utilize both ports.
2018-12-02 17:52:48 -08: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
dman776 7792186dda
feature: provide more info on upload disable with tunnels (#289) 2018-11-28 22:37:11 -06: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
Joe Ayers 557e4b3903 Revert "feature: reduce bandwidth by compressing resource files (#278)"
This reverts commit 2d5beb232f.
Will submit later after resolving issues with precompression.
2018-11-23 18:41:18 -08:00
dman776 2d5beb232f
feature: reduce bandwidth by compressing resource files (#278) 2018-11-22 23:59:39 -06:00
Joe AE6XE 355e34080f aredn: Add definitions for Mikrotik LHG-5HPnD-XL 2018-11-17 10:40:33 -08:00
Eric a997ef9545 bugfix: Found another place where uhttpd was tossing a uci error. Fixed
Also removed the description block from the mesh page if the description has not been set.
(there was a small grey area before, even with no description set)
2018-11-14 19:37:02 -08:00
dman776 311f4eff3d
bugfix: suppress uhttp uci error on mesh page with no description (#267) 2018-11-14 16:16:51 -06:00
Joe AE6XE a2f32e041b bugfix: litebeam M5 is single chain device (#265) 2018-11-10 21:51:21 -06:00
Joe AE6XE c8e13ae797 aredn: Add definitions for Mikrotik LHG5 2018-11-10 13:53:45 -08:00
dman776 a88803fe5a
bugfix: correct "Bad Gateway" error on Advanced Config page (#263) 2018-11-08 14:08:51 -06:00
Joe AE6XE 17c08a8ffa aredn: Add LiteBeam M5 definition (#261)
fixes #257
2018-11-07 20:27:57 -06:00
dman776 861de150ea
feature: add USB passthrough support to advancedconfig page (#255)
* feature: add POE passthrough support to advancedconfig page

* correct shellcheck warnings
2018-11-06 16:00:26 -06:00
apcameron 700f020e25 ar71xx: add TP-LINK CPE210 V3.0 and CPE510 V2.0 profiles
Adds a separate profile and binary for both devices.
fixes #221
2018-11-05 22:28:03 -08:00
dman776 9a47ff800a
bugfix: correct poe functions in adv cfg (#250)
* bugfix: correct poe functions in adv cfg

cleanup shellcheck errors

* avoid unnecessary shell
2018-10-27 11:37:45 -05:00
Eric e8b3520ec7 bugfix: Check to prevent duplicate mesh hostnames when reserving DHCP reservations (#226)
* bugfix: Check for existing hostnames on the network in DHCP reservations

fixes #216
*additional check for existing hostname when creating new DHCP lease.
checks hosts_olsr file if entered hostname already exists or not on the connected network(s).
outputs info saying such and gives advice to prefix hostname with callsign.

* change to use =~ /\s$host\S/i

* Reworded warning message

* moved the position of the hostname check to only when you click "add" on the DHCP leases page.

this stops it checking all the previously entered hostnames.
2018-10-26 21:53:14 -07:00
dman776 1948ba11e7 bugfix: fix reboot button (#249) 2018-10-26 19:50:35 -07:00
dman776 8716fd42be Add PoE passthrough option to advanced config (#243)
* minor changes

* handle null value (change to 0)

* add poe_passthrough script

* change key location

* change key name

* add default info into aredn uci file

* add conditional functions
2018-10-26 19:34:16 -07:00
dman776 d74eb1933a
aredn: adjust mesh status layout for OLSR stats (#248)
fixes #197
html is courtesy of N2MH
2018-10-26 14:25:45 -05:00
dman776 750cba55a7
modify the adv config layout (#247) 2018-10-26 00:27:15 -05:00
Joe AE6XE 4a50ee2382 aredn: add definition for Bullet M2 XW (#246)
New Bullet M2 XW models are released by ubnt.

closes #233
2018-10-25 23:44:45 -05:00
dman776 a1ab5312ef
bugfix: allow upload of ssh keys while tunnels since keys (#245) 2018-10-25 23:43:20 -05: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 a4ac376065
bugfix: correct improper "wrong firmware" message on Rocket (et al) devices (#240) 2018-10-24 19:57:21 -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
dman776 7a1817935c
feature: Provide firmware file advice for uploading firmware files (#217)
* feature: Provide firmware file advice for uploading firmware files

also reduces page size by removing unnecessary style info on option tags.

fixes #206

* update for Mikrotik filename exceptions

* correct download .list file name

* add support for cpe devices
2018-10-10 15:52:27 -05:00
W. Kyle Hamilton 6f9a8327cb bugfix: Fixed README and comment typos (#220)
* typos

* Update README.md

* Update aimer
2018-10-08 07:44:13 -07:00
Joe AE6XE c622140ef9 aredn: Prepare 3.18.9.0RC1 for release 2018-09-21 19:50:57 -07:00
Joe AE6XE b432be987f bugfix: aredn: correct test script warnings and errors 2018-09-17 21:42:52 -07:00
dman776 89682289c1
modify sysinfo.json structure for node,lat,lon values (#193) 2018-09-17 13:41:29 -05:00
dman776 1c4e6f1ecc
remove ipv6 address labels (ie. none) (#189) 2018-09-13 20:02:07 -05:00
Joe AE6XE c5e9342e29 aredn: add zombie.log to supporttool list 2018-09-13 16:19:10 -07:00
dman776 c2894f8df9
rework sysinfo.json to improve structure (#185)
* rework sysinfo.json to improve structure
re-organize "info" functions into their own lib

* change egrep to grep -E to eliminate shellcheck warning
2018-09-10 13:37:50 -05:00
Joe AE6XE cb35580fd2 bugfix: show freq on status page instead of channel number for 3GHz
3GHz has no common assignment of channel numbers, given no part 15
coverage in the US.  AREDN devices show freq in place of a channel
number for 3GHz.
2018-09-10 08:18:32 -07:00
Joe AE6XE 12611d3959 aredn: add notation in Mesh Status to identify tunnel info 2018-09-06 18:19:25 -07:00
Joe AE6XE ab130956ba bugfix: aredn signal chart correct SNR to dB units 2018-09-05 20:28:57 -07:00
Joe AE6XE b5ad5cad23 bugfix: aredn TxMbps does not show on Mikrotik hAP lite in mesh status 2018-09-05 20:14:03 -07:00
Eric d9ce31798c aredn: Changeed placement of OLSR info on the mesh status page. (#177)
Moved to be under the Previous Neighbors area.
It's actually under the previous neighbors listing
Fixes #171
2018-09-05 21:15:29 -05:00
dman776 8db653302a
bugfix: sysinfo.json not returning chanbw on hapACLite (#174) 2018-09-05 09:46:01 -05: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
Trevor Paskett 2678e9ad4a show the SNR above the real time chart (#143)
* show the SNR above the real time chart

* uncomment chart line that was commented by mistake

* fixes for 3.17
2018-08-23 10:55:50 -05:00
txcoder 8d3b63a3f3 Add testing support for the PowerBridge M5 2018-08-22 13:05:16 -07:00
Joe AE6XE 5abeb8f7ac bugfix: aredn slugbug mitigation
with low memory conditions, typically on 32Mb RAM, the
device would become unresponsive in hours to days. The
symptoms only occured when no RF links. iw processes
would hang in Zombie state.  Updates to use iwinfo where
possible and avoid using both iw and iwinfo.  crontab
script is implemented to detect Zombie processes and free
up resources in the reduced chance the symptoms are still
occuring.
2018-08-22 07:23:53 -07:00
Trevor Paskett af0e26dd84 config change to make uhttpd listen on port 80 and 8080 (#142)
* config change to make uhttpd listen on port 80 and 8080

* add port 80 to tunnel firewall rules

* add port 80 to tunnel firewall rules in config, update help

* firewall rules for wan + dtdlink
2018-08-20 14:09:47 -05:00
dman776 685ef824df
update about.html page content (#121) 2018-08-08 14:27:03 -05:00
Eric 48c3edf729 aredn: Remove square brackets from description on status page (#108)
The square brackets look kind of silly, and if the description goes multi line they will look even worse.
2018-08-04 13:46:11 -05:00
Eric 683c7b7149 aredn: remove duplicate file and minify
I found a duplicated file in www, only 16k, but every bit matters now.
Removed the duplicate and the replaced the file with a  minified version.
Updated www/cgi-bin/scan to use new minified file.
Tested. works fine.
2018-08-04 06:42:43 -08: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
apcameron 014217aa6b ar71xx: Add Support for the TP-LINK CPE210 V3.0 Device
This Device is almost the same as the CPE210 V2.0
Once Support for the TP-LINK CPE210 V3.0 gets added to the OpenWrt code we
will need to drop the patch 001-add_support_for_TP-Link_CPE210_v3.patch
2018-07-21 14:33:26 -08:00
Jason 30069e5ade Format code 2018-07-20 20:34:44 -08: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
Eric 282f4a170b Added the Nodes locally hosted service listing to sysinfo.json (#78)
* Added the Nodes locally hosted service listing to sysinfo.json

Added the Nodes locally hosted service listing to sysinfo.json file.

* Forgot to change api_version

* Change info[] section to be services_local to keep in line with the function is called

was info[local_services] now info[services_local]
2018-07-18 16:48:31 -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
Joe AE6XE d8262e37e7 bugfix: Ensure ip2hostname returns shortname
Needed to minimize size of OLSR advertisements and
ensure correctness of links in mesh status page

fixes #66
2018-07-15 09:28:03 -07:00
Joe AE6XE eae3e42ddd bugfix: nslookup output parsing changes with openwrt 18.06
fixes #66
2018-07-14 23:09:48 -07:00
Eric 5ad1a14022 Added Uptime and Load Averages to the sysinfo.json file. (#61)
* Added Uptime and Load Averages to the sysinfo.json file.

All code copied from Darryl, dman776.

* Updated Api Version number to 1.2.

Updated Api Version Number to 1.2.
2018-07-13 23:44:28 -05:00
dman776 506b15286b
bugfix: node cannot detect that it was WAN access. location if 'ip' command is incorrect (fixes #40) (#41) 2018-07-11 22:51:22 -05:00
dman776 65bba7aa35
feature: add SSID to status page (resolves #31) (#42) 2018-07-10 19:06:18 -05:00
Darryl Quinn 41559da318 feature: add channel and bandwidth to status page (resolves #28) 2018-07-05 19:23:12 -05:00
apcameron 0d95d4d708 ar71xx: Add Support for the TP-LINK CPE510 V2.0 Device
Once the PR for this is accepted by Openwrt we will need to remove the file
001-add_support_for_TP-Link_CPE510_v2.patch

Removed 001-add_support_for_TP-Link_CPE210_v2.patch as PR #937 has been committed

Updated 99_setup_aredn_include to remove unused Rssi Led configuration
2018-07-04 18:17:14 -07:00
Joe AE6XE 511e450afa hardware: add definition for Basebox 2 2018-07-01 20:20:26 -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
Joe AE6XE 8cbc9a1435 hardware: add aredn definition for mikrotik 912uag-5hpnd
Mikrotik RouterBOARD 912UAG-5HPnD or BaseBox 5 definition
2018-06-15 17:50:18 -05:00
apcameron 9fd3f30934 ar71xx: Add Support for the TP-LINK CPE210 V2.0 Device
Once Support for the TP-LINK CPE210 V2.0 gets added to the OpenWrt code we will need to drop the patch 001-add_support_for_TP-Link_CPE210_v2.patch
2018-05-15 21:20:44 -07:00
Joe AE6XE 7ee18ed05b hardware: add tplink cpe510 v1.1 aredn device definition
Power settings at or below vendor max specs.  Some channels
further limited within driver likely from vender
flash config data settings
2018-05-13 23:11:51 -05:00
dman776 3e4e6270b7
feature: add bootloader version to supporttool output (#8)
* feature: add U-Boot version to supporttool output

* feature: add bootloader version to supporttool output
2018-05-13 23:02:57 -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
Joe AE6XE b7cacc3d18 package: olsr: AREDN upgrade to 0.9.6.2 2018-03-29 21:03:16 -07:00
Joe AE6XE 8c5be0cf0b hardware: Add definition for 0xe6e5 PBE-M5-400-ISO
{{{
board.sysid=0xe6e5
board.cpurevision=0x00001122
board.name=PowerBeam? M5
board.shortname=P5B
board.subtype=400-ISO
board.netmodes=7
board.hwaddr=F09FC24EEF7E
board.reboot=40
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe6e5
radio.1.subvendorid=0x0777
radio.1.txpower.max=26
radio.1.txpower.min=-4
radio.1.txpower.offset=4
radio.1.ieee_modes=5
radio.1.antennas=2
radio.1.def_antenna=1
radio.1.antenna.1.id=1
radio.1.antenna.1.name=400
radio.1.antenna.1.gain=25
radio.1.antenna.1.builtin=1
radio.1.antenna.1.chains=2
radio.1.antenna.1.chain.1.id=0
radio.1.antenna.1.chain.1.name=Horizontal
radio.1.antenna.1.chain.2.id=1
radio.1.antenna.1.chain.2.name=Vertical
radio.1.antenna.2.id=2
radio.1.antenna.2.name=Feed only
radio.1.antenna.2.gain=3
radio.1.antenna.2.builtin=1
radio.1.antenna.2.chains=2
radio.1.antenna.2.chain.1.id=0
radio.1.antenna.2.chain.1.name=Horizontal
radio.1.antenna.2.chain.2.id=1
radio.1.antenna.2.chain.2.name=Vertical
radio.1.distance_limit_km=0
radio.1.chanbw="5,8,10,20,30,40"
feature.rssi.leds=4
feature.ext_reset=0
}}}

ref AREDN->ticket:253

Change-Id: Iec7080fa73ed0c03402b85daef870f6be45d1d95
2018-02-28 03:40:03 +00:00
Joe AE6XE f9a74b709d hardware: Add RM2T 0xe1d2 device config
Adds testing support for the Rocket M2 Titanim

{{{
TI.v5.5# cat /etc/board.info
board.sysid=0xe1d2
board.cpurevision=0x00002122
board.name=Rocket M2 Titanium
board.shortname=R2T
board.subtype=
board.netmodes=7
board.hwaddr=DC9FDB061725
board.reboot=30
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=9192
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe1d2
radio.1.subvendorid=0x0777
radio.1.txpower.max=28
radio.1.txpower.offset=10
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=0
}}}

Change-Id: I86308a1f6331eb9edc0366fccd172b93d7be2e08
2018-02-03 10:41:07 -08:00
Conrad Lara - KG6JEI 98b72b5159 hardware: Add testing support for RM5T
Adds testing support for the Rocket M5 Titanium

{{{
board.sysid=0xe4d5
 board.cpurevision=0x00002122
 board.name=Rocket M5 Titanium
 board.shortname=R5T
 board.subtype=GPS
 board.netmodes=7
 board.hwaddr=0418D60C3216
 board.reboot=40
 board.upgrade=150
 board.phycount=2
 board.phy.1.maxmtu=2024
 board.phy.2.maxmtu=2024
 board.gps=1
 radio.1.name=
 radio.1.shortname=
 radio.1.bus=ahb
 radio.1.subsystemid=0xe4d5
 radio.1.subvendorid=0x0777
 radio.1.txpower.max=27
 radio.1.txpower.offset=5
 radio.1.antennas=1
 radio.1.def_antenna=4
 radio.1.antenna.1.id=4
 radio.1.antenna.1.name=Combined
 radio.1.antenna.1.gain=0
}}}

ref AREDN->ticket:252

Change-Id: I9b1c4bb1fda5bee4ed9efd98ec717a9fcd5baace
2018-02-03 10:23:05 -08:00
Joe AE6XE 69937359c3 bugfix: correct rfband settings for 0xe235 NBM5 model
Change-Id: Iae180905820fb5827fefb002662ad3db1c9f5551
2017-12-04 19:12:49 -08:00
Joe AE6XE d18d14f326 hardware: Add ubnt NSM2 Loco XW 0xe867 device config
{{{
board.sysid=0xe867
board.cpurevision=0x00001122
board.name=NanoStation Loco M2
board.shortname=LM2
board.subtype=
board.netmodes=7
board.hwaddr=687251704683
board.reboot=40
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe867
radio.1.subvendorid=0x0777
radio.1.txpower.max=23
radio.1.txpower.min=-4
radio.1.txpower.offset=2
radio.1.ieee_modes=10
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Built in
radio.1.antenna.1.gain=8
radio.1.antenna.1.builtin=1
radio.1.antenna.1.chains=2
radio.1.antenna.1.chain.1.id=0
radio.1.antenna.1.chain.1.name=Horizontal
radio.1.antenna.1.chain.2.id=1
radio.1.antenna.1.chain.2.name=Vertical
radio.1.distance_limit_km=0
radio.1.chanbw="5,8,10,20,30,40"
feature.rssi.leds=4
feature.ext_reset=0
}}}

ref AREDN->ticket:246

Change-Id: I4248ef878bebc9cf1ee356801c3ac659507af789
2017-10-28 03:59:15 +00:00
Joe AE6XE 3580a9a555 hardware: Add ubnt NSM2 XW 0xe866 device config
{{{
board.sysid=0xe866
board.cpurevision=0x00001122
board.name=NanoStation? M2
board.shortname=N2N
board.subtype=
board.netmodes=7
board.hwaddr=687251720121
board.reboot=40
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe866
radio.1.subvendorid=0x0777
radio.1.txpower.max=28
radio.1.txpower.min=-4
radio.1.txpower.offset=6
radio.1.ieee_modes=10
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Built in
radio.1.antenna.1.gain=11
radio.1.antenna.1.builtin=1
radio.1.antenna.1.chains=2
radio.1.antenna.1.chain.1.id=0
radio.1.antenna.1.chain.1.name=Horizontal
radio.1.antenna.1.chain.2.id=1
radio.1.antenna.1.chain.2.name=Vertical
radio.1.distance_limit_km=0
radio.1.chanbw="5,8,10,20,30,40"
feature.rssi.leds=4
feature.ext_reset=0
}}}

ref AREDN->ticket:247

Change-Id: Iefae267d47561fb83d0ca400b8f77155c32d31b2
2017-10-26 19:48:03 -07:00
Conrad Lara - KG6JEI 17b9d5357c Merge branch 'release-3.17.1.0' into develop.
Bring current changes in release to develop to allow
development to continue.

Change-Id: I6c6e44026978ac4f938e687d540d476e5e8a610e
2017-10-01 11:36:00 -07:00
Darryl Quinn be514ffb5d bugfix: sysinfo.json not returning all services properly
Change-Id: I2b796a9ae03ef979d0776a9c2285354c60fb49f7
2017-09-14 14:22:18 +00:00
Darryl Quinn d5b06415c2 bugfix: charts realtime default language corrected
fixes AREDN->ticket:233

Change-Id: I4ccc1051bf9e008cb320e6eac07f8fa67bc96234
2017-08-30 02:38:37 +00:00
Darryl Quinn 7eeb7164f7 feature: add meminfo to supporttool
Change-Id: Id301b511567b14192369744ef3f0b54886191ace
2017-04-29 20:58:15 -05:00
Conrad Lara - KG6JEI 60e2310917 bugfix: Remove references to Status 4 LED
AirRouter does not have a Status 4 LED.

The Power LED does similar to the Status 4 on the AirRouter.

Changing the text to be more generic removing reference
to LED's and leave the documentation of how to know
a node has booted to be done elsewhere.

fixes AREDN->ticket:208

Change-Id: I8821f86e89e17d25e4a21abfdd94d989619d081a
2017-04-12 02:32:44 +00:00
Conrad Lara - KG6JEI a57d5cd08c bugfix: olsrd-watchdog false reports
olsrd-watchdog can trigger when the olsrd service is restarted
Such as when a tunnel comes up, or when a config change is
made to olsrd.

procd already monitors olsrd and makes sure it remains running.

With procd we no longer need olsrd-watchdog and can remove it.

fixes AREDN->ticket:215

Change-Id: I5067d380a22bd0ab5e597746478ef3e1ba05d72d
2017-03-31 19:34:49 +00:00
Conrad Lara - KG6JEI 9c0f5bf7c6 bugfix: DHCP Reservation allows duplicate hostname usage.
The DHCP Name reservation on the ports page would allow
a user to use the name of the mesh node as a hostname
for a reserved host which would mess up the remote display
of hosts on the mesh status screen.

In addition while testing the verification code it was found
that it was case sensitive while dns is case insensitive.

fixes AREDN->ticket:198

Change-Id: Ie51a594f733eca38e8547faeab0260d7b23b8818
2017-03-24 18:27:20 +00: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 8ee8fbefe0 bugfix: Increase available memory during upgrade/install process
It is possible for the system to run out of memory when dealing
with large file uploads and installs.

As part of the upgrade procedure shutdown services that are not
essential for node operations to allow more memory for install
to take place.

Includes changes to linkled to indicate this new state as it will
be shutdown as part of the cleanup process.

Memory gain (approximate)

dropbear 100kb
linkled  200kb
logd     200kb
odhcp    100kb
snmpd    500kb
xinetd   100kb

Total(approximate): 1200kb (around %4 on 32mb devices)

This is somewhat similar to files/usr/local/bin/upgrade_kill_prep
except that it kills only a select group of services
so that the system can handle the file upload while
upgrade_kill_prep does the final system cleanup to run the full
upgrade.

ref AREDN->ticket:204

Change-Id: Ic6d3aa028725064a97c4723f6d9b36e1e51d87a7
2017-03-08 03:23:52 +00:00
Conrad Lara - KG6JEI a2208dbc5a bugfix: Prevent users from uploading files when tunnels are active.
If a user tries to upload a file (especially firmware images) while
a tunnel is active the nodes run a high risk of running out of
available RAM.

Change-Id: I6c31a5c641c7266f337aa4b209367ae0491703ad
2017-03-05 16:57:37 -08:00
Conrad Lara - KG6JEI 24a3243215 Bugfix: read_postdata() accepts files when not expected
Correct read_postdata() to only accept files from pages that are
specifically designed to accept files.

This should be limited to authenticated pages only.

SCS-2017-001

Change-Id: Ic40f19a88e543d83a8097abcd4e7254ccea90f49
2017-03-05 02:45:04 +00:00
Darryl Quinn 8e08363414 bugfix: extend admin page reload time after reboot to 3 mins
Change-Id: Iffa664bf495fdb20d1d8450e00457722399bfcbf
2017-02-08 03:55:22 +00:00
Darryl Quinn 956c6b7cd8 bugfix: change charts to be time linear
Change-Id: I06e0c8d1d5d39e9faa46bfec3442bf2e3071c8ff
2017-02-03 16:34:25 +00:00
Darryl Quinn ed8939b3da bugfix: add upgrademode web page
This will depend on Change-Id: f7cbcef9aec2fb420bd88cdc6345c5c5bfca78fa
ref AREDN->ticket:204

Change-Id: I4e83dab801a21b9389744af19b4613152a6feb1a
2017-01-22 02:39:20 +00:00
Darryl Quinn bb0cb625d3 bugfix: add reboot button to admin page to support upgrade_mode recovery
ref AREDN->ticket:204

Change-Id: I0274dc9dd0ed02a2461e2ae0c8aaf4917dae4b16
2017-01-20 22:12:43 -06:00
Conrad Lara - KG6JEI 8ddf49ba32 bugfix: OTA Upgrade may mask backup errors.
During creation of the backup file some errors may be masked.

While this isn't confirmed to be the cause of any known report it
is possible users have in the past experienced this and we just
couldn't see it.

Change-Id: I12136b7c53aabfb243445170b91c69928206bb1b
2017-01-12 20:32:47 -08:00
Conrad Lara - KG6JEI a9eefa0032 Make supporttool cleanup after itself.
Make supporttool clean up its temporary folder when done
executing.

ref AREDN->ticket:204
ref AREDN->ticket:44

Change-Id: Ibc0bc1205ce8f66d382fad238877c881f2a21e3b
2017-01-12 17:14:19 +00:00
Darryl Quinn d3a93925e2 bugfix: sysinfo.json errors when tunnel interfaces are installed
Change-Id: Ib9b343b47e8147ad61e3d7a98105de467df16b0f
2016-12-30 22:47:56 -06: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 e5ff9ebdfb feature: Allow supporttool to be run from shell
Allows the supporttool to generate support files
when run from the shell for times that it may
be required when the web interface is offline.

Change-Id: I696289ea10c2e5b57f3e93d81ec7004469c4bba0
2016-12-28 04:55:46 +00:00
Darryl Quinn 1e08847db0 change: add chart null on timeout, skip signal 0 in archive.
Change-Id: Ia30bfebb3d5df097e69f1fb9e8cb75e8f317e3ff
2016-12-28 04:54:34 +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
Darryl Quinn 39ebd6b45e bugfix: force sysinfo.json mac addresses to uppercase
Change-Id: Ib62e758a30b8d68064e76e4a0e61b01c37820f49
2016-12-19 18:36:56 -06:00
Darryl Quinn f65482a74c enhancements/clarifications to the help file
Change-Id: I16b513360d891938631007b631254b96abd18fc0
2016-12-17 00:54:35 +00:00
Darryl Quinn 37a7b57c0a feature: add mcs/rate info to snrlog for archive
Change-Id: I8caa8a0b8cdef74be646283fa458e89b378e608b
2016-12-12 20:18:27 +00:00
Darryl Quinn d662e1ce97 update help file with chart info
Change-Id: I9c298f9be0efd3ce0ffb2f8acf38cd60cb4f8613
2016-12-11 08:51:39 -06:00
Darryl Quinn a1e55b3679 migrate sysinfo.json to lua
Change-Id: I9b092f496d660185e0db9318700c17e0349c7b81
2016-12-03 20:18:44 +00:00
Darryl Quinn ffc76619cc convert signal.json to lua, changed style, add tx/rx rates
Change-Id: Id46fc2cd74a39f1a1ec6922ba93154df33b95654
2016-12-03 20:18:35 +00:00
Darryl Quinn 8d137bbfa3 bugfix: uci options are single-quoted in CC
fixes AREDN->ticket:203

Change-Id: Ia94e3154d618c2baa7122166bfc3756c762d31c6
2016-12-02 03:08:37 +00:00
AE6XE 50332f76d2 bugfix: NSM5 Loco XW no channel number shown in setup
Change-Id: I5e5673767572ca28e5345803cadc4a8c3119cc3c
fixes: AREDN->ticket:202
2016-11-23 14:58:54 +00:00
Darryl Quinn 316f6d6acd feature: link logo to localnode.local.mesh
fixes: AREDN->ticket:187

Change-Id: I69542d33e351f652815d368ff1a04e3447a657eb
2016-11-18 03:52:09 +00:00
Darryl Quinn bbeabbfec8 hardware: Add PowerBeam M5 XW 0xe3e5 device config
{{{
board.sysid=0xe3e5
board.cpurevision=0x00001122
board.name=PowerBeam M5
board.shortname=P5B
board.subtype=300
board.netmodes=7
board.hwaddr=44D9E7CE9D90
board.reboot=40
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe3e5
radio.1.subvendorid=0x0777
radio.1.txpower.max=26
radio.1.txpower.min=-4
radio.1.txpower.offset=4
radio.1.antennas=2
radio.1.def_antenna=1
radio.1.antenna.1.id=1
radio.1.antenna.1.name=300
radio.1.antenna.1.gain=22
radio.1.antenna.2.id=2
radio.1.antenna.2.name=Feed only
radio.1.antenna.2.gain=3
}}}
ref AREDN->ticket:196

Change-Id: Icefe3df76bf2c19b5385aad4dcd94da5f0321bb3
2016-10-24 19:25:57 +00:00
AE6XE c5e0d869e8 hardware: Add PowerBeam M5 620 XW 0xe885 device config
{{{
board.sysid=0xe885
board.cpurevision=0x00001122
board.name=PowerBeamM5
board.shortname=P5B
board.subtype=620
board.netmodes=7
board.hwaddr=0418D6AE868A
board.reboot=40
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe885
radio.1.subvendorid=0x0777
radio.1.txpower.max=26
radio.1.txpower.offset=4
radio.1.antennas=2
radio.1.def_antenna=1
radio.1.antenna.1.id=1
radio.1.antenna.1.name=400
radio.1.antenna.1.gain=25
radio.1.antenna.2.id=2
radio.1.antenna.2.name=Feed only
radio.1.antenna.2.gain=3
}}}
ref AREDN->ticket:199

Change-Id: Iaafda611e08ca76507712fbd487b7b05cc254b84
2016-10-24 19:25:39 +00:00
Darryl Quinn 159680c0c9 hardware: Add NanoBeam M5-16 0xe815 device config
{{{
board.sysid=0xe815
board.cpurevision=0x00001122
board.name=NanoBeam M5
board.shortname=N5B
board.subtype=16
board.netmodes=7
board.hwaddr=44D9E7DCC91B
board.reboot=40
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe815
radio.1.subvendorid=0x0777
radio.1.txpower.max=26
radio.1.txpower.min=-4
radio.1.txpower.offset=4
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=16
}}}
ref AREDN->ticket:197

Change-Id: I227accf342ef02395297d2b2f6e37c5aff6f4053
2016-10-23 22:14:06 -05:00
AE6XE f303bb3341 hardware: Add AirGrid M5 XW 0xe835 device config
{{{
board.sysid=0xe835
board.cpurevision=0x00001122
board.name=AirGrid M5
board.shortname=AG5
board.subtype=HP
board.netmodes=7
board.hwaddr=24A43CAE0D77
board.reboot=40
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe835
radio.1.subvendorid=0x0777
radio.1.txpower.max=25
radio.1.txpower.offset=6
radio.1.antennas=4
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Not specified
radio.1.antenna.1.gain=0
radio.1.antenna.2.id=3
radio.1.antenna.2.name=Feed only
radio.1.antenna.2.gain=3
radio.1.antenna.3.id=1
radio.1.antenna.3.name=11x14
radio.1.antenna.3.gain=23
radio.1.antenna.4.id=2
radio.1.antenna.4.name=17x24
radio.1.antenna.4.gain=28
}}}
ref AREDN->ticket:190
Change-Id: I8d079f6a2c6f0d433d17611b292f04980b0bfc0e
2016-10-11 21:32:45 +00:00
AE6XE a34a20d7e3 bugfix: hardware PBE-M5-400 change rfband to 5800ubntus
fixes AREDN->ticket:188
Change-Id: I3b4a74b71400760474887ea6c7be8979c449ff2e
2016-10-11 03:28:10 +00: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 0741cf61fc bugfix: NanoBeam M5 XW hardware definition.
Adjust power levels to reflect what is in the board.info

This was likely a typo when I put the device in the first time.

In addition adjust naming to match Ubiquiti device rename.

{{{
board.sysid=0xe4e5
board.cpurevision=0x00001122
board.name=PowerBeam M5
board.shortname=P5B
board.subtype=400
board.netmodes=7
board.hwaddr=0418D65EEB39
board.reboot=40
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=ahb
radio.1.subsystemid=0xe4e5
radio.1.subvendorid=0x0777
radio.1.txpower.max=26
radio.1.txpower.offset=4
radio.1.antennas=2
radio.1.def_antenna=1
radio.1.antenna.1.id=1
radio.1.antenna.1.name=400
radio.1.antenna.1.gain=25
radio.1.antenna.2.id=2
radio.1.antenna.2.name=Feed only
radio.1.antenna.2.gain=3
}}}

ref AREDN->ticket:185

Change-Id: I71d2a944b6abb9e30862d7ada7f46b80df2c731c
2016-09-24 08:37:02 -07:00
Conrad Lara - KG6JEI 717b39c2fd hardware: Add support to obtain boardid from more Ubiquiti devices.
Obtain the board ID from the EEPROM on *-m-xw devices.

ref AREDN->ticket:185
ref AREDN->ticket:43

Change-Id: I86247640773a1f6cbd3c4792502d7da4890a46a4
2016-09-24 08:28:31 -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
Conrad Lara - KG6JEI bb83809472 hardware: Testing support for CPE210 v1.1
Add board definition for CPE210 v1.1 in testing mode.

{{{
 ========== iw phy phy0 info ==========
 Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 9 (up to 4050m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x3 RX 0x3
	Configured Antennas: TX 0x3 RX 0x3
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * WDS
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-15
		Frequencies:
			* 2397 MHz [-2] (30.0 dBm)  <-- This is kernel fallback when channel is
			* 2402 MHz [-1] (30.0 dBm)  <-- not defined in radio EEPROM, set to 22 instead
			* 2412 MHz [1] (22.0 dBm)
			* 2417 MHz [2] (23.0 dBm)
			* 2422 MHz [3] (23.0 dBm)
			* 2427 MHz [4] (23.0 dBm)
			* 2432 MHz [5] (23.0 dBm)
			* 2437 MHz [6] (23.0 dBm)
			* 2442 MHz [7] (23.0 dBm)
			* 2447 MHz [8] (23.0 dBm)
			* 2452 MHz [9] (23.0 dBm)
			* 2457 MHz [10] (23.0 dBm)
			* 2462 MHz [11] (23.0 dBm)
			* 2467 MHz [12] (30.0 dBm)  <-- This is also kernel fallback
			* 2472 MHz [13] (30.0 dBm)  <-- Set to 23 instead as that was was above
			* 2484 MHz [14] (30.0 dBm)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }
		 * #{ WDS } <= 2048,
		   total <= 2048, #channels <= 1, STA/AP BI must match
	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
}}}

ref AREDN->ticket:183

Change-Id: I00e52b80ce5f8e8a774c7bae7d946a6dab73bacf
2016-09-18 17:49:46 +00:00
Conrad Lara - KG6JEI 64eb08bdba bugfix: Help document incorrectly states web login password is encrypted.
User UI login uses http-basic authentication which is just base64 encoded
for transit but not encrypted.

This is a long standing error in documentation.

Change-Id: Ib3e49533b2acb32496e5e2a9b9b93e1436bc5f0d
2016-09-13 13:43:18 -07:00
Darryl Quinn 5eb457b11a enhancement: add services to sysinfo.json api
Change-Id: I09769ef110a6210513efc4bc23908be9ac7ddf6a
2016-09-05 19:23:54 +00:00
Darryl Quinn 8bf9d0948d bugfix: added tunnel network address constraints.
fixes AREDN->ticket:180

Change-Id: I054f6d96c378f96c9d454536f2c08e4735bdf746
2016-08-25 03:12:41 +00: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
Darryl Quinn dc17259f4d enhancement: make snr chart fill more of the screen
Change-Id: I31b0cc10bcabe7bff47ac52a4feb1cc39f874cfa
2016-08-19 15:08:55 -05:00
Conrad Lara - KG6JEI 3962465066 feature: Instruct search engines not to index node pages
Provide HTTP header to search engines not to index the page.

Eventually we will likely want to add nofollow and a robots file
but first we need to get this pushed out and into search engine hands
so they delist the entires that may already be cached.

Change-Id: I47a68fcc8fb69c43c3f1bbe2b8a04a3e8d51571a
2016-08-16 18:15:06 -07:00
AE6XE 7de59de3b9 bugfix: TxMbps compatibility with Chaos Calmer
fixes AREDN->ticket:176

Change-Id: I005b391ecdc3611dc7fc59632743759b04d76728
2016-08-12 15:42:59 +00: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
Darryl Quinn df9c6601be enable leafletjs, leafletcss, and maptiles to be based on uci config vars
fixes AREDN->ticket:174

Change-Id: I0133ab46df95b14d55192e5e47fa4e8f6377b4c9
2016-06-22 08:43:28 -05:00
Conrad Lara - KG6JEI 6bc3999b59 hardware: Rocket M5 with GPS 0xe1c5
fixes AREDN->ticket:162

Forum reference: http://www.aredn.org/content/m5-gps

Submitted by KE2N
{{{
board.sysid=0xe1c5
board.cpurevision=0x00000101
board.name=Rocket M5
board.shortname=R5N
board.subtype=GPS
board.netmodes=7
board.hwaddr=00272228652D
board.reboot=50
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
board.gps=1
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe1c5
radio.1.subvendorid=0x0777
radio.1.txpower.max=27
radio.1.txpower.min=-4
radio.1.txpower.offset=5
radio.1.ieee_modes=5
radio.1.antennas=13
radio.1.def_antenna=13
radio.1.antenna.1.id=1
radio.1.antenna.1.name=AMO-5G10
radio.1.antenna.1.gain=10
radio.1.antenna.1.builtin=0
radio.1.antenna.1.chains=2
radio.1.antenna.1.chain.1.id=0
radio.1.antenna.1.chain.1.name=Vertical
radio.1.antenna.1.chain.2.id=1
radio.1.antenna.1.chain.2.name=Horizontal
radio.1.antenna.2.id=2
radio.1.antenna.2.name=AMO-5G13
radio.1.antenna.2.gain=13
radio.1.antenna.2.builtin=0
radio.1.antenna.2.chains=2
radio.1.antenna.2.chain.1.id=0
radio.1.antenna.2.chain.1.name=Vertical
radio.1.antenna.2.chain.2.id=1
radio.1.antenna.2.chain.2.name=Horizontal
radio.1.antenna.3.id=3
radio.1.antenna.3.name=AM-5G16-120
radio.1.antenna.3.gain=16
radio.1.antenna.3.builtin=0
radio.1.antenna.3.chains=2
radio.1.antenna.3.chain.1.id=0
radio.1.antenna.3.chain.1.name=Vertical
radio.1.antenna.3.chain.2.id=1
radio.1.antenna.3.chain.2.name=Horizontal
radio.1.antenna.4.id=4
radio.1.antenna.4.name=AM-5G17-90
radio.1.antenna.4.gain=17
radio.1.antenna.4.builtin=0
radio.1.antenna.4.chains=2
radio.1.antenna.4.chain.1.id=0
radio.1.antenna.4.chain.1.name=Vertical
radio.1.antenna.4.chain.2.id=1
radio.1.antenna.4.chain.2.name=Horizontal
radio.1.antenna.5.id=5
radio.1.antenna.5.name=AM-M-V5G-Ti
radio.1.antenna.5.gain=17
radio.1.antenna.5.builtin=0
radio.1.antenna.5.chains=2
radio.1.antenna.5.chain.1.id=0
radio.1.antenna.5.chain.1.name=Vertical
radio.1.antenna.5.chain.2.id=1
radio.1.antenna.5.chain.2.name=Horizontal
radio.1.antenna.6.id=6
radio.1.antenna.6.name=AM-5G19-120
radio.1.antenna.6.gain=19
radio.1.antenna.6.builtin=0
radio.1.antenna.6.chains=2
radio.1.antenna.6.chain.1.id=0
radio.1.antenna.6.chain.1.name=Vertical
radio.1.antenna.6.chain.2.id=1
radio.1.antenna.6.chain.2.name=Horizontal
radio.1.antenna.7.id=7
radio.1.antenna.7.name=AM-5G20-90
radio.1.antenna.7.gain=20
radio.1.antenna.7.builtin=0
radio.1.antenna.7.chains=2
radio.1.antenna.7.chain.1.id=0
radio.1.antenna.7.chain.1.name=Vertical
radio.1.antenna.7.chain.2.id=1
radio.1.antenna.7.chain.2.name=Horizontal
radio.1.antenna.8.id=8
radio.1.antenna.8.name=AM-V5G-Ti
radio.1.antenna.8.gain=21
radio.1.antenna.8.builtin=0
radio.1.antenna.8.chains=2
radio.1.antenna.8.chain.1.id=0
radio.1.antenna.8.chain.1.name=Vertical
radio.1.antenna.8.chain.2.id=1
radio.1.antenna.8.chain.2.name=Horizontal
radio.1.antenna.9.id=9
radio.1.antenna.9.name=AM-5AC21-60
radio.1.antenna.9.gain=21
radio.1.antenna.9.builtin=0
radio.1.antenna.9.chains=2
radio.1.antenna.9.chain.1.id=0
radio.1.antenna.9.chain.1.name=Vertical
radio.1.antenna.9.chain.2.id=1
radio.1.antenna.9.chain.2.name=Horizontal
radio.1.antenna.10.id=10
radio.1.antenna.10.name=AM-5AC22-45
radio.1.antenna.10.gain=22
radio.1.antenna.10.builtin=0
radio.1.antenna.10.chains=2
radio.1.antenna.10.chain.1.id=0
radio.1.antenna.10.chain.1.name=Vertical
radio.1.antenna.10.chain.2.id=1
radio.1.antenna.10.chain.2.name=Horizontal
radio.1.antenna.11.id=11
radio.1.antenna.11.name=RD-5G-30
radio.1.antenna.11.gain=30
radio.1.antenna.11.builtin=0
radio.1.antenna.11.chains=2
radio.1.antenna.11.chain.1.id=0
radio.1.antenna.11.chain.1.name=Vertical
radio.1.antenna.11.chain.2.id=1
radio.1.antenna.11.chain.2.name=Horizontal
radio.1.antenna.12.id=12
radio.1.antenna.12.name=RD-5G31-AC
radio.1.antenna.12.gain=31
radio.1.antenna.12.builtin=0
radio.1.antenna.12.chains=2
radio.1.antenna.12.chain.1.id=0
radio.1.antenna.12.chain.1.name=Vertical
radio.1.antenna.12.chain.2.id=1
radio.1.antenna.12.chain.2.name=Horizontal
radio.1.antenna.13.id=13
radio.1.antenna.13.name=RD-5G-34
radio.1.antenna.13.gain=34
radio.1.antenna.13.builtin=0
radio.1.antenna.13.chains=2
radio.1.antenna.13.chain.1.id=0
radio.1.antenna.13.chain.1.name=Vertical
radio.1.antenna.13.chain.2.id=1
radio.1.antenna.13.chain.2.name=Horizontal
radio.1.distance_limit_km=0
radio.1.chanbw="5,8,10,20,30,40"
feature.rssi.leds=2
feature.gps=1
feature.gps.leds=3
feature.ext_reset=0
}}}

Change-Id: I6c03799cc04577b873b7ec04038238fb761ec3e7
2016-06-21 16:13:06 -07:00
KG6JEI 32a0d6348d Merge "Merge branch 'ChaosCalmer' into develop" into develop 2016-06-20 05:53:31 +00:00
Conrad Lara - KG6JEI 061ede3488 Merge branch 'ChaosCalmer' into develop
Change-Id: I26a8677595a25aae267b7365f1e5835ea68f49b4
2016-06-19 19:26:12 -07:00
Darryl Quinn 39efd11beb bugfix: could not delete client connections from vpnc page
fixes AREDN->ticket:170

Change-Id: Ieacdfd3eebf288e6fc83dcade7903eb96419dff4
2016-06-16 22:37:41 -05:00
Darryl Quinn d45bbb9dea fixes AREDN->ticket:172
Change-Id: I0db2dbc14283c2458a55b4e75ca25ce95d867b5b
2016-06-14 14:18:52 -05:00
Darryl Quinn 6e2a56b106 fixes AREDN->ticket:163
KG6JEI COMMENT:

Origonaly this was commit 027d0e6b6c682cbf264912842fb2fb9ce92084c7
This got lost in the repo migration and has been chery-picked back into the repo.

Change-Id: If02ade8efca0520b23abccdeceb9bf0fc4eb73d1
2016-05-31 23:01:26 -07:00
Conrad Lara - KG6JEI 3bae69cc5c hardware: add NanoBridge M5 0xe235 in testing
XM.v5.5# cat /etc/board.info
board.sysid=0xe235
board.cpurevision=0x000000c2
board.name=NanoBridge? M5
board.shortname=NB5
board.subtype=
board.netmodes=7;
board.hwaddr=00156D1EED1F
board.reboot=30
board.upgrade=150
board.phycount=1
board.phy.1.maxmtu=1524
board.phy.2.maxmtu=1524
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe235
radio.1.subvendorid=0x0777
radio.1.txpower.max=23
radio.1.txpower.offset=1
radio.1.antennas=3
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Not specified
radio.1.antenna.1.gain=0
radio.1.antenna.2.id=1
radio.1.antenna.2.name=300
radio.1.antenna.2.gain=22
radio.1.antenna.3.id=2
radio.1.antenna.3.name=400
radio.1.antenna.3.gain=25

fixes AREDN->ticket:161

Change-Id: I050f39646000e4e6ce4342e7140046ba77396d38
2016-05-31 19:56:03 -07:00
Conrad Lara - KG6JEI 1271db794a Merge 3.16.1.0 as released into develop
Merge branch 'release-3.16.1.0' into develop
2016-05-17 09:50:40 -07:00
Darryl Quinn 215e5abf47 fixes AREDN->ticket:166 2016-05-15 17:40:29 -05:00
Conrad Lara - KG6JEI 1adb471d31 hardware: Mark devices as supported for 3.16.1.0
Moving devices that have been tested in beta for 3.16.1.0 to supported status
2016-04-20 17:57:08 -07:00
Darryl Quinn 23bc85687c fixes AREDN->ticket:151 2016-04-08 13:02:35 -05:00
Trevor Paskett - K7FPV 7d437e2cb8 bug fix: run sysupgrade forked off from uhttpd, kill un-necessary processes and flush page cache during firmware upgrade 2016-03-08 20:29:35 -07:00
Conrad Lara - KG6JEI b4d9a4fc7b bugfix: Migrate vtund firewall rules to the new firewall system.
Resolves issue with firewall rules being purged on a port change.

Requires changeset:dcc9d83e6e4bc3142f18fd077a3f5a955a66ce00/aredn_packages
2016-02-24 21:06:03 -08:00
Trevor Paskett - K7FPV 902371a876 add loading spinner to signal page 2016-02-23 20:52:02 -08:00
Darryl Quinn aa3f8855c1 fixes AREDN->ticket:151 2016-02-23 10:00:51 -06:00
AE6XE 64f1c941f2 Merge branch 'mesh_mbps' into release-3.16.1.0 2016-02-11 21:18:49 -08:00
AE6XE 0f1c33196b Bugfix: TxMbps help.html updates to match (rate * ewma) calulation 2016-02-11 21:17:23 -08:00
AE6XE 1419f28749 Merge branch 'mesh_mbps' into release-3.16.1.0 2016-02-10 23:32:42 -08:00
AE6XE 225fabd063 Bugfix: Calculation of TxMbps now (MCS rate * %-packet-success)
ThroughPut numbers in rate selection table were not based on
expected definition from Minstrel's docs.  Rather, was based
on 1200 byte packets and transmit time included SIFS time
inflating #s.
2016-02-10 23:23:25 -08:00
AE6XE 5b7475f607 Feature: Add 0xe4a2 boardid support for AirRouter (non-HP)
XM.v5.5.11# cat /etc/board.info
board.sysid=0xe4a2
board.cpurevision=0x00000101
board.name=AirRouter
board.shortname=LAP
board.subtype=
board.netmodes=15
board.hwaddr=687251405E66
board.reboot=30
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe4a2
radio.1.subvendorid=0x0777
radio.1.txpower.max=20
radio.1.txpower.offset=1
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=0
2016-02-10 20:13:59 -08:00
Darryl Quinn 001496e7dc bugfix: re-worked wifi distance setting to show all values (miles, KM, meters) 2016-02-04 17:55:57 -06:00
Conrad Lara - KG6JEI 765ca369ea bugfix: Disable Default Route checkbox was not displayed in NAT mode 2016-01-22 21:10:28 -08:00
Trevor Paskett - K7FPV 602dc13d8a add loading spinner to signal page 2016-01-22 15:32:33 -07:00
Darryl Quinn bc04cd9a5a updated help file with "optionalsettings" information (lat/lon, upload, ntp, etc.) 2016-01-20 01:25:27 -06:00
Darryl Quinn 04c8de37a2 feature: enabled new chart zoom options 2016-01-19 19:58:00 -06:00
Darryl Quinn c0973f68a9 feature: enabled option to save chart as a JPG or PNG 2016-01-19 19:39:31 -06:00
Darryl Quinn b870bbce6c CanvasJS upgraded to 1.8 GA 2016-01-15 17:19:06 -06:00
Darryl Quinn c34ce710dc bugfix: always show buttons, added javascript error handling when not internet connected 2016-01-12 20:30:00 -06:00
Trevor Paskett - K7FPV 507dbab626 Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into develop 2016-01-12 11:21:12 -07:00
Trevor Paskett - K7FPV 0aca4ce5c7 fix bug with spaces in time zone names 2016-01-12 10:58:06 -07:00
Darryl Quinn 16b06c4554 rearranged the order of buttons in the optional location section 2016-01-12 11:33:25 -06:00
Darryl Quinn 38d2c1fc8b feature: find me using browser location services 2016-01-11 17:41:35 -06:00
Darryl Quinn 7314a868e5 feature: added button to post data to aredn server including olsrd topology info 2016-01-11 12:46:12 -06:00
AE6XE de2ba6ec59 feature: Add definition for NS Loco M5 0xe0a5 2016-01-10 18:49:58 -08:00
AE6XE c21b4f7b35 bugfix: removed Strongest Selection from Archive chart 2016-01-09 20:55:53 -08:00
Trevor Paskett - K7FPV ad8e3c0605 revert validate_hostname change 2016-01-08 18:05:31 -07:00
Trevor Paskett - K7FPV 44ab46bc87 move new settings to optional area under table, disable ntp server, ntp server fqdn validation 2016-01-08 18:04:25 -07:00
Trevor Paskett - K7FPV 7653acc333 Merge branch 'develop' into ntp 2016-01-08 11:11:13 -07:00
Trevor Paskett - K7FPV 6f97c52565 add time zone and ntp server to setup page 2016-01-08 10:58:22 -07:00
Darryl Quinn f62a6d43fa re-inserted antenna message 2016-01-06 14:47:52 -06:00
Darryl Quinn cb1bd15823 resized distance field, changed is_online technique 2016-01-06 14:36:40 -06:00
Darryl Quinn c9b2670d99 removed unnecessary comment 2016-01-06 14:25:09 -06:00
Darryl Quinn 779f33e8fc removed lat/lon/grid from admin page (moved to setup) 2016-01-06 10:46:59 -06:00
Darryl Quinn d55f6de4cf bugfix: removed global css border change 2016-01-06 10:46:27 -06:00
Darryl Quinn 4f2d68bc08 feature: added lat/lon/gridsquare fields and map to capture them 2016-01-06 10:23:18 -06:00
Darryl Quinn 07f447313f default wifi distance to 0, disallow saving with 0 value, change alert to show on 0 2016-01-05 23:09:34 -06:00
Darryl Quinn 1e24cda1f1 change chart back to spline type 2016-01-05 22:12:24 -06:00
Darryl Quinn 2b2ec5c1fd removed erroneous reference to Broadband-Hamnet from copyright 2016-01-05 22:11:44 -06:00
Darryl Quinn 16b4e8c798 Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into develop
* 'develop' of ssh://git.aredn.org/aredn_ar71xx:
  feature: TxMbps--Added Mesh Status Help Section and minor code enhancements
  bugfix: snrlog better handle neighbor references from mac to ip to hostname
  hardware: Add testing support for AirRouter HP
2016-01-04 22:42:34 -06:00
Darryl Quinn a1bc4fa35b feature: distance value calculation in km or miles 2016-01-04 22:41:27 -06:00
AE6XE 0cf75af9df feature: TxMbps--Added Mesh Status Help Section and minor code enhancements 2016-01-01 16:08:02 -08:00
Conrad Lara - KG6JEI cc6d4ee550 hardware: Add testing support for AirRouter HP
board.info
{{{
board.sysid=0xe4b2
board.cpurevision=0x00000101
board.name=AirRouter
board.shortname=LAP
board.subtype=HP
board.netmodes=15
board.hwaddr=687251449BBD
board.reboot=50
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=2024
board.phy.2.maxmtu=2024
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe4b2
radio.1.subvendorid=0x0777
radio.1.txpower.max=28
radio.1.txpower.min=-4
radio.1.txpower.offset=9
radio.1.antennas=1
radio.1.def_antenna=4
radio.1.antenna.1.id=4
radio.1.antenna.1.name=Combined
radio.1.antenna.1.gain=6
}}}
2015-12-28 22:48:13 -08:00
Conrad Lara - KG6JEI 2dfc911df7 Merge branch 'release-3.15.1.0' into develop
Conflicts:
	files/www/cgi-bin/mesh
2015-12-22 08:45:09 -08:00
AE6XE 91ad5613fe feature: Add TxMbps to mesh status 2015-12-21 18:26:45 -08:00
Conrad Lara - KG6JEI 9c21a18f3f bugfix: IP selection dropdown list is empty on dhcp reseveration/ports page. 2015-12-20 18:52:10 -08:00
Conrad Lara - KG6JEI d6db48fb48 bugfix: Services were not lined up correctly on mesh status page.
Correct services to be correctly lined up.

Note:
It looks like we need to split the two tables eventually on the mesh status page as the services are pushed to the right.

Saving this however to be done in a future release as we may be doing a revamp of this page for sortable fields in the near future and this would fit in with that.
2015-12-16 21:42:43 -08:00
Conrad Lara - KG6JEI 9d0b7d59e1 Revert "bugfix: Services were not lined up correctly on mesh status page."
This reverts commit b223259f4f.

The change was made in the wrong location of the mesh status page.
2015-12-16 21:41:19 -08:00
Conrad Lara - KG6JEI b223259f4f bugfix: Services were not lined up correctly on mesh status page.
Correct services to be correctly lined up.

Note:
It looks like we need to split the two tables eventually on the mesh status page as the services are pushed to the right.

Saving this however to be done in a future release as we may be doing a revamp of this page for sortable fields in the near future and this would fit in with that.
2015-12-16 21:33:16 -08:00
AE6XE 265d2eb196 feature: enhance snrlog to squareLine, local TZ, fix test condition 2015-12-15 22:45:29 -08:00
Darryl Quinn b2c4913680 default any error conditions to -95 2015-12-13 15:07:46 -06:00
Darryl Quinn aa6dbe41d6 minor adjustment to interfaces and hosts (change to array) 2015-12-12 17:33:54 -06:00
Darryl Quinn 839718cc89 minor adjustment to interfaces and hosts (change to array) 2015-12-12 17:19:52 -06:00
Darryl Quinn 3685deb091 moved buttons to top of page for consistency with other pages 2015-12-11 17:10:57 -06:00
AE6XE 8586a9fee8 feature: device support for older AirGrid M5 0xe245 tested in beta 2015-12-11 10:50:45 -08:00
Darryl Quinn 4aff5d7a59 fixed typos in device names 2015-12-11 11:15:48 -06:00
Darryl Quinn 2f15569a69 fixed y-axis label 2015-12-11 00:35:37 -06:00
Conrad Lara - KG6JEI 096f798ceb hardware: Update supported hardware list labels. 2015-12-10 10:53:37 -08:00
Darryl Quinn fbc6002924 removed spurious comments 2015-12-10 12:15:12 -06:00
Darryl Quinn 61d9db044d bugfix: location message alignment/html structure issue 2015-12-10 12:14:38 -06:00
Darryl Quinn fba3459752 bugfix: fix validation to not allow - at the end of the line 2015-12-10 12:12:15 -06:00
Darryl Quinn 1ef42568c2 changed default chart view to realtime 2015-12-10 11:22:30 -06:00
Darryl Quinn f96fac0a57 removed old SNR page and replace with new chart page 2015-12-10 11:14:43 -06:00
Darryl Quinn a1deaea04a bugfix: initialize chart to start at -95 instead of 0 2015-12-09 17:16:44 -06:00
Darryl Quinn 4de822ca2b signal2 cleanup 2015-12-09 16:57:57 -06:00
Darryl Quinn dd04d3d657 feature: added realtime charts by device 2015-12-09 16:37:37 -06:00
Darryl Quinn c81127f2a4 feature: select a device to view archived data against, enabled chart zooming/panning 2015-12-09 15:36:09 -06:00
Darryl Quinn 46c13c8c64 bugfix: add error checking when posting to map server 2015-12-08 17:20:53 -06:00
Darryl Quinn c270ea5e0d added data validation for lat/lon/gridsquare 2015-12-08 17:03:15 -06:00
Darryl Quinn 8ceaa87472 bugfix: maxis on grid square field set to 6 2015-12-07 15:51:29 -06:00
Darryl Quinn fa0e128104 feature: provided lat/lon/gridsquare purge ability 2015-12-07 15:47:12 -06:00
Darryl Quinn e1d4c82256 bugfix: test/update grid square to message appears when appropriate 2015-12-07 15:41:34 -06:00
Darryl Quinn 24ccfb30bc feature: save location data from admin page 2015-12-07 15:24:39 -06:00
AE6XE 4d12a6f535 feature: include boardid for Rocket M5 XW 2015-11-25 21:54:36 -08:00
AE6XE 0c776ab932 fix: correct max power setting NS loco XW 2015-11-25 21:23:52 -08:00
AE6XE dc5df00d46 feature: Add boardid for NS Loco M5 XW 2015-11-25 20:43:27 -08:00
Darryl Quinn e3962e12e1 feature: add signal2 graphing page to status page as a button 2015-11-24 22:39:27 -06:00
Conrad Lara - KG6JEI 48cb37bd05 Merge branch 'release-3.15.1.0' into develop
Merging in latest release-3.15.1.0 changes into develop to provide a foundation with recent release fixes for the develop branch.

This should be 3.15.1.0b03 code.

Conflicts:
	files/etc/crontabs/root
	files/usr/local/bin/wscan
	files/www/cgi-bin/sysinfo.json
2015-11-15 19:28:56 -08:00
AE6XE 5b945229fa bugfix: add rssi_monitor data and logfiles to download support data 2015-11-03 20:32:36 -08:00
Darryl Quinn a5492c0807 bugfix: tunnel client not showing errors. allow - in pwd 2015-10-19 22:48:09 -05:00
Darryl Quinn 0669217984 check for 3Ghz band channels and report freq instead 2015-08-28 20:09:33 -05:00
Darryl Quinn 14d7163666 add wifi channel number 2015-08-18 21:39:30 -05:00
Conrad Lara - KG6JEI 28f038edd5 bugfix: Correct section reference 10(e) should be 7(e) when referring to the section that grants the additional terms permission in GPL. 2015-08-03 15:57:42 -07:00
Darryl Quinn e0c2cbbe5d feature: add sorttable.js lib to www/js dir 2015-07-30 15:34:13 -05:00
Darryl Quinn 5358f43604 minor fixes 2015-07-30 15:33:22 -05:00
Darryl Quinn 478caec8f7 feature: make service links open in a new window 2015-07-30 12:33:18 -05:00
Darryl Quinn cfd7aa2a6c js lib changes 2015-07-28 16:33:20 -05:00
Darryl Quinn 028f140996 added js libs 2015-07-28 16:31:48 -05:00