On the first start of Kali Linux on my Raspberry PI, I plugged in a LAN cable and expected that ethernet will work fine, but, instead, I saw the "Device not managed" message for my eth0. It turns out that from Debian 6.0 (named "squeeze"), the Network Manager does not manage by default any of interfaces defined in /etc/network/interfaces. In this quick tutorial, we'll show how to fix "Device not managed" issue in Kali Linux.
Open /etc/NetworkManager/NetworkManager.conf file with a preferred text editor. I will use nano:
In this file, you will see the following:
[main] plugins=ifupdown,keyfile [ifupdown] managed=false
What we need to do is to change the "managed" parameter to true. Resulting configuration should be as follows:
[main] plugins=ifupdown,keyfile [ifupdown] managed=true
After you did this, save the file and restart the network-manager service:
service network-manager restart
After you restart the network manager, your wired network will be available.