mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-20 08:05:29 +08:00
fix r619ac wan mac and lan reverse
fixed wan mac and lan reverse
This commit is contained in:
parent
1846f1a041
commit
277b23f83c
@ -16,6 +16,7 @@ ipq40xx_setup_interfaces()
|
|||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"0t@eth0" "4:lan" "5:wan"
|
"0t@eth0" "4:lan" "5:wan"
|
||||||
;;
|
;;
|
||||||
|
p2w,r619ac|\
|
||||||
zyxel,nbg6617)
|
zyxel,nbg6617)
|
||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"0t@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan:5"
|
"0t@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" "5:wan:5"
|
||||||
@ -30,7 +31,6 @@ ipq40xx_setup_interfaces()
|
|||||||
ucidef_add_switch "switch0" \
|
ucidef_add_switch "switch0" \
|
||||||
"0t@eth0" "5:wan" "3:lan"
|
"0t@eth0" "5:wan" "3:lan"
|
||||||
;;
|
;;
|
||||||
p2w,r619ac|\
|
|
||||||
asus,rt-acrh17|\
|
asus,rt-acrh17|\
|
||||||
asus,rt-ac58u|\
|
asus,rt-ac58u|\
|
||||||
avm,fritzbox-4040|\
|
avm,fritzbox-4040|\
|
||||||
@ -64,7 +64,8 @@ ipq40xx_setup_macs()
|
|||||||
|
|
||||||
case "$board" in
|
case "$board" in
|
||||||
asus,rt-acrh17|\
|
asus,rt-acrh17|\
|
||||||
asus,rt-ac58u)
|
asus,rt-ac58u|\
|
||||||
|
p2w,r619ac)
|
||||||
CI_UBIPART=UBI_DEV
|
CI_UBIPART=UBI_DEV
|
||||||
lan_mac=$(cat /sys/class/net/eth0/address)
|
lan_mac=$(cat /sys/class/net/eth0/address)
|
||||||
wan_mac=$(macaddr_add "$lan_mac" 1)
|
wan_mac=$(macaddr_add "$lan_mac" 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user