Commit Graph

613 Commits

Author SHA1 Message Date
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 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