Skip to content

luci-mod-network: option dynamic_vlan and vlan_tagged_interface get reset #7922

@xize

Description

@xize

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

screenshots or captures

No response

Actual behaviour

When I decide to use multi psk via option wpa_psk_file for roaming to work effectively with 802.11r, I have to set option dynamic_vlan=2 manually in /etc/config/wireless.

Unexpected behaviour:
However, when I edit the wifi interface in Luci through the wireless settings and do not edit anything and just click save, I see that it is marked for removal.

There are also some other specific options having habits to conflict such as vlan_tagged_interface, the ppsk checkbox is disabled (no section in configuration file), but enabling will not respect the current wpa_psk_file I believe.

in some situations dynamic_vlan='2' is absolutely required to remain function properly with 802.11r and should be a valid configuration, however unexpectedly Luci deletes the options because ppsk is unchecked.

Expected behaviour

Some or maybe all of the options under this ppsk checkbox should not be validated as part of the checkbox section.

or...

mainstream the current functionality with the differences in ppsk/wifi-station and wifi-vlans/wpa-psk-file, alot seem a bit ambigious to me and should be incorporated in this section 👍

Steps to reproduce

see above.

Additional Information

root@X-SDK-Central:~# ubus call system board
{
        "kernel": "6.12.40",
        "hostname": "X-SDK-Central",
        "system": "ARMv8 Processor rev 4",
        "model": "GL.iNet GL-MT6000",
        "board_name": "glinet,gl-mt6000",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "firmware_url": "https://downloads.openwrt.org/",
                "revision": "r31077+3-b0c0eabc5e",
                "target": "mediatek/filogic",
                "description": "OpenWrt SNAPSHOT r31077+3-b0c0eabc5e",
                "builddate": "1756146851"
        }
}

What browsers do you see the problem on?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions