aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc/board.d/02_network
diff options
context:
space:
mode:
authorRoger Pueyo Centelles <roger.pueyo@guifi.net>2020-10-23 16:05:28 +0200
committerPaul Spooren <mail@aparcar.org>2021-04-29 10:55:07 +0200
commitd1f1e5269ed992e6fc30d575b43b0913c9e58ca2 (patch)
tree4836c37b12b7dc4d4575446d5e240ace98f0469f /target/linux/ipq40xx/base-files/etc/board.d/02_network
parent43dad22025597cb535626757301e035187d02b25 (diff)
downloadupstream-d1f1e5269ed992e6fc30d575b43b0913c9e58ca2.tar.gz
upstream-d1f1e5269ed992e6fc30d575b43b0913c9e58ca2.tar.bz2
upstream-d1f1e5269ed992e6fc30d575b43b0913c9e58ca2.zip
ipq40xx: add support for MikroTik SXTsq 5 ac
This commit adds support for the MikroTik SXTsq 5 ac (RBSXTsqG-5acD), an outdoor 802.11ac wireless CPE with one 10/100/1000 Mbps Ethernet port. Specifications: - SoC: Qualcomm Atheros IPQ4018 - RAM: 256 MB - Storage: 16 MB NOR - Wireless: IPQ4018 (SoC) 802.11a/n/ac 2x2:2, 16 dBi antennae - Ethernet: IPQ4018 (SoC) 1x 10/100/1000 port, 10-28 Vdc PoE in - 1x Ethernet LED (green) - 7x user-controllable LEDs · 1x power (blue) · 1x user (green) · 5x rssi (green) Note: Serial UART is probably available on the board, but it has not been tested. Flashing: Boot via TFTP the initramfs image. Then, upload a sysupgrade image via SSH and flash it normally. More info at the "Common procedures for MikroTik products" page https://openwrt.org/toh/mikrotik/common. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc/board.d/02_network')
-rw-r--r--target/linux/ipq40xx/base-files/etc/board.d/02_network5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
index 3f0209d82d..6a94fe3ff4 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -28,6 +28,7 @@ ipq40xx_setup_interfaces()
engenius,eap1300|\
engenius,emd1|\
meraki,mr33|\
+ mikrotik,sxtsq-5-ac|\
netgear,ex6100v2|\
netgear,ex6150v2|\
zyxel,wre6606)
@@ -175,6 +176,10 @@ ipq40xx_setup_macs()
lan_mac=$(macaddr_add $wan_mac 1)
label_mac="$wan_mac"
;;
+ mikrotik,sxtsq-5-ac)
+ lan_mac=$(cat /sys/firmware/mikrotik/hard_config/mac_base)
+ label_mac="$lan_mac"
+ ;;
esac
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" $lan_mac