bugfix: added missing network defintions for gl-ar150

This commit is contained in:
Joe Ayers 2020-02-22 19:54:58 -08:00 committed by Joe AE6XE
parent 105a2ba662
commit abd48d674d
1 changed files with 7 additions and 2 deletions

View File

@ -44,7 +44,7 @@ Index: openwrt/target/linux/ath79/base-files/etc/board.d/02_network
;;
devolo,dvl1200e|\
devolo,dvl1750e|\
@@ -252,10 +259,6 @@ ath79_setup_interfaces()
@@ -252,18 +259,21 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth1" "2:lan:3" "3:lan:2" "4:lan:1"
;;
@ -55,9 +55,14 @@ Index: openwrt/target/linux/ath79/base-files/etc/board.d/02_network
zbtlink,zbt-wd323|\
xiaomi,mi-router-4q)
ucidef_set_interface_wan "eth1"
@@ -263,7 +266,9 @@ ath79_setup_interfaces()
ucidef_add_switch "switch0" \
"0@eth0" "3:lan:1" "4:lan:2"
;;
+ glinet,gl-ar150)
+ ucidef_set_interface "wifi" ifname "wlan0" protocol "static"
+ ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ucidef_set_interface "dtdlink" ifname "eth0.2" protocol "static"
+ ;;
*)
- ucidef_set_interfaces_lan_wan "eth0" "eth1"
+ ucidef_set_interface "wifi" ifname "wlan0" protocol "static"