I have a strange scenario over here: If I run nmcli dev wifi list it shows me a list of all networks which is fine. As soon as I add the device (wlan0 in my case) to the /etc/network/interfaces file and reboot it shows no networks.

So before reboot the /etc/network/interfaces contains:

#iface wlan0 inet manual
#  wpa-driver wext
#  wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
# wpa_supplicant.conf contains no networks at the moment

source-directory /etc/network/interfaces.d
# this directory is empty, so currently it is a redundant statement

I remove the first three #, reboot the device and nmcli shows no networks. How do I address this issue? I need the wpa_supplicant.conf empty because it will be filled by a script. Said script displays a list of networks (via nmcli) and generates a wpa_supplicant.conf (via wpa_passphrase)

I'm aware there is a similar question over there, but the only answer to start the wpa_supplicant.service won't fix my issue, as the service is already running (according to # systemctl status wpa_supplicant.service). Restarting it does not change anything either.

1 Answer 1


This is normal. The NetworkManager don't manages devices in /etc/network/interfaces by default. You can change it in /etc/NetworkManager/NetworkManager.conf key [ifupdown] managed=true

  • Just tried it, it was exactly the solution to my problem. Thanks :)
    – DBX12
    Jan 3, 2017 at 9:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.