New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
luci-mod-network: LAN interface setting #4948
Comments
Please provide your complete |
Thanks @castiel652 - that was helpful. |
When setting bridge and device specific options such 'stp' or 'igmp_snooping', LuCI so far transparently created or reused a `config device` section and set the corresponding option there. In the case of bridges, this triggers multiple problems: - When implicitely creating a `config device` section referring to the bridge device, the legacy bridge configuration of the corresponding interface is disabled, causing a broken configuration on subsequent save operations - Netifd does not appear to properly merge bridge settings from config device and config interface sections, leading to an incoherent configuration state In order to avoid that issue, do not automatically migrate bridge specific options. Fixes: openwrt#4948 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit a9a223b)
I have the same issue. After upgrading luci-mod-network to git-21.140.43486-398982f, it says:
After the change my bridged interfaces are no accessible. I can restore fuctionality if I add |
When setting bridge and device specific options such 'stp' or 'igmp_snooping', LuCI so far transparently created or reused a `config device` section and set the corresponding option there. In the case of bridges, this triggers multiple problems: - When implicitely creating a `config device` section referring to the bridge device, the legacy bridge configuration of the corresponding interface is disabled, causing a broken configuration on subsequent save operations - Netifd does not appear to properly merge bridge settings from config device and config interface sections, leading to an incoherent configuration state In order to avoid that issue, do not automatically migrate bridge specific options. Fixes: #4948 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit a9a223b)
With latest commit 9ff45c9
After at least changing the settings of LAN interface once, LuCI always does this
uci del network.lan.type
to/etc/config/network
if you click save on the LAN interface setting page.The text was updated successfully, but these errors were encountered: