impossible to apply changes, add wlan0 interface

  • I'm trying to save changes by adding the wlan0 interface to disconnect my raspberry from the router, any ideas?:)


    Code
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl start 'networking' 2>&1' with exit code '1': Job for networking.service failed because the control process exited with error code. See "systemctl status networking.service" and "journalctl -xe" for details.
  • You will get more information by running systemctl status networking.

    root@raspberrypi:~# systemctl status networking

    ● networking.service - Raise network interfaces

    Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)

    Active: failed (Result: exit-code) since Mon 2020-09-07 14:01:12 CEST; 38min ago

    Docs: man:interfaces(5)

    Process: 26004 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)

    Process: 25999 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)

    Main PID: 26004 (code=exited, status=1/FAILURE)


    Sep 07 14:01:12 raspberrypi wpa_supplicant[26035]: Delete '/run/wpa_supplicant/wlan0' manually if it is not used anymore

    Sep 07 14:01:12 raspberrypi wpa_supplicant[26035]: Failed to initialize control interface '/run/wpa_supplicant'.

    You may have another wpa_supplicant process already running or the file was

    left by an unclean termination of wpa_supplicant in which case you will need

    to manually remove this file before starting wpa_supplicant again.

    Sep 07 14:01:12 raspberrypi wpa_supplicant[26035]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0

    Sep 07 14:01:12 raspberrypi ifup[26004]: /etc/network/if-pre-up.d/wpasupplicant: 120: /etc/network/if-pre-up.d/wpasupplicant: cannot create /dev/stderr: No such device or address

    Sep 07 14:01:12 raspberrypi ifup[26004]: run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1

    Sep 07 14:01:12 raspberrypi ifup[26004]: ifup: failed to bring up wlan0

    Sep 07 14:01:12 raspberrypi systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE

    Sep 07 14:01:12 raspberrypi systemd[1]: Failed to start Raise network interfaces.

    Sep 07 14:01:12 raspberrypi systemd[1]: networking.service: Unit entered failed state.

    Sep 07 14:01:12 raspberrypi systemd[1]: networking.service: Failed with result 'exit-code'.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!