mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-09 04:15:47 +00:00
ath79: add WAN definition for GL.iNET GL-E750 (Mudi)
Add the default WAN interface to use QMI, to have WAN configured right from the start. Signed-off-by: Jan Fuchs <jf@simonwunderlich.de>
This commit is contained in:
parent
b1d37262c9
commit
f61fc8ed79
@ -8,7 +8,6 @@ ath79_setup_interfaces()
|
||||
|
||||
case "$board" in
|
||||
aerohive,hiveap-121|\
|
||||
glinet,gl-e750|\
|
||||
meraki,mr18)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
@ -26,6 +25,11 @@ ath79_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "2:lan:2" "3:lan:1" "1:wan"
|
||||
;;
|
||||
glinet,gl-e750|\
|
||||
zte,mf282)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
ucidef_set_interface "wan" device "/dev/cdc-wdm0" protocol "qmi"
|
||||
;;
|
||||
glinet,gl-xe300)
|
||||
ucidef_set_interface_wan "eth1"
|
||||
ucidef_add_switch "switch0" \
|
||||
@ -69,10 +73,6 @@ ath79_setup_interfaces()
|
||||
ucidef_add_switch "switch0" \
|
||||
"0@eth0" "5:lan"
|
||||
;;
|
||||
zte,mf282)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
ucidef_set_interface "wan" device "/dev/cdc-wdm0" protocol "qmi"
|
||||
;;
|
||||
zte,mf286|\
|
||||
zte,mf286a|\
|
||||
zte,mf286r)
|
||||
|
Loading…
x
Reference in New Issue
Block a user