Commit Graph

658 Commits

Author SHA1 Message Date
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 3457b040d8 add initial AREDN lua libraries
Change-Id: Id99b64bf603fdff48c6f527a1493311e9ed3f19e
2016-09-07 02:26:55 +00: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
Conrad Lara - KG6JEI 8abe628915 Cleanup /usr/local/bin scripts to pass shellcheck
Correct all shellcheck "errors" and "warnings" for
/usr/local/bin/* shell scripts.

This is necesary to have Jenkins start publishing test results.

All code worked on nodes but pushed to strict posix compliance
as part of the cleanup.

SC1001,SC2002,SC2004,SC2006,SC2034,SC2039,SC2086,SC2155
https://github.com/koalaman/shellcheck/wiki for more info

Change-Id: If1f27381eedae79087e490ea12f5939f8cc525a0
2016-06-18 04:52:08 +00: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
KG6JEI ae6688dc33 Merge "security feature: Enhance HTTPD password security" into develop 2016-06-16 05:39:10 +00:00
Conrad Lara - KG6JEI 1ee5cc698b cleanup: Cleanup shellcheck reported concerns in vtun_up
Change-Id: I88c775243a33731a182fd81d411bca664538e536
2016-06-15 08:08:28 -07:00
Conrad Lara - KG6JEI 70e93c09d7 bugfix: Refer to in interface by iif not iff
This may be why we have seen nodes in the past with stray routing table entries.

Change-Id: Ib47cc76eb9f2cd9328252a8a8a6d1bda0a6af35b
2016-06-15 08:07:20 -07:00
Darryl Quinn d45bbb9dea fixes AREDN->ticket:172
Change-Id: I0db2dbc14283c2458a55b4e75ca25ce95d867b5b
2016-06-14 14:18:52 -05:00
Conrad Lara - KG6JEI 8f91ad1e0e security feature: Enhance HTTPD password security
Move httpd.conf to not store password and instead depend on the shadow password file.

Also tag the 40_aredn_migrate-httpdconf script to be +x. Not strictly necessary but wish to have this standard

Change-Id: I018d9a3294e45af2316b3c3947ef2a7d8081268b
2016-06-10 19:37:57 -07: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
Darryl Quinn 6912f69dc8 fixes AREDN->ticket:165 2016-05-15 17:35:43 -05:00
AE6XE 38a2835471 bugfix: sysupgrade full reboot message not displaying 2016-05-10 19:22:33 -07:00
Darryl Quinn 9800612d86 allow sysupgrade time to settle in order for http to finish delivering the "rebooting" page 2016-04-29 22:29:57 -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
Conrad Lara - KG6JEI 86d17e0998 bugfix: RFC Compliance for DHCP and Classless static routes
RFC requires that the DHCP server include the default gateway (0.0.0.0/0) route as part the Classless network list.

Moved to node-setup so it can be set dynamically at setup run time.

fixes AREDN->ticket:155
2016-03-31 22:54:29 -07: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 fad8a43974 cleanup: Resolve "used once" warning. 2016-03-06 23:38:00 -08: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 35b8278b34 bugfix: traffic generated from the tun client would not forward thru the server 2016-02-23 13:20:19 -06: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 7df4747aff bugfix: Traffic from Lan to DTDLINK not masqueraded when in NAT mode.
Due to a firewall chain name changes in BB when a node was in NAT mode (instead of recommended direct mode) connections that went out over DTDLink as the first hop would not be masqed and as such would not work.
2016-01-23 20:40:01 -08: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
Conrad Lara - KG6JEI b38309bab5 Merge branch 'FixupTunnelFirewall' into release-3.16.1.0
Various fixes around tunnel firewall rules
2016-01-21 20:40:43 -08:00
Conrad Lara - KG6JEI 29ba1c0419 bugfix: Tunnel Firewall: Accept SNMP and default to block on input chain instead of accept 2016-01-21 20:39:59 -08:00
Conrad Lara - KG6JEI a7ae3afe4e Merge branch 'AirRouterLEDS' into release-3.16.1.0
Add support for the Globe LED to be the mesh status on AirRouter

ref AREDN->ticket:144
2016-01-21 20:21:48 -08:00
Trevor Paskett - K7FPV 923039fcc0 Merge branch 'release-3.16.1.0' of ssh://git.aredn.org/aredn_ar71xx into release-3.16.1.0 2016-01-20 10:10:34 -07:00
Trevor Paskett - K7FPV 35e05b7dac change uhttpd script_timeout from 60 to 240 to fix uploading firmware on slow links 2016-01-20 10:09:52 -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
Conrad Lara - KG6JEI 5fa47d6f93 bugfix: ar71xx: airrouter: Use "Globe" LED to indicate mesh connection 2016-01-17 20:09:11 -08:00
Conrad Lara - KG6JEI 0f837d601a bugfix: Tunnel firewall rules throw a chain does not exist on firewall restart.
This chain may not exist by design of the check.

Redirect the iptables error to /dev/null so it doesn't clog logs
2016-01-16 21:20:22 -08:00
Conrad Lara - KG6JEI 5663741cb1 bugfix: On firewall reload some tunnel rules were not being inserted into the default chains which are flushed on both reload and restart of firewall by OpenWRT fw scripts. 2016-01-16 21:20:22 -08:00
AE6XE 2be20cbde2 bugfix: Tunnel firewall rule chain names are incorrect.
Based on previously reverted commit 646702aab9
2016-01-16 21:20:16 -08:00
AE6XE 06eb7fa688 bugfix: Remove erroneous reference in license header of 01-tunnels script.
Script is a new file created after the split from BBHN and did not use code from a file BBHN worked on.
2016-01-16 19:58:38 -08:00
Conrad Lara - KG6JEI 921967d5f9 Revert "bugfix: resolve bad chain ref and port from hotplug to a firewall include"
This reverts commit 646702aab9.

Needs to be broken up into separate commits and doesn't cleanly fix issue with tunnel firewall
2016-01-16 19:55:20 -08:00
AE6XE 6d619b6757 Merge: bugfix: snrlog fix for out-of-range noise floor values returned by iw 2016-01-16 17:23:28 -08:00
AE6XE f02d4abd33 bugfix: snrlog fix for out-of-range noise floor values returned by iw 2016-01-16 17:21:55 -08:00
AE6XE 646702aab9 bugfix: resolve bad chain ref and port from hotplug to a firewall include 2016-01-16 13:26:14 -08:00
Darryl Quinn b870bbce6c CanvasJS upgraded to 1.8 GA 2016-01-15 17:19:06 -06:00
Conrad Lara - KG6JEI 243ded9f23 Bump banner to 3.16.1.0 in prep for release 2016-01-13 09:45:36 -08: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 31032615a7 merge: bugfix: rssi_monitor increase tolerance on test one notch 2016-01-09 21:02:55 -08:00
AE6XE 97d48c2b84 bugfix: rssi_monitor increase tolerance on test one notch 2016-01-09 21:00:09 -08:00
AE6XE c21b4f7b35 bugfix: removed Strongest Selection from Archive chart 2016-01-09 20:55:53 -08:00
Conrad Lara - KG6JEI bb10ca7faf Merge branch 'FirewallIncludes' into develop 2016-01-09 19:48:18 -08:00
Conrad Lara - KG6JEI 813c4cefcf feature: Decrease WIFI Beacon rate in Mesh mode to around 2 times a second.
This changes the beacon rate from once every 100tu's to once every 500tu's

1tu=1024 microseconds

This will decrease the amount of RF time being used by beacon packets.

This is especially important on 900MHz and 2.4GHz using 5MHz wide channels where 10 nodes beaconing 10x a second at ~256kbit/s can use up around 45% of the RF channel in beacons alone.
Other bands and channels and widths are not expected to see as significant an advantage due to the faster data rates.
2016-01-09 17:39:44 -08:00
Conrad Lara - KG6JEI e8b2ffd7ea feature: FirewallIncludes: Migrate tunnel firewal rules to new include format.
These rules setup chains that may be needed by other firewall rules as such we need to set them up early to be sure includes work.
2016-01-09 16:24:54 -08:00
Conrad Lara - KG6JEI 477a20d55a feature: FirewallIncludes: Add program that will auto include firewall rules that are in a set directory.
This is the basis for allowing packages to contain firewall rules that can be just dropped in a folder at install time.
2016-01-09 16:24:45 -08:00
Conrad Lara - KG6JEI 5c87a894c9 license: Add license header to vtun_up file 2016-01-09 15:10:58 -08:00
Trevor Paskett - K7FPV 6f3cb97ea2 fix new lines 2016-01-08 21:09:38 -07: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 c6d02d964a change timezone to time_zone 2016-01-08 11:50:45 -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
Trevor Paskett - K7FPV 4372605f8f merge: jsoninfo into develop 2016-01-05 11:02:37 -07:00
Trevor Paskett - K7FPV 3359c44ca7 feature: add jsoninfo to olsr and open firewall ports 9090 2016-01-05 11:00:22 -07: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
AE6XE 38209b0af2 bugfix: snrlog better handle neighbor references from mac to ip to hostname 2015-12-30 17:57:49 -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
AE6XE fb224eebc0 Merge: bugfix: resolved rssi shift condition that needed a noise floor calibration 2015-12-14 21:47:24 -08:00
AE6XE d33726e893 bugfix: resolved rssi shift condition that needed a noise floor calibration 2015-12-14 21:44:08 -08:00
AE6XE ad856844bf feature: enhance snrlog to handle neigbors dropping in and out and leaving mesh 2015-12-14 20:55:07 -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
AE6XE f6c134fe7c feature: AREDN banner 2015-12-11 15:38:45 -08: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
AE6XE 6903476f02 feature: snrlog updates to handle host name change and lack of hostname or ip info 2015-12-11 10:25:38 -08:00
Darryl Quinn 4aff5d7a59 fixed typos in device names 2015-12-11 11:15:48 -06:00
Darryl Quinn 62ba6daf75 bugfix: display correct month 2015-12-11 01:04:34 -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 43565d714e updated snrlog for multi devices 2015-12-10 11:17:03 -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 833dedd8fa changed the filename that snrlog cron job creates 2015-12-09 17:20:16 -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
AE6XE 8c3c436cb7 bugfix: rssi_monitor fails if node goes deaf in first 12 min after startup, trigger on abnormal increases. 2015-12-08 22:06:55 -08: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 46b49369d4 bugfix: firstboot now requires user interaction or -y flag to approve an overwrite. 2015-11-23 20:08:07 -08:00
Conrad Lara - KG6JEI a489928fc6 bugfix: sortable wscan was removed during previous merge.
During a previous merge the sortable code for wscan was accidentally removed.
2015-11-23 19:58:37 -08:00
Conrad Lara - KG6JEI c5a1f21d77 bugfix: dnsmasq not updating hostnames ( dnsmasq pid file has moved ) 2015-11-23 19:17:38 -08:00
Darryl Quinn 51f4bcc550 bugfix: ssh keys not saving across sysupgrade 2015-11-16 14:44:52 -06:00
Conrad Lara - KG6JEI dabd9a4fbc bugfix: 802.11n devices did not use 802.11n datarates
This adds support for 802.11n data rates on the mesh.

This should improve dataspeeds across the board

MIMO devices like Rocket and NanoStation should be able to use dual chains which allows diverse data transmission on each chain increasing throughput

MCS data rates in theory should cut through noise better than legacy modulation and have higher speeds on each step which should allow overall higher datarate between nodes.
2015-11-15 19:50:54 -08: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
Conrad Lara - KG6JEI 854a536629 bugfix: Settings set to 0(off/disabled) are not copied over during OTA.
Some settings would not copy correctly and would fall back to the config default due to faulty if checks logic when the value was set to 0 ending up in if(0) checks.
2015-11-15 10:59:17 -08:00
AE6XE 5b945229fa bugfix: add rssi_monitor data and logfiles to download support data 2015-11-03 20:32:36 -08:00
AE6XE 79bf05f7d9 bugfix: rssi_monitor log file size trim calculation error 2015-11-02 22:15:22 -08:00
AE6XE 8cd8e07885 bugfix: deaf chain workaround 2015-11-01 18:33:05 -08:00
Darryl Quinn a5492c0807 bugfix: tunnel client not showing errors. allow - in pwd 2015-10-19 22:48:09 -05:00
Conrad Lara - KG6JEI a200f49a37 bugfix: Better handle AP detection.
All devices that respond to an iw scan will be AP's or ADHOCS.

All adhoc devices need to have the adhoc designator so if we don't see this we know its an AP.
2015-09-04 22:19:53 -07:00
Conrad Lara - KG6JEI c7bde9712a bugfix: station listing includes nodes that have not been seen for some time
Also resolves the "0" signal strength as nodes that have not been seen in long time show up as a 0 for signal.

This is a regression of the issues seen on the iw scan but in this case applies to station dump which we have not used before.
2015-09-04 22:11:00 -07:00
Conrad Lara - KG6JEI ba3f3b9b16 bugfix: initialize lastseen variable before first use. 2015-09-04 21:38:44 -07:00
Conrad Lara - KG6JEI 0f8b82e074 bugfix: regression: Networks not seen in long time show up in scan
commit d0bbeae66b introduced a regression previously fixed in commit 9aec7e019b

Resolves regression
2015-09-04 20:48:17 -07:00
AE6XE d0bbeae66b bugfix: wscan - show 3ghz freq instead of channels, fix blank mode fields 2015-08-28 19:44:54 -07: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
Darryl Quinn b9ce490a3c changed maxlines to capture 2days worth of data 2015-08-10 18:25:55 -05:00
Darryl Quinn 3cd84b3dfc bugfix: wrong syntax for iw 2015-08-05 13:40:45 -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
Darryl Quinn 9b2e95238c fixed realtime charts 2015-07-28 16:16:01 -05:00
Conrad Lara - KG6JEI af97ce3f49 bugfix: "Disable default route" not kept during OTA upgrade. 2015-07-28 08:49:48 -07:00
Darryl Quinn 3ae86c67ec feature: signal charts 2015-07-26 23:09:34 -05:00
Conrad Lara - KG6JEI ae2bc531b2 hardware: board add: Rocket M5 with USB Port
board.info
{{{
board.sysid=0xe105
board.cpurevision=0x000000c2
board.name=Rocket M5
board.shortname=R5N
board.subtype=
board.netmodes=7
board.hwaddr=00156DDC9D53
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=0xe105
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
}}}
2015-07-23 21:24:21 -07:00
Conrad Lara - KG6JEI 2511f585f0 bugfix: Should not keep /etc/config/* on sysupgrade
We don't really need any files in there,  and keeping the folder can interfere with the programs that populate /etc/aredn_include on firstboot from uci-default.

This will cause the node to boot up in default mode (with an AP on its interface on the default channels) during its first boot, and than very quickly reboot and come up under the mesh.
2015-07-23 11:35:54 -07:00
Conrad Lara - KG6JEI 2755094c9f Merge branch 'FixupTPLinkPower' into release-3.15.1.0
Deals with the fact that TPLink has max powers that differ based on frequency and are programed into the chip lower than what the manufacture states in its datasheet.

We want to make sure we don't fry any boards so we honor what the chip programming is set to.
2015-07-22 23:20:23 -07:00
Conrad Lara - KG6JEI 5f66df447f add help text and icon for power setting info 2015-07-22 23:16:24 -07:00
Conrad Lara - KG6JEI f209886f76 add qmark image
Part of Freesns Cumulus package
https://www.iconfinder.com/icons/183285/help_mark_question_icon#size=16

Free for commerical use

Created by Yannick Lung, 2013
Web: www.yanlu.de
Twitter: @FreecnsUI or @YanluDE
Facebook: www.facebook.com/FreecnsUI
Mail: freecns@yanlu.de
Google+: Freecns
App.net: Freecns

Version 2.0 known as Freecns Cumulus
LICENSE

You are free to use Freecns for commercial and personal purposes without attribution, however a credit for the work would be appreciated. You may not sell or redistribute the icons themselves as icons. Do not claim creative credit.
2015-07-22 23:00:58 -07:00
Darryl Quinn 912afe3713 added channel bandwidth 2015-07-21 12:19:41 -05:00
Conrad Lara - KG6JEI 108e05088b bugfix: Add max power level tracking control for per channel power on devices
Mainly relates to TP-Link devices which have a roving power level programmed into the hardware.

The datasheets for the hardware may say higher power but the chip has been programmed to not go above these values.
2015-07-20 23:30:49 -07:00
Conrad Lara - KG6JEI 9b30e157bc bugfix: Set max power for device to TPLink programed "max power"
This is the absolute maximum that can be used by the device from TPLink eprom programming.

The value actually goes down on some frequencies.
2015-07-20 21:38:01 -07:00
Conrad Lara - KG6JEI 9aec7e019b bugfix: regression: Networks that have not been seen in long time still show up in wifi scan.
Regression of changeset:e34b7fcee49c3e2b7eb35aa4fb44b6abdc78b3ad/aredn_ar71xx

Having moved to iw for iwinfo we have a regression previous commit.

Restore fix that if not seen after 10 seconds signal drops from display.
2015-07-19 23:34:06 -07:00
Conrad Lara - KG6JEI 661dc23e18 bugfix: wscan does not show channels sometimes.
We should of used the freq: field, not sure why I did not use it to begin with.

Corrected and added a small function to convert from frequency to channel.
2015-07-19 23:22:45 -07:00
AE6XE 2613a8507c bugfix: wscan bogus hostname lookup when multiple entries in arp table 2015-07-19 18:53:50 -07:00
Darryl Quinn cb09c22275 feature: changed version element name, added grid square 2015-07-16 19:21:41 -07:00
Darryl Quinn 2a63226ad3 feature: added board_id to output 2015-07-16 19:21:41 -07:00
Darryl Quinn 0cd0db2d0d feature: add sysinfo.json for programmatic lightweight management interface 2015-07-16 19:21:41 -07:00
AE6XE 683b07c4a3 Merge branch 'wscan' into release-3.15.1.0 2015-07-15 21:12:20 -07:00
AE6XE 0efbd5b2f5 bugfix: wifi scan documentation update for changes made 2015-07-15 21:10:51 -07:00
AE6XE c68a4d23bb Merge branch 'release-3.15.1.0' of git.aredn.org:aredn_ar71xx into release-3.15.1.0 2015-07-15 19:37:09 -07:00
AE6XE 9294e790eb bugfix: AREDN->ticket:132 show AREDN networks on other channels fixed 2015-07-15 19:27:06 -07:00
Darryl Quinn 3c86ff9ec8 feature: changed version element name, added grid square 2015-07-13 20:32:17 -05:00
Darryl Quinn e8333f76ea feature: added board_id to output 2015-07-13 11:18:53 -05:00
Darryl Quinn 3c0f3ad144 bugfix: tunnel install not posting to same page 2015-07-12 23:26:09 -05:00
Darryl Quinn 8e1da4766a feature: add sysinfo.json for programmatic lightweight management interface 2015-07-10 21:51:18 -05:00
Conrad Lara - KG6JEI cc74123ad3 bugfix: vtund was missing from arednsysupgrad.conf 2015-07-10 18:56:30 -07:00
Conrad Lara - KG6JEI 311b9d5ffe bugfix: Nodes are showing up as encrypted when they are not.
The code makes the assumption that the connection has not been modified to be encrypted (Standard is not under AREDN V3 protocol) but this may need to be changed in the future.
2015-07-10 18:50:28 -07:00
Conrad Lara - KG6JEI 3576a2c00b Merge branch 'RemoveIWINFOCalls' into release-3.15.1.0
Move from iwinfo to iw where possible

Discovered while discussing another issue about ssid's

ref AREDN->ticket:132
2015-07-09 21:05:14 -07:00
Conrad Lara - KG6JEI 0fdeb4e7eb bugfix: extend support tool to capture more info from iw as we now use it more than iwinfo 2015-07-09 21:03:06 -07:00