Commit Graph

597 Commits

Author SHA1 Message Date
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
dman776 da089acb68
bugfix: use new nslookup format (fixes #48) (#74) 2018-07-16 20:54:38 -05:00
Joe AE6XE 287a995089 bugfix: update wscan to nslookup parsing in opewrt 18.06 2018-07-15 16:06:30 -07: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
Joe AE6XE 53fd55b345 aredn: tunnel firewall rules upgrade to openwrt 18.06
fixes: #68
2018-07-14 21:34:00 -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 2db67fc168
bugfix: signal charts drop-down list only contains the avg signal for all connected stations (fixes #48) (#58) 2018-07-12 17:32:55 -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
Joe AE6XE d66a7e8842 bugfix: sysupgrade no longer supports -d option 2018-05-19 07:12:14 -07: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
Andrew Cameron 770fe43e23 aredn: upgrade setup_aredn_include to new generate_led 2018-03-29 23:55:55 -07:00
Andrew Cameron 1fc7a926ab bugfix: fix scripts to current standards
local can only be used in a function
2018-03-29 22:00:19 -07: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
Darryl Quinn f532ee6a40 bugfix: tun_client connection does not persist/retry
refs AREDN->ticket:229

Change-Id: I843bd2eb7c6d88ec4917e52cfc5bbdfaeda9f4c0
2017-04-26 12:06:24 -05:00
Conrad Lara - KG6JEI e5fc675cfc bugfix: OTA Upgrade fails with static WAN.
Wan interface settings are not correctly copied
over after an OTA causing node-setup to fail
when using a static WAN ip.

fixes->AREDN🎫226

Change-Id: I494c05bc0047f1db4c1452cbdbd8e236f4fcd945
2017-04-20 12:41:09 -07: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 835d7e021c bugfix: Upgrades of packages leaves node in upgrade mode.
Due to the removal of odhcpd in
I0897be587cd1f46da758dda3efe65aea32c8a965
uploadctlservices no longer returns successfully.

Remove odhcpd to allow to return correctly.

Change-Id: I8e4bc2ff5846b793e31ce5ffedfba91806df7ed1
2017-04-11 19:26:28 -07:00
Conrad Lara - KG6JEI 2415c56c3e bugfix: sysupgrade needs more tmpfs space.
Increase space on tmpfs just before launching sysupgrade
when the device has had tmpfs limited to 6.5mb

Change-Id: I5b27e6812017c4cbe5d9cb3f53cb04d09892edf4
2017-04-04 23:31:50 -07:00
Darryl Quinn 7d8496282b bugfix: remove unnecessary packages in order to reduce memory footprint
Change-Id: I0897be587cd1f46da758dda3efe65aea32c8a965
2017-04-04 03:11:46 +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