mirror of
https://github.com/buildwithparallel/openwrt
synced 2026-08-10 21:35:45 -04:00
mediatek: fix failsafe ethernet for NWA50AX Pro
The NWA50AX Pro only has a eth0 interface for its only ethernet port. Use this port for preinit. Fixes non-working network in failsafe mode. Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit b589434a0b38435bd1ce3a9be3af75ed188e88e0)
This commit is contained in:
parent
1c28058710
commit
c90901f088
1 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,8 @@ set_preinit_iface() {
|
|||
ip link set eth1 up
|
||||
ifname=eth1
|
||||
;;
|
||||
ubnt,unifi-6-lr)
|
||||
ubnt,unifi-6-lr|\
|
||||
zyxel,nwa50ax-pro)
|
||||
ip link set eth0 up
|
||||
ifname=eth0
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue