Commit Graph

187 Commits

Author SHA1 Message Date
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 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
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
dman776 560070d2d1
bugfix: node description not saving properly (#101) 2018-08-02 15:58:01 -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
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
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
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
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
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 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 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 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
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 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
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
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 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 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
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
Conrad Lara - KG6JEI 061ede3488 Merge branch 'ChaosCalmer' into develop
Change-Id: I26a8677595a25aae267b7365f1e5835ea68f49b4
2016-06-19 19:26:12 -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 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
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
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
AE6XE de2ba6ec59 feature: Add definition for NS Loco M5 0xe0a5 2016-01-10 18:49:58 -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 cb1bd15823 resized distance field, changed is_online technique 2016-01-06 14:36:40 -06:00
Darryl Quinn 4f2d68bc08 feature: added lat/lon/gridsquare fields and map to capture them 2016-01-06 10:23:18 -06: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
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
Conrad Lara - KG6JEI 096f798ceb hardware: Update supported hardware list labels. 2015-12-10 10:53:37 -08: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
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 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 8eabf6ad00 bugfix: snr setting was setting SignalLevel instead of NoiseLevel
ref AREDN->ticket:129
2015-07-02 22:43:01 -07:00
Conrad Lara - KG6JEI c4c808f98c Merge branch 'FixupRefDMZLed' into release-3.15.1.0
Remove references to DMZ led and replace with "Status 4" led
2015-07-01 23:25:56 -07:00
Conrad Lara - KG6JEI a46bbf27d8 bugfix: sometimes iw doesn't show noise floor
Pull from kernel debug instead for now untill we can work around it in iw.

fixes AREDN->ticket:129
2015-07-01 10:05:58 -07:00
Conrad Lara - KG6JEI 13db1b02a2 bugfix: Remove ref to DMZ Led on first node reboot 2015-06-30 08:36:45 -07:00
Conrad Lara - KG6JEI 39729157c6 bugfix: Signal levels do not show up on "new extended" RF Channels
Switch to iw over iwinfo because it handles the new channels better.

Partially reverts changeset:808a8d5019fce4a7ca2c027ea7838d43c6d8cad0/aredn_ar71xx

fixes AREDN->ticket:129
2015-06-30 00:05:45 -07:00
Conrad Lara - KG6JEI f915225459 bugfix: Add in-testing support for older NanoStation M5 XW boards
board.info provided by VE3KMV
{{{
board.sysid=0xe005
board.cpurevision=0x000000c2
board.name=NanoStation M5
board.shortname=N5N
board.subtype=
board.netmodes=7
board.hwaddr=00272232336C
board.reboot=30
board.upgrade=150
board.phycount=2
board.phy.1.maxmtu=1524
board.phy.2.maxmtu=1524
radio.1.name=
radio.1.shortname=
radio.1.bus=pci
radio.1.subsystemid=0xe005
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=16
}}}
2015-06-21 19:24:43 -07:00
Conrad Lara - KG6JEI 21edf5fa02 bugfix:Let kernel handle antenna selection: Remove antenna name mapping data. 2015-06-18 20:18:03 -07:00
Conrad Lara - KG6JEI ea9dfc5d1a bugfix: Let kernel handle antennas:Remove sub functions wifi_validant and wifi_defaultant 2015-06-18 20:15:47 -07:00
Conrad Lara - KG6JEI 1b68255c7f hardware: NanoStation M3: Set NanoStation M3 to "in testing"
25dbm max power, with 3dbm offchip amplifier.

ref AREDN->ticket:53
2015-05-21 10:51:58 -07:00
Conrad Lara - KG6JEI 42ee986cd3 bugfix: Untill user visit status page theme is not set.
Move default theme selection to html_header() to solve theme not being set.
2015-05-14 11:36:51 -07:00
Conrad Lara - KG6JEI d59709d840 bugfix: Theme reverts to no-theme when status page reset button is pressed.
A symlink loop occurs because the default theme selector links back to itself.

Removing the value= on the select title entry prevents this.
2015-05-14 10:56:41 -07:00
Darryl Quinn c26b5fd992 Merge branch 'tunnel_mainline' into develop 2015-05-07 19:25:14 -05:00
Conrad Lara - KG6JEI bd3de68231 ar71xx: hardware: NanoBeam-M5-19 Add testing support
Add NanoBeam M5 19 in testing support
2015-05-05 16:29:53 -07:00
Conrad Lara - KG6JEI 2af1e3e0c3 ar71xx: Copy get_model to get_boardid and modify to return a boardid
When model exiss that has a boardid in EEPROM it will return from there, otherwise it returns the model as chosen by ar71xx
2015-05-05 16:18:24 -07:00
Darryl Quinn 7327c2de51 Merge branch 'develop' into tunnel_mainline 2015-04-23 23:00:00 -05:00
Conrad Lara - KG6JEI 9840db43de hardware: Add CPE210 in testing support 2015-04-22 11:31:23 -07:00
Conrad Lara - KG6JEI 14ddd34906 Merge branch 'RocketM3' into develop
RocketM3 will remain in untested status until we get spectrum report.

ref AREDN->ticket:53
2015-04-22 00:06:43 -07:00
Darryl Quinn 344992b096 Merge commit '714a3d6f5404bcd650019bd59e92d2cc2bb54164' into develop 2015-04-17 18:50:53 -05:00
Darryl Quinn ff057d3488 bugfix: change navbar spacing to accomodate tunnels 2015-04-08 19:59:39 -05:00
Darryl Quinn c40a42562f feature: implement vtundsrv startup script. make 13-vtun vtund aware 2015-04-08 00:15:36 -05:00
Conrad Lara - KG6JEI 82611bb57e bugfix: NanoStation M5 XW device config was malformed
ref AREDN->ticket:43
2015-04-07 22:11:56 -07:00
Darryl Quinn 54210a2d7e Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into tunnel_mainline 2015-04-07 23:09:29 -05:00
Conrad Lara - KG6JEI 853430dbdf hardware: Add testing support for NanoStation M5 XW
ref: AREDN->ticket:43
2015-04-07 20:37:58 -07:00
Darryl Quinn e6d08f5606 merged from develop 2015-04-07 10:36:42 -05:00
Darryl Quinn 928e7e720a Merge branch 'develop' of ssh://git.aredn.org/aredn_ar71xx into dyn_css 2015-04-06 23:20:12 -05:00
Conrad Lara - KG6JEI f6f3aaef9e Merge branch 'TPLinkCPE' into develop 2015-04-06 21:14:39 -07:00
Darryl Quinn 09af80b17e check for .css file extension being passed 2015-04-06 14:47:09 -05:00
Darryl Quinn b8dcc50fb9 changed help text 2015-04-06 09:43:05 -05:00
Conrad Lara - KG6JEI 63bb07b617 hardware: CPE510: Add initial hardware support for TPLink CPE510 in testing
Testing mode for CPE510

Offset needs to be looked into, OS reports a max power of 23dbm need to see if this is kernel, or offset related.

Should provide enough details for the board to be registered in the UI
2015-04-05 22:16:24 -07:00
Conrad Lara - KG6JEI 7c152d7c1e hardware: Expand board_id routine to allow TPLink devices to be obtained
When a device does not have a subsystem device ID we will fall back to the board_detect routine.

In the case of a TPLink CPE510 the model will be along the lines of "TP-Link CPE510 v1.0"

In the case of TPLink CPE510 this also includes a hardware version so should the hardware be changed in the future we will be able to key off that as well.
2015-04-05 22:07:47 -07:00
Darryl Quinn df0bc42208 feature: converted css to use symlinks and multiple files 2015-04-05 21:19:32 -05:00
Darryl Quinn 6672996cd3 added ability to have multiple css files 2015-04-04 23:49:31 -05:00
Darryl Quinn b074fd6985 consolidated functions to reduce duplication (save space) 2015-04-01 17:26:52 -05:00
Darryl Quinn 2461d4acd8 add vpn and vpnc pages to UI menu 2015-04-01 17:09:18 -05:00
Conrad Lara - KG6JEI 5414cb2f86 bugfix: Correct bandmapping to 3400 for Rocket M3 2015-03-31 23:50:05 -07:00
Conrad Lara - KG6JEI 6c91ec0ab4 Add channels that are within normal 5.8GHz unit range for Rocket M3 usage.
M3 is a 5.8GHz unit with a 2GHz offset transverter.

5MHz width is recomended on these channels.

Send to spectrum analysis for verification that output looks clean.

Stepping stone to working on the wider width of the full 3.4GHz band which has more channels but unlike channels 95-100 (added in this commit) the rest are outside the normal 5.8GHz cal range (but are between two cal points so may be fine)
2015-03-31 23:42:22 -07:00
Conrad Lara - KG6JEI 16576d7bde bugfix: dtdlink is by default on eth0.2 not eth0.1 2015-03-26 16:47:33 -07:00
Conrad Lara - KG6JEI 0d11af70b9 bugfix: Unknown interfaces wouldn't return default interface. 2015-03-26 01:31:50 -07:00
Conrad Lara - KG6JEI 9444716fbd feature: Add function and code to UI code to prepare for changing interface names in the core OS.
Create get_interface which will lookup in the current uci network config the realname for the logical interface name.

When the interface is not found it will fall back to a hard coded list.

Configure the UI to use the new get_interface function.
2015-03-24 23:25:18 -07:00
Conrad Lara - KG6JEI e146193b65 Rerand from BBHN to AREDN(TM)
Since a large number of the  BBHNDev team has decided to create firmware fully independent of the BBHN Project the decision has been made to rebrand the firmware to differentiate from the origional BBHN work.

We would like to thank all those whom have worked on the BBHN firmware over the years and all those who continue to work on the firmware under AREDN(TM).
2015-03-09 16:39:04 -07:00