Commit Graph

169 Commits

Author SHA1 Message Date
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
ZL2WRW 1a43b07293 Add experimental support for the GL.iNet GL-AR150 (#407)
* Add experimental support for the GL.iNet GL-AR150 - https://openwrt.org/toh/gl.inet/gl-ar150
Mesh networking and tunneling have been confirmed working.
This device has been confirmed capable of operating on channel -1, but /etc/config/wireless has to be manually edited to select this channel.

* www/cgi-bin/perlfunc.pm patched to add UI support for the GL.iNet GL-AR150

* www/cgi-bin/perlfunc.pm patched to add UI support for the GL.iNet GL-AR150 - seems like only 18 dBm TX power is possible

* Remove Experimental comments and designate as stable

* Configure Ethernet ports & VLANs for GL-AR150, and update README.md

* Fix misunderstanding re README.md

* Patch Upstream OpenWRT GL-AR150 LAN & WAN LED mapping, configure WLAN LED as mesh linked indicator.
2019-04-30 20:55:09 -05:00
Joe Ayers 9470c6b1ad aredn: add definition for Mikrotik LHG 5HPnD 2019-04-02 17:57:04 -07:00
Joe Ayers a399623140 Revert "aredn: enable ath9k auto distance capability (#367)"
This reverts commit d5be7814b3.
Auto Distance is not ready for a release and will be
reintroduced afterwards. Added logic to reset '0' distance
to 60km so tower nodes will continue to respond after
upgrade if running the experimental auto distance
2019-03-21 21:30:48 -07:00
Eric f6e5832fe2 bugfix: delay start up of snmpd until later in the boot process.
On some devices snmpd would start before it's configuration file was created.

Changed /etc/rc.d/S50snmpd to /etc/rc.d/S98snmpd
2019-03-01 19:55:48 -08:00
Joe AE6XE d5be7814b3 aredn: enable ath9k auto distance capability (#367) 2019-02-24 16:03:24 -06:00
Joe Ayers bb818a9539 build: upgrade to OpenWrt 18.06.2 and refresh patches 2019-02-06 20:31:10 -08:00
Joe Ayers 90b21d88d2 aredn: add definition for hAP ac lite current revision
/proc/cpuinfo machine string to identify the device
has changed.
From - MikroTik RouterBOARD 952Ui-5ac2nD
To   - MIkroTik RouterBOARD RB952Ui-5ac2nD
2019-01-27 12:19:11 -08:00
apcameron b9bf9ba099 ar71xx: Add Support for the TP-LINK CPE220 V2.0 Device (#306)
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
2018-12-11 17:09:11 -06:00
apcameron 230eddf8bb ar71xx: Add Support for the TP-LINK CPE510 V3.0 Device
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
2018-12-10 14:38:00 -08:00
Joe Ayers 7486a179c7 aredn: add support for Mikrotik LDF-5nD 2018-12-07 21:36:03 -08:00
apcameron 9d60516176 ar71xx: Add Support for the TP-LINK CPE220 V3.0 Device
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
2018-12-05 19:38:46 -08:00
apcameron 6982757c79 ar71xx: Add Support for the TP-LINK CPE610 V1.0 Device
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
2018-12-03 19:25:48 -08:00
Joe AE6XE 123949de9e
aredn: Standardize Ethernet Port vlans for UBNT XM devices (#297)
The secondary port on Ubnt XM devices was non-functional.
Enabled bridge type in network config to utilize both ports.
2018-12-02 17:52:48 -08:00
Joe AE6XE a62fe95b26
aredn: hAP ac lite enable 5GHz LAN Access Point (#287)
* aredn: hAP ac lite enable 5GHz LAN Access Point

enable ability to bridge LAN physical ports with wireless
LAN Access Point capability. On dual band hAP ac lite,
used in parallel with mesh RF on 2GHz.  Enables future
features on single band devices to turn off mesh RF and
repurposed for mesh LAN Access Point.

closes: #215
2018-11-27 21:37:59 -08:00
Joe Ayers 483b138b3a Revert "uhttpd: serve precompressed files"
This reverts commit f06202160b.
2018-11-23 18:41:18 -08:00
Adrian Kotelba f06202160b uhttpd: serve precompressed files
The aredn project benefits from precompressed files given
mesh nodes are typically long distant RF links and UI
is accessed remotely.  uhttpd will look for the filename
requested first, then if not found, look for filename.gz
and update content header passed back as appropriate.

https://patchwork.ozlabs.org/patch/514918/
2018-11-21 21:32:28 -08:00
Joe Ayers 382f8a7db1 aredn: enable nano-m-xw switch to be a dumb switch
Config the NanoStation M2/M5 XW devices to be fully
functional with a standard aredn port definition.
The vlans are not configured in the switch, rather
acting like a dumb swtich, enabling tagged and untagged
packets to exist on the same switch port at the same time.
This commit enables the ports on the switch to directly
send all traffic to all other ports when not configured
directly in vlan mode.
2018-11-21 16:44:25 -08:00
Joe AE6XE 355e34080f aredn: Add definitions for Mikrotik LHG-5HPnD-XL 2018-11-17 10:40:33 -08:00
Joe AE6XE 859279aaae bugfix: AREDN standard port vlan function on NS XW devices
The NanoStation M2 and M5 XW switch configuraiton had LAN
on primary port (untagged) and DtDLink and WAN (vlan 1 and 2)
on secondary port. This change enables untagged, vlan 1,
and vlan 2 on primary port to function.  This configuration
also functions on the secondary port.  However, devices on
the same network can not communicate with one another across
the two ports. Although, access works from the greater mesh
and the node to devices on both ports on the same network.
When using one port the behavior is now consitent with all
other AREDN devices. The use of both ports offers some
benefit, but with the above limitations.
2018-11-14 19:01:23 -08:00
apcameron 700f020e25 ar71xx: add TP-LINK CPE210 V3.0 and CPE510 V2.0 profiles
Adds a separate profile and binary for both devices.
fixes #221
2018-11-05 22:28:03 -08:00
Robert Marko edfb8370f4 mtd: spi-nor: Add Winbond w25q128jv support 2018-09-13 19:30:15 -07:00
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
Joe AE6XE 7d0d258af7 aredn: bump to OpenWrt 18.06.1 2018-08-29 20:28:51 -07:00
Joe AE6XE 41d00967f1 build: refresh openwrt patches
eliminate patch warnings, sync to openwrt 18.06.0 release
2018-08-24 10:24:53 -07:00
Daniel Golle 69813a57ca kernel: re-add patch for AT8032 Ethernet PHY
The patch was wrongly removed by a kernel version bump to 4.9.106 in
the believe that it was merged upstream thow it wasn't. This lead to
unrecoverable link losses on devices which use those PHYs such as
many ubnt single-port CPEs.

Fixes: 6f8eb1b50f ("kernel: bump 4.9 to 4.9.106 for 18.06")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit a497e47762)
2018-08-12 17:22:26 -07:00
dman776 32b6fbce9b
bugfix: correct port order on airrouter (#128)
fixes #130
* bugfix: correct port order on airrouter
* correct labels
2018-08-09 18:46:37 -05:00
dman776 433a943579
build: fix luasrcdiet-luci Makefile (#118) 2018-08-08 13:10:56 -05:00
dman776 15130a62f5
bugfix: upgrade iperf to iperf3 (#105)
* bugfix: upgrade iperf to iperf3

* updated port to 5201

iperf3 default port is 5201

* adjust patch paths
2018-08-04 09:38:58 -05:00
Eric 52a8b79f98 Trim Packages (#96)
Closes #81 

* Trim Packages

Kernel support for USB has been moved to modules
libpcap and tcpdump have been moved to modules
libnetsnmp and snmpd have been moved to modules
IPv6 has been removed from the kernel
IPv6 support has been removed from busybox network utils as well.
(no more funny DNS responses in nslookup!)

* Remove ping6 and traceroute6

They are no longer needed

* Changed patch name and number and updated series file
2018-08-02 15:53:20 -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
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 1bebbc3257 aredn: iperf fw rules and fw restart on pkg install
Port iperf fw rules and fw restart on pkg install to
new build structure
2018-07-01 20:20:26 -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 68c1ba7fa9 bugfix: ubnt uboot firmware check fails via tftp
newer versions of Ubiquiti uboot constrain
the firmware header version sting. Current
openwrt formated versioning results in a
uboot firmware check error
2018-05-13 23:11:51 -05:00
Joe AE6XE d33df3dab7 aredn: define vlans for aredn devices (#7)
aredn devices configured with lan, wan, and dtdlink
networks.
2018-05-03 00:07:55 -05:00
Andrew Cameron b344a73505 bugfix: update dnsmasq procd scripts
Pull forward AREDN 3.16.1.1 procd scripts in sync with
usage of OLSR
2018-04-27 18:41:03 -07:00
Andrew Cameron 01b30a4c63 aredn: port ar71xx_board_name 2018-03-31 21:26:49 -07:00
Joe AE6XE 5d09d7e005 aredn: port customized MeshNode SSID 2018-03-31 08:51:01 -07:00
Joe AE6XE 8dad202d0e aredn: update and port customized banner 2018-03-31 08:43:39 -07:00
Andrew Cameron 2626060908 busybox: port AREDN usage of telnet from 3.16.1.1 2018-03-31 08:42:36 -07:00
Andrew Cameron 31dbc2c552 bugfix: enable dnsmasq in 18.01.x 2018-03-31 08:36:14 -07:00
Andrew Cameron 714fb257c5 aredn: port part97 extended spectrum to openwrt 18.01.x
This commit requires US FCC Part 97 licensing
or equivilent in your country.  Ported from
AREDN 3.16.1.1 release
2018-03-30 15:41:44 -07:00
Joe AE6XE 91ee8671b6 build: create top level make structure 2018-03-23 00:39:07 -07:00