Actions
Error #484
closedSwitched Ethernet devices with all ports in one VLAN are not correctly handled during autoconfiguration
Description
For example, EdgeSwitch 8 XP has eth0 with 8 switch ports on eth0.1 inside br-lan, and eth1 on its own. Instead of using eth0.1 as LAN device, it puts eth0, which is incorrect and does not work.
Updated by Roger Pueyo Centelles about 4 years ago
- Status changed from Nou to Resolt
- % Done changed from 0 to 100
- Estimated time changed from 2:00 h to 4:00 h
Fixed in b3ea015da20b31f89faa1ceff3e8f10a79c007bf.
In slow devices with switched interfaces, (e.g., eth0.1.), these take some
seconds to appear under /sys/class/net after a network restart. Therefore,
default OpenWrt interfaces, which are well-known to exist from /etc/board.json,
seem to not be there, and qmp_configure_smart_network skips them.
By waiting for the known interfaces in $default_lan and $default_wan to appear
under /sys/class/net we get proper interfaces detection:
---------------------------------------
Starting smart networking configuration
---------------------------------------
Default device network:
- LAN eth0.1
- WAN eth1
Waiting for eth0.1... (0)
Waiting for eth0.1... (1)
Waiting for eth0.1... (2)
Network devices found:
- LAN eth0.1
- MESH eth0.1 eth1
- WAN eth1
- NO VLAN eth0.1 eth1
... done!
Updated by Roger Pueyo Centelles about 4 years ago
- Status changed from Resolt to Tancat
Actions