Commit Graph

93 Commits

Author SHA1 Message Date
Tim Wilkinson 7d7e37352a
Disabling SSL in curl has unexpected side effects, so revert this. (#578) 2022-12-23 04:40:07 -06:00
Tim Wilkinson 7b495f5deb
Add MikroTik_RouterBOARD_912UAG-5HPnD (#575) 2022-12-22 23:34:43 -06:00
Tim Wilkinson 6950479bf1
Update AREDN to OpenWRT 22.3.2 (Major Upgrade) (#574)
* Update to Openwrt 21.02 and add support for the CPE710 v1
Update scripts to change references to ifname to device due to a change in Openwrt naming
reverse-wpad-basic-wolfssl and disable SSL on Curl

NOTE: The compile host must have python3-distutils installed for gpsd to build

* aredn: initial working upgrade to openwrt 21.02.1

* aredn: update 1 to working upgrade to openwrt 21.02.1

* aredn: add cpe710v1 to build config

* Andrew's patches

* Remove duplicates + display perl

* Temp disable wifi extension patch

* ifname/ports support

* Add spectrum patch back in

* Generic function to extra interfaces

* New api to get wifi ifname

* Disables jails

* Style link

* aredn: partial upgrade to openwrt 22.0.3.0

added AC device images and partial migration to 22.0.3.0
firewall upgrade pending

* aredn:  update mesh-release and revert config.mk

* Unused

* NFT firewall rewrite

* Common-isze configs

* Fix network layout for hap2

* Use local packages dev (new firewall rules)

* Add HAP2

* Add pause after network restart to let bridge reinitialize

* Various lua fixes for new lua version

* Tweak config

* Re-fix networking (lost patch change)

* Add new radio names

* Tolerate missing wifi

* Fix hap-lite switch setup

* More devices

* New radio id

* Build Rocket 5AC lite

* Remove need for luci.sys

* Remove need for luci.sys

* Explicitly name wlan interfaces

* Handle different compatibility verisoning

* Update networking for switches

* ipref version bump

* Extra flag for curl

* Better compat_version fix

* Remove wolfssl

* Fix dns server

* Fix device name

* Unused

* Remove things we dont need

* Remove unused packages

* Generic macaddr overrides

* Fix uci commit

* Fix luci.template.parser to avoid luci.http loading the real thing

* Rocket-M build

* Add search-domain dhcp option

* Turn of ipv6

* No IPV6 in dnsmasq

* Override mac addresses if devices all  the same

* Working from master (for now)

* Put back hostap

* Disable old ethmac fixup

* Tweak configs

* Move back to v22.03.2
Leave ipq4019 builds to master

* Need IPV6 to compile nft firewall

* Rocket-M fixes

* Before we start

* WIP

* Working snapshot

* Cleaned patches

* Merged patch

* Single patch to support HAP2

* Fix typo

* Add nanostation-m

* 5/10Mhz patch

* 5+10MHz patch for ath10k-ct driver

* Extend 2Ghz channel check to include -4 to -1

* Add chanbw setup for ath10k (like ath9k)

* Added TP-Link CPE710 v1

* Override firmwares

* Missing patch

* Dropbear config like 3.22.8.0

* Add Ubiquiti Rocket 5AC Lite

* Fix c6

* Update

* Need more scan channels

* Remove IPV6

* Improve mac fixups

* Put back missing nft app

* IPv6 removed so dont have to disable it

* Fix rocket-m flash bug

* Fix nanostation-m

* Nanobridge is tiny

* Fix wifi order for ar750

* Rocket M5 XW support

* New rates

* Fix firewall4 so we don't need IPv6

* Allow channel width to be restricted

* Move channel list into library

* Fix naming

* Mechanism to block specific channels on specific radios

* Refresh buttons

* routerboard-sxt-5nd

* CPE605 v1.0

* Improve rocket m xw

* tpink

* Update patch

* Update to remove disable

* Remove BW restrictions on cpe710

* Restrict to what has been tested

* Remove test BW restrictions

* sxtsq-5-ac

* Update

* Update

* powerbeam-m5-300 support

* Fix

* Fix hap2

* Tidy unused patches

* Remove limit

* Add ubnt_bullet-m-ar7241

* Added ubnt_nanobeam-ac-gen2

* Fix typo

* Tolerate missing dtd ip

* Explicitly gix hap2 mac addresses

* Fix some broken patches

* Hap2 wont work at 5MHz

* Ubiquiti LiteBeam 5AC Gen2

* Fix compat_version for sxt 5ac

* Update patch

* Unused

* Fix lan configuration for some devices

* Rolling average of noise level

* Unused

* Split out the ath10k rssi monitor (its very simple at the moment)

* Ignore .DS_Store

* Reboot if ethernet doesnt come up (but only once!)

* reboot returns - add exit

* Add some logging info

* Fix ]

* Check all possibly ethernet bridges

* Improve mac fixing

* Remove HostAP on small memory devices

* Reduce dropbear footprint

* Add setsid

* Kill hostap when upgrading to save memory

* Different way to detect hostapd unavailable

* New build steps

* Improve manager logging

* Fix name conflict for the two monitors

* Try to improve test mesh name resolve problem

* Migrate tiny to generic (tiny doesnt work properly)

* Typo

* Another attempt to fix macs for Mikrotik

* Protect against missing trackers

* Fix wpad for ipq40xx

* Remove old tunnel check code

* Enable ZRAM swap to aid low memory devices

* ath10k noise can something be out of range - protect against that

* Updated with current devices and status

* Update firmware which has been tested

* Updated with more builds

* More binary/README

* Fix css error

* Start noise at sensible base level

* Unfix the css so it looks how it use to.

* Save as much memory as we can on lowmem nodes

* Hide some options on low memory devices

* Add "eol" to 32MB devices

* Restart network rather than reboot node if it seems to be broken

* Fixes

* Revert network reset

* Fix ar750 networking

* Continue to trim tiny configs

* More devices

* Dump IW output messages

* Fix Rocket 5AC intermittent ethernet issue

* Ethernet fix for PowerBeam 5AC 500

* More tiny size reduction

* More support data

* Fixed POE and USB power features

* Add Ubiquiti NanoBeam AC (gen1)

* NanoStation (not NanoBeam)

* Add mii-tool package

* Device updates

* Bump update time to 5 minutes

* Fix ethernet negotiation for rocker-5ac and nanobeam

* Fix iplookup

* Config changes based on call feedback

* Radio listing fixes

* Update with more untested builds

* Fallback TxMbps extracted from iw station dump

* Fix tunnel detection for low memory nodes

* Remove unused feed packages

* snapshot build

* Update stability info

* Add powerbeam-5ac-500

* Typo

* Add missing 3.22.1.0

* Add MikroTik LHG 5 AC

* Fix permissions

* Fix permissions

* AirGrid's take Bullet builds

* Mikrotik AC3

* Improve supportdata structure a little to make it easier to find things

* Restore WAN VLAN overrides

* Fix vlan regex for hap2 and hap3

* Support old and new style poe controls

* hap-ac3 is version 1.1

* Handle typo in some openwrt config files

* Fix HAP AC3 install

* Update hap ac3 status

* Support user overrides for network ports (non-swconfig devices)

* LHG 5AC support

* Remove -nand

* Remove non-working platform.sh change

* tunnel weight override

* Omit LinkQualityMult when value is 1

* Add mANTBox 19s and 15s

* Support ath79 mikrotik devices which require ath10k in the initramfs

Co-authored-by: apcameron <apcameron@softhome.net>
Co-authored-by: Joe AE6XE <ae6xe@arrl.net>
Co-authored-by: Joe Ayers <joe@arrl.net>
2022-12-22 14:22:49 -06:00
Tim Wilkinson 3d25a5c629 Keep 100mb as the only speed, but let the port autonegotiate with the switch 2022-06-15 17:25:32 -07:00
Joe AE6XE 5de12192f9
aredn: fix extended spectrum index error (#390) 2022-06-10 17:44:32 -05:00
Joe AE6XE 903f92801c
aredn: update to openwrt v19.07.10 and patch refresh (#342) 04/24/2022 2022-04-24 17:14:10 -05:00
Tim Wilkinson ad78e077f0
Improve the firmware upgrade process (#294)
* Improve the firmware upgrade process

The old firmware upgrade process attempted to free up RAM by reusing
the 'upgrade_kill_prep' script which is later used by '/sbin/sysupgrade'.
Unfortuantely this doesn't work as intented. While the script will go about
killing various services, 'procd' just goes and starts them up again using
quite a bit more memory in the process. Instead this script just kills
the various daemons 'no questions asked' and then runs the associated
'/etc/init.d/xxx stop' script to instruct 'procd' not the start them up again.
This gets us to the place the original script was trying to go.

+ A syntax fix in '007' patch (need spaces around the [ .. ])

* Inline the style for the firmware page to avoid sleep before flash

* Minor reliability improvements

* Clear away services even earlier
2022-03-16 21:45:26 -05:00
Tim Wilkinson 6707867dfd Fix typo in iperf fw restart patch.
The iperf3 package installs a firewall rule, but the script to restart
the firewall on install had a typo meaning it wasn't called (so the
new firewall setup required a reboot)
2022-03-15 06:58:43 -07:00
Joe AE6XE 3e78e64bfc
aredn: add missing ar71xx led definitions (#241) 2022-02-28 21:42:43 -06:00
Joe AE6XE ce4f694563
aredn: extend 2G band adding ch -3 and ch -4 (#210) 2022-01-21 21:52:26 -06:00
dman776 020ae4def6
Update banner (#80)
* update login banner

* correct patch file
2021-03-16 15:24:15 -05:00
dman776 20b6d09e28
update login banner (#79) 2021-03-15 13:43:23 -05:00
Joe AE6XE 011eab0895
aredn: add new Mikrotik model string for SXTsq5nD (#62) 2021-01-22 23:10:14 -06:00
apcameron 60e140c090
openwrt: bump version to v19.07.4 (#588) 2020-12-10 18:36:47 -06:00
apcameron ff0a08dc3c ath79: Enable the LNA for ALL for the TP-Link CPExxx Devices based on the AR9344
This should improve the Power Levels for the 1 Port Devices.
2020-12-06 18:25:36 -08:00
Joe Ayers bf944dface AREDN: add new Mikrotik RBLHG-2nD model string
fixes #582
2020-10-18 16:11:36 -07:00
Joe Ayers 29a56b8850 aredn: add new mikrotik model string for LHG based devices
new model string: MikroTik RouterBOARD RBLHG-5HPnD
2020-10-07 22:42:15 -07:00
apcameron fa2f1b7b1b ath79: Add Support for the TP-Link CPE510 v3.20 2020-09-29 20:43:58 -05:00
Joe Ayers da3191478a aredn: some LHG based devices stuck in bootloop
add missing board id to sysupgrade pre upgrade steps
for mikrotik NOR based devices
2020-08-19 23:04:51 -05:00
Joe Ayers 5c723917e6 aredn: add new Mikrotik model string SXTsq5HPnD
Mikrotik change of string used to identify device
2020-08-18 18:30:07 -05:00
Joe Ayers 6e579d4d6e aredn: extend 5GHz channel options from 133 down to 131
In the US, part 97 ham radio lower band edge is 5650.
Channel 131 @ 10MHz channel width is the lowest channel
setting that stays within allocation.

fixes #550
2020-08-18 16:08:04 -05:00
apcameron d06bbaac2a ath79: CPE220V3 Fix
Remove Duplicate entry and fix remaining entry in the firmware file
2020-06-08 20:54:24 -05:00
Joe Ayers 16e33b5306 aredn: add new Mikrotik model strings for RBLHG-5nD and RBLHG-2nD-XL 2020-05-27 19:33:56 -05:00
apcameron 7c50771bad openwrt: bump to 19.07.03
Remove 002-ar71xx-mikrotik-improved-support.patch
	Update 702-enable-country-hx.patch
2020-05-25 21:21:33 -05:00
Joe Ayers a2f7da4a3f ar71xx: add early support for Mikrotik r2 hardware
Apply openwrt PR 3006
https://github.com/openwrt/openwrt/pull/3006
author: Thibaut VARÈNE <hacks@slashdirt.org>

early patch to AREDN will be removed and inherited from openwrt in
future 19.07 point or later release.  This patch enables use
of newer BaseBox, AntBox, and possibly other updated devices with ath9k
calibration data encoded with a different technique.
2020-05-10 20:43:38 -07:00
apcameron 80619b73a9
ath79: Migrate the TP-LINK WBS Devices to the ath79 Branch (#525) 2020-05-01 09:30:39 -05:00
apcameron 62adfa9eb8
ath79: Migrate CPE210 v1/v1.1, CPE510v1/v1.1 to the ATH79 Branch (#523)
Installation:

Flash factory image through stock firmware WEB UI
or through TFTP:
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP address:192.168.0.254
2020-04-28 22:29:37 -05:00
apcameron 31c6669c2f ath79: add support for TP-Link CPE220 v2
Specifications:

    * SoC: Qualcomm Atheros AR9344 (560 MHz)
    * RAM: 64MB
    * Storage: 8 MB
    * Wireless: 2.4GHz N based built into SoC 2x2
    * Ethernet: 2x 100/10 Mbps, integrated into SoC, 24V POE IN

Installation:

Flash factory image through stock firmware WEB UI
or through TFTP:
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP address:192.168.0.254
2020-04-20 19:20:57 -07:00
apcameron 831df9af23 ath79: Add Support for the TP-Link CPE610-v2
TP-Link CPE610-v2 is an outdoor wireless CPE for 5 GHz with
one Ethernet port based on Atheros AR9344
Specifications:
Based on the same underlying hardware as the TP-Link CPE510
Power, LAN0, WLAN green LEDs
23dBi high-gain directional 2×2 MIMO antenna and a dedicated metal reflector
Flashing instructions:
Flash factory image through stock firmware WEB UI
or through TFTP
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP adress:192.168.0.254
Signed-off-by: Andrew Cameron apcameron@softhome.net
2020-04-15 05:53:06 -07:00
apcameron b452af4c05 bugfix: migrate the TP-LINK CPE610 v1 device to the ath79 branch 2020-04-10 17:54:51 -07:00
apcameron 3b4ac70028 bugfix: Migrate the TP-LINK CPE510 v2/v3 to the ath79 branch 2020-04-09 06:13:28 -07:00
Joe AE6XE a3610db810
aredn: apply aredn port config settings to NS XW ath79 (#498) 2020-03-31 21:14:13 -05:00
apcameron 90a2b39ac5 bugfix: Correct CPE510 v3 Image 2020-03-31 19:08:30 -07:00
Joe Ayers 7243fe082a bugfix: ubnt: pbe 400/400-iso/620 port hang
fixes #165
2020-03-23 11:08:49 -07:00
Joe Ayers 9d5f8a3a78 aredn: upgrade to pre-openwrt-19.07.2 2020-02-26 00:04:23 -06:00
Joe Ayers b6d0745443 aredn: add definition for cpe210 v3.1 and v3.2 2020-02-23 21:31:33 -06:00
Joe Ayers abd48d674d bugfix: added missing network defintions for gl-ar150 2020-02-22 22:00:22 -06:00
apcameron c0bac78a36
bugfix: fix the Authentication for vtun to be compatible with the previous tunnels (#478) 2020-02-11 08:18:08 -06:00
apcameron 5244948706
fix: fix status led for the wbs510-v2 (#476) 2020-01-30 21:03:04 -06:00
Joe Ayers ae593838bb aredn: upgrade to Openwrt 19.07.0 release
Co-authored-by: Andrew KK4ZUZ <apcameron@softhome.net>

This commit begins the process to migrate from ar71xx to
ath79 target images.
2020-01-29 07:39:05 -08:00
apcameron 5eedf421da ar71xx: add Support for the TP-LINK WBS510 V2
This adds support for a popular low-cost 5GHz N based AP

Specifications:
- SoC: Atheros AR9344
- RAM: 64MB
- Storage: 8 MB SPI NOR
- Wireless: 5GHz 300 Mbps, 2x RP-SMA connector, 27 dBm TX power
- Ethernet: 1x 10/100 Mbps with 24V POE IN, 1x 10/100 Mbps

Installation:
Flash factory image through stock firmware WEB UI
or through TFTP
To get to TFTP recovery just hold reset button while powering on for
around 4-5 seconds and release.
Rename factory image to recovery.bin
Stock TFTP server IP:192.168.0.100
Stock device TFTP adress:192.168.0.254

Signed-off-by: Andrew Cameron <apcameron@softhome.net>
2019-11-23 09:17:05 -08:00
Joe Ayers 1272c5785e aredn: add definition for Mikrotik RBSXTsq2nD
Mikrotik has multiple model strings for this device
2019-11-02 21:53:49 -07:00
Joe Ayers 340cd76be6 aredn: add definition for Mikrotik SXTsq 2nD
tested by K9CQB <damon.schaefer@me.com>
2019-10-11 16:14:44 -07:00
Joe Ayers 7f4bf75d78 aredn: Add definitions for RBSXTsq5nD 2019-09-22 22:11:18 -05:00
Joe Ayers ad0caaf56a aredn: add support for Mikrotik RBSXTsq5HPnD 2019-08-30 21:55:50 -07:00
Joe Ayers 8177bab22b aredn: add definitions for LDF-2nD, LHG-2nD, LHG-2nD-XL
The LDF-2nD internally has the LHG-2nD motherboard.
closes #332
2019-06-25 21:51:07 -05:00
Joe Ayers e316dbc598 bugfix: Fix instance of sysupgrade failing
It was discovered that sysupgrade would exit with an
error when some processes could not be killed.  The
wifi interface is brought down to avoid this condition
prior to doing the sysupgrade
2019-06-19 09:47:58 -07:00
Joe Ayers d8f9320021 aredn: add GL-iNet AR750 definitions 2019-05-26 16:24:39 -07:00
Joe Ayers 8aeb64f323 aredn: new LDF5 model number
Mikrotik change from "MikroTik RouterBOARD LDF-5nD"
to "MikroTik RouterBOARD RBLDF-5nD"
2019-05-04 09:55:32 -07:00
Joe Ayers f134465edb aredn: add auto distance setting option
contributing author lua code: dman776 <dman776@gmail.com>
2019-05-03 19:17:14 -07:00