You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device: Xiaomi Mi Router 3G (mt7621)
Version: OpenWrt 21.02.0-rc3 r16172-2aba3e9784
I created a custom image using the Image Builder for 21.02.0-rc3 recently. With an older build of 21.02.0-rc3 everything was working fine, however with my newest image (that I assume downloaded newer packages) the lan2@eth0 is down by default. lan1@eth0 is ok though.
# ip addr
...
4: lan2@eth0: mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff
5: lan1@eth0: mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff
...
As a workaround, I added the following line on System->Startup->Local Startup:
ip link set lan2 master br-lan up
exit 0
And after a reboot, everything works as it should:
# ip addr
...
4: lan2@eth0: mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff
5: lan1@eth0: mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff
...
The text was updated successfully, but these errors were encountered:
thiagokokada:
Device: Xiaomi Mi Router 3G (mt7621)
Version: OpenWrt 21.02.0-rc3 r16172-2aba3e9784
I created a custom image using the Image Builder for 21.02.0-rc3 recently. With an older build of 21.02.0-rc3 everything was working fine, however with my newest image (that I assume downloaded newer packages) the lan2@eth0 is down by default. lan1@eth0 is ok though.
# ip addr ... 4: lan2@eth0: mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff 5: lan1@eth0: mtu 1500 qdisc noqueue master br-lan state UP qlen 1000 link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff ...
As a workaround, I added the following line on System->Startup->Local Startup:
ip link set lan2 master br-lan up exit 0
And after a reboot, everything works as it should:
# ip addr ... 4: lan2@eth0: mtu 1500 qdisc noqueue master br-lan state UP qlen 1000 link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff 5: lan1@eth0: mtu 1500 qdisc noqueue master br-lan state UP qlen 1000 link/ether 78:11:dc:49:d8:b8 brd ff:ff:ff:ff:ff:ff ...
The text was updated successfully, but these errors were encountered: