Skip to content

[Bug]: setting up / reconfiguing interfaces #421

Open

Description

@N4CNR

What happened?

when you go to networking >basic configuration > select the interface like wlan0 > drop its not dropping the interface config. and on a reboot it comes right back up with dhcp. If you try to resetup the interface it errors out . error goes by to fast to get a copy of it... but now stuckona system where its not allowing me to change settings onthe interface

How to reproduce?

follow steps above

On which OS are you observing this problem? (for easier diagnosis please provide logs with armbianmonitor -u)

Armbian Debian 12 Bookworm

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    BugSomething isn't working as it should
    on Feb 6, 2025
  2. github-actions commented on Feb 6, 2025

    @github-actions
    Contributor

    Hey @N4CNR !

    Looks like it's your first time interacting with Armbian here on GitHub.

    Welcome and thank you for taking the time to report an issue ❤️.

    Don't forget to star ⭐ the repo.

  3. igorpecovnik commented on Feb 7, 2025

    @igorpecovnik
    Member

    Thank you!

    Armbian Debian 12 Bookworm

    Can you provide some logs and content of /etc/netplan/

  4. pepihub commented on Mar 26, 2025

    @pepihub

    Hi @igorpecovnik

    Since the op didn't went further, let me give it a try on this same thread, i'm having almost the same issue.

    When trying to drop or reconfigure the wlan0 interface, from static to dhcp, doesn't matter, these are the logs i'm getting:

    (the logs might be duplicated since i'm not sure where it starts)

    Cannot call openvswitch: ovsdb-server.service is not running.
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_file_new_for_path: assertion 'path != NULL' failed
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_file_read: assertion 'G_IS_FILE (file)' failed
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_data_input_stream_new: assertion 'G_IS_INPUT_STREAM (base_stream)' failed
    
    (process:3703): GLib-GObject-CRITICAL **: 18:05:47.796: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3703): GLib-GIO-CRITICAL **: 18:05:47.796: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3703): GLib-GObject-CRITICAL **: 18:05:47.796: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3703): GLib-GObject-CRITICAL **: 18:05:47.796: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Traceback (most recent call last):
      File "/usr/sbin/netplan", line 23, in <module>
        netplan.main()
      File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 85, in command_set
        parser.load_yaml(tmp)
      File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
        _checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
      File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
        raise LibNetplanException(err.contents.message.decode('utf-8'))
    netplan.libnetplan.LibNetplanException: (null):5:9: Error in network definition: wlan0: Duplicate access point SSID 'CNI'
    (null)
            ^
    
    (process:3705): GLib-GIO-CRITICAL **: 18:05:48.521: g_file_new_for_path: assertion 'path != NULL' failed
    
    (process:3705): GLib-GIO-CRITICAL **: 18:05:48.521: g_file_read: assertion 'G_IS_FILE (file)' failed
    
    (process:3705): GLib-GIO-CRITICAL **: 18:05:48.521: g_data_input_stream_new: assertion 'G_IS_INPUT_STREAM (base_stream)' failed
    
    (process:3705): GLib-GObject-CRITICAL **: 18:05:48.521: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3705): GLib-GIO-CRITICAL **: 18:05:48.522: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3705): GLib-GIO-CRITICAL **: 18:05:48.522: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3705): GLib-GIO-CRITICAL **: 18:05:48.522: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3705): GLib-GIO-CRITICAL **: 18:05:48.522: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3705): GLib-GObject-CRITICAL **: 18:05:48.522: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3705): GLib-GObject-CRITICAL **: 18:05:48.522: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Traceback (most recent call last):
      File "/usr/sbin/netplan", line 23, in <module>
        netplan.main()
      File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 120, in command_set
        parser_output_file.load_yaml(tmp)
      File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
        _checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
      File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
        raise LibNetplanException(err.contents.message.decode('utf-8'))
    netplan.libnetplan.LibNetplanException: (null):4:7: Error in network definition: wlan0: No access points defined
    (null)
          ^
    
    (process:3708): GLib-GIO-CRITICAL **: 18:05:49.243: g_file_new_for_path: assertion 'path != NULL' failed
    
    (process:3708): GLib-GIO-CRITICAL **: 18:05:49.243: g_file_read: assertion 'G_IS_FILE (file)' failed
    
    (process:3708): GLib-GIO-CRITICAL **: 18:05:49.243: g_data_input_stream_new: assertion 'G_IS_INPUT_STREAM (base_stream)' failed
    
    (process:3708): GLib-GObject-CRITICAL **: 18:05:49.243: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3708): GLib-GIO-CRITICAL **: 18:05:49.243: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3708): GLib-GIO-CRITICAL **: 18:05:49.243: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3708): GLib-GIO-CRITICAL **: 18:05:49.243: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3708): GLib-GIO-CRITICAL **: 18:05:49.243: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3708): GLib-GObject-CRITICAL **: 18:05:49.244: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3708): GLib-GObject-CRITICAL **: 18:05:49.244: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Traceback (most recent call last):
      File "/usr/sbin/netplan", line 23, in <module>
        netplan.main()
      File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 120, in command_set
        parser_output_file.load_yaml(tmp)
      File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
        _checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
      File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
        raise LibNetplanException(err.contents.message.decode('utf-8'))
    netplan.libnetplan.LibNetplanException: (null):4:7: Error in network definition: wlan0: No access points defined
    (null)
          ^
    
    (process:3710): GLib-GIO-CRITICAL **: 18:05:49.964: g_file_new_for_path: assertion 'path != NULL' failed
    
    (process:3710): GLib-GIO-CRITICAL **: 18:05:49.964: g_file_read: assertion 'G_IS_FILE (file)' failed
    
    (process:3710): GLib-GIO-CRITICAL **: 18:05:49.964: g_data_input_stream_new: assertion 'G_IS_INPUT_STREAM (base_stream)' failed
    
    (process:3710): GLib-GObject-CRITICAL **: 18:05:49.964: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3710): GLib-GIO-CRITICAL **: 18:05:49.964: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3710): GLib-GIO-CRITICAL **: 18:05:49.964: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3710): GLib-GIO-CRITICAL **: 18:05:49.964: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3710): GLib-GIO-CRITICAL **: 18:05:49.964: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3710): GLib-GObject-CRITICAL **: 18:05:49.964: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3710): GLib-GObject-CRITICAL **: 18:05:49.964: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Traceback (most recent call last):
      File "/usr/sbin/netplan", line 23, in <module>
        netplan.main()
      File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 120, in command_set
        parser_output_file.load_yaml(tmp)
      File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
        _checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
      File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
        raise LibNetplanException(err.contents.message.decode('utf-8'))
    netplan.libnetplan.LibNetplanException: (null):4:7: Error in network definition: wlan0: No access points defined
    (null)
          ^
    
    (process:3712): GLib-GIO-CRITICAL **: 18:05:50.687: g_file_new_for_path: assertion 'path != NULL' failed
    
    (process:3712): GLib-GIO-CRITICAL **: 18:05:50.687: g_file_read: assertion 'G_IS_FILE (file)' failed
    
    (process:3712): GLib-GIO-CRITICAL **: 18:05:50.687: g_data_input_stream_new: assertion 'G_IS_INPUT_STREAM (base_stream)' failed
    
    (process:3712): GLib-GObject-CRITICAL **: 18:05:50.687: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3712): GLib-GIO-CRITICAL **: 18:05:50.687: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3712): GLib-GIO-CRITICAL **: 18:05:50.687: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3712): GLib-GIO-CRITICAL **: 18:05:50.687: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3712): GLib-GIO-CRITICAL **: 18:05:50.687: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3712): GLib-GObject-CRITICAL **: 18:05:50.687: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3712): GLib-GObject-CRITICAL **: 18:05:50.687: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Traceback (most recent call last):
      File "/usr/sbin/netplan", line 23, in <module>
        netplan.main()
      File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 120, in command_set
        parser_output_file.load_yaml(tmp)
      File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
        _checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
      File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
        raise LibNetplanException(err.contents.message.decode('utf-8'))
    netplan.libnetplan.LibNetplanException: (null):4:7: Error in network definition: wlan0: No access points defined
    (null)
          ^
    
    (process:3714): GLib-GIO-CRITICAL **: 18:05:51.409: g_file_new_for_path: assertion 'path != NULL' failed
    
    (process:3714): GLib-GIO-CRITICAL **: 18:05:51.409: g_file_read: assertion 'G_IS_FILE (file)' failed
    
    (process:3714): GLib-GIO-CRITICAL **: 18:05:51.410: g_data_input_stream_new: assertion 'G_IS_INPUT_STREAM (base_stream)' failed
    
    (process:3714): GLib-GObject-CRITICAL **: 18:05:51.410: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3714): GLib-GIO-CRITICAL **: 18:05:51.410: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3714): GLib-GIO-CRITICAL **: 18:05:51.410: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3714): GLib-GIO-CRITICAL **: 18:05:51.410: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3714): GLib-GIO-CRITICAL **: 18:05:51.410: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3714): GLib-GObject-CRITICAL **: 18:05:51.410: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3714): GLib-GObject-CRITICAL **: 18:05:51.410: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Traceback (most recent call last):
      File "/usr/sbin/netplan", line 23, in <module>
        netplan.main()
      File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 120, in command_set
        parser_output_file.load_yaml(tmp)
      File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
        _checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
      File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
        raise LibNetplanException(err.contents.message.decode('utf-8'))
    netplan.libnetplan.LibNetplanException: (null):4:7: Error in network definition: wlan0: No access points defined
    (null)
          ^
    
    (process:3716): GLib-GIO-CRITICAL **: 18:05:52.131: g_file_new_for_path: assertion 'path != NULL' failed
    
    (process:3716): GLib-GIO-CRITICAL **: 18:05:52.131: g_file_read: assertion 'G_IS_FILE (file)' failed
    
    (process:3716): GLib-GIO-CRITICAL **: 18:05:52.131: g_data_input_stream_new: assertion 'G_IS_INPUT_STREAM (base_stream)' failed
    
    (process:3716): GLib-GObject-CRITICAL **: 18:05:52.131: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3716): GLib-GIO-CRITICAL **: 18:05:52.131: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3716): GLib-GIO-CRITICAL **: 18:05:52.131: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3716): GLib-GIO-CRITICAL **: 18:05:52.131: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3716): GLib-GIO-CRITICAL **: 18:05:52.131: g_data_input_stream_read_line: assertion 'G_IS_DATA_INPUT_STREAM (stream)' failed
    
    (process:3716): GLib-GObject-CRITICAL **: 18:05:52.131: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    
    (process:3716): GLib-GObject-CRITICAL **: 18:05:52.131: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    Traceback (most recent call last):
      File "/usr/sbin/netplan", line 23, in <module>
        netplan.main()
      File "/usr/share/netplan/netplan/cli/core.py", line 50, in main
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 50, in run
        self.run_command()
      File "/usr/share/netplan/netplan/cli/utils.py", line 241, in run_command
        self.func()
      File "/usr/share/netplan/netplan/cli/commands/set.py", line 120, in command_set
        parser_output_file.load_yaml(tmp)
      File "/usr/share/netplan/netplan/libnetplan.py", line 119, in load_yaml
        _checked_lib_call(lib.netplan_parser_load_yaml_from_fd, self._ptr, input_file.fileno())
      File "/usr/share/netplan/netplan/libnetplan.py", line 79, in _checked_lib_call
        raise LibNetplanException(err.contents.message.decode('utf-8'))
    netplan.libnetplan.LibNetplanException: (null):4:7: Error in network definition: wlan0: No access points defined
    (null)
          ^
    Cannot call openvswitch: ovsdb-server.service is not running.

    When modifying the netplan yaml file itself it works, but not via armbian-config.

  5. igorpecovnik commented on Mar 26, 2025

    @igorpecovnik
    Member

    When modifying the netplan yaml file itself it works, but not via armbian-config.

    Understand. Can you provide:

    • armbianmonitor -u
    • steps to reproduce (from clean image)

    When trying to drop or reconfigure the wlan0 interface, from static to dhcp

    Reconfigure ... let me try.

  6. pepihub commented on Mar 26, 2025

    @pepihub

    https://paste.armbian.com/cidigohufi

    steps to reproduce (from clean image)

    Armbian image built custom for orangepizero2w, extension preset-firstrun with wifi SSID and password.

    Then I just login via SSH and run armbian-config, basic network, try to change the wlan to static instead of dhcp and the log of my previous message shows, then the armbian-config utility shows back with no changes whatsoever.

  7. igorpecovnik commented on Apr 3, 2025

    @igorpecovnik
    Member

    This should be fixed now, closing.

  8. pepihub commented on Apr 5, 2025

    @pepihub

    This should be fixed now, closing.

    I've tried with the latest version and I still get the same errors as before.

  9. Strat00s commented on May 17, 2025

    @Strat00s

    I am also getting the exact same errors on Orange Pi Zero 3.

  10. BstAA commented on Aug 10, 2025

    @BstAA

    Problem is still present :-(

    See armbian-monitor output and attached console output.

    Error-1.txt

  11. MaciejMalczyk commented on Jan 12, 2026

    @MaciejMalczyk

    Can be omitted by installing network-manager, enabling NetworkManager.service and setting connection with nmtui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working as it shouldGood first issueFeel free to contribute :)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions