aredn: add GL-iNet AR750 definitions

This commit is contained in:
Joe Ayers 2019-05-26 15:27:49 -07:00 committed by Joe AE6XE
parent 239156084f
commit d8f9320021
5 changed files with 38 additions and 6 deletions

View File

@ -101,6 +101,7 @@ GL.iNet GL-AR150 | gl-ar150 | 64Mb | stable
GL.iNet GL-USB150 | gl-usb150 | 64Mb | stable
GL.iNet GL-AR300M16 | gl-ar300m | 64Mb | stable
GL.iNet GL-AR300M w/ 128Mb NAND | None | 64Mb | Not compatible
GL.iNet GL-AR750 | gl-ar750 | 128Mb | stable
Latest Mikrotik installation options are found at: https://www.arednmesh.org/content/installation-instructions-mikrotik-devices
@ -143,6 +144,12 @@ The GL.iNet GL-AR150 and GL-AR300M16 are pre-configured with the following VLANS
* Port labeled "WAN": untagged = AREDN WAN
* Port labeled "LAN": untagged = AREDN LAN, vlan 2 = DtDLink (device to device)
The GL.iNet GL-AR750 is pre-configured with the following ports, left to right:
* Left Port with internet globe icon: WAN (untagged)
* Middle Port with "<..>" icon: LAN (untagged)
* Right Port with "<..>" icon: DtDLink (vlan 2)
## Submitting Bug Reports
Please submit all issues to http://github.com/aredn/aredn_ar71xx/issues

View File

@ -23,6 +23,7 @@ CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_ubnt-lbe-m5=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_gl-ar150=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_gl-ar300m=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_gl-usb150=y
CONFIG_TARGET_DEVICE_ar71xx_generic_DEVICE_gl-ar750=y
CONFIG_HAS_SUBTARGETS=y
CONFIG_HAS_DEVICES=y
CONFIG_TARGET_BOARD="ar71xx"

View File

@ -33,6 +33,9 @@ case "$BOARD_TYPE" in
gl-usb150)
LINK1LED=$(readlink -f '/sys/class/leds/gl-usb150:green:wlan')
;;
gl-ar750)
LINK1LED=$(readlink -f '/sys/class/leds/gl-ar750:white:wlan5g')
;;
rb-912uag-5hpnd|rb-911g-5hpnd)
LINK1LED=$(readlink -f '/sys/class/leds/rb:green:led1')
;;

View File

@ -1009,6 +1009,15 @@ sub hardware_info
'usechains' => 0,
'rfband' => '2400',
},
'GL.iNet GL-AR750' => {
'name' => 'GL.iNet GL-AR750',
'comment' => '',
'supported' => '1',
'maxpower' => '23',
'pwroffset' => '0',
'usechains' => 1,
'rfband' => '2400',
},
'TP-Link CPE210 v1.0' => {
'name' => 'TP-Link CPE210 v1.0',
'comment' => '',

View File

@ -97,14 +97,14 @@ Index: openwrt/target/linux/ar71xx/base-files/etc/board.d/02_network
- ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
+ ucidef_set_interface_wan "eth0"
+ ucidef_set_interface_raw "wifi" "wlan0" "static"
+ ucidef_add_switch "switch0" \
ucidef_add_switch "switch0" \
- "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
+ "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4t:unused" "4t:dtdlink"
+ ;;
+ rb-952ui-5ac2nd)
+ ucidef_set_interface_wan "eth0"
+ ucidef_set_interface_raw "wifi" "wlan1" "static"
ucidef_add_switch "switch0" \
- "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
+ ucidef_add_switch "switch0" \
+ "0@eth1" "4:lan:1" "3:lan:2" "2:lan:3" "1t:unused" "1t:dtdlink"
;;
all0258n|\
@ -146,7 +146,19 @@ Index: openwrt/target/linux/ar71xx/base-files/etc/board.d/02_network
ucidef_add_switch "switch0" \
"0@eth0" "1:lan:1" "2:lan:4" "3:lan:3" "4:lan:2"
;;
@@ -456,10 +474,6 @@ ar71xx_setup_interfaces()
@@ -447,19 +465,16 @@ ar71xx_setup_interfaces()
;;
gl-ar750|\
rb-435g)
- ucidef_set_interfaces_lan_wan "eth1.1" "eth0"
+ ucidef_set_interface_wan "eth0"
+ ucidef_set_interface_raw "wifi" "wlan1" "static"
ucidef_add_switch "switch0" \
- "0@eth1" "1:lan" "2:lan"
+ "0@eth1" "1:lan" "2t:unused" "2t:dtdlink"
;;
jwap230)
ucidef_set_interfaces_lan_wan "eth0.1" "eth1.2"
ucidef_add_switch "switch0" \
"0@eth0" "1:lan" "5:wan" "6@eth1"
;;
@ -157,7 +169,7 @@ Index: openwrt/target/linux/ar71xx/base-files/etc/board.d/02_network
onion-omega)
ucidef_set_interface_lan "wlan0"
;;
@@ -469,9 +483,10 @@ ar71xx_setup_interfaces()
@@ -469,9 +484,10 @@ ar71xx_setup_interfaces()
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "5@eth1"
;;
routerstation-pro)
@ -170,7 +182,7 @@ Index: openwrt/target/linux/ar71xx/base-files/etc/board.d/02_network
;;
rb-493g)
ucidef_set_interfaces_lan_wan "eth0.1 eth1.1" "eth1.2"
@@ -572,8 +587,16 @@ ar71xx_setup_interfaces()
@@ -572,8 +588,16 @@ ar71xx_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "1:lan:1" "2:lan:2" "3:lan:3" "4:lan:4" "5:wan"
;;