Login
You're viewing the y.diskcat.com public feed.
  • Nov 30, 2025, 11:01 PM

    OpenWrt's configuration system has two layers.

    There's uci, a ubus daemon + commandline tool + file format for managing all the settings. Daemons' init scripts use this to generate their configs.

    Then there's LuCI, a web UI for viewing and changing those settings.

    Every time some part of the system starts storing a new setting in UCI, someone needs to add code in LuCI to make a menu for that setting.

    Unfortunately, the two places aren't always in sync...

    1/

    💬 2🔄 1⭐ 0

Replies

  • Nov 30, 2025, 11:04 PM

    At any given point in time, there are settings that can be expressed in UCI that LuCI doesn't understand.

    Moreover, some settings LuCI knows about can have values that LuCI doesn't understand.

    The smart thing to do in such situation would be to not touch them.

    That's not what LuCI does.

    As soon as you open a pop-up for editing some type of entity and click "save" on that pop-up, all settings whose values LuCI didn't understand get reset to default.

    2/

    💬 2🔄 1⭐ 0
  • Nov 30, 2025, 11:05 PM

    And now the best part:

    Some of the default firewall settings - eg. Allow-MLD - specify values that LuCI doesn't understand.

    If you accidentally reset them to defaults - tough luck, go searching the source tree for what they were originally.

    3/3

    💬 1🔄 1⭐ 0