Fix Wired Network interface in Kali linux

Kali Linux which is based on Debian Network Manager does not manage any interface defined in

/etc/network/interfaces

Unmanaged devices means Network Manager doesn’t handle those network devices.

So this is what you see in GUI

How to fix Wired Network interface is Unmanaged error in Debian or Kali Linux - 1  - blackMORE Ops

An roor@alexandria# ifconfig -a show you this:

This occurs when two conditions are met:

The file roor@alexandria# /etc/network/interfaces contains anything about the interface, even:

allow-hotplug eth0
iface eth0 inet dhcp

And roor@alexandria# /etc/NetworkManager/NetworkManager.conf contains:

[main]

plugins=ifupdown,keyfile

[ifupdown]
managed=false

 How to fix Wired Network interface is Unmanaged error in Debian or Kali Linux - 4  - blackMORE Ops

Enabling Interface Management

If you want Network Manager to handle interfaces that are enabled in

roor@alexandria# /etc/network/interfaces

Set managed=true in /etc/NetworkManager/NetworkManager.conf. So this file looks like:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

 How to fix Wired Network interface is Unmanaged error in Debian or Kali Linux - 15 - blackMORE Ops

 Restart Network Manager

Issue the following command to restart network-manager.

roor@alexandria# service network-manager restart

Now Network Manager should come up with a connected interface. For wired, eth0 with DHCP will show you something like the following image:

 How to fix Wired Network interface is Unmanaged error in Debian or Kali Linux - 8 - blackMORE Ops

Just to wrap it up, lets do another roor@alexandria# ifconifg -a from command line

 All Done!

Published by aleXandria

I finished Information security and Ethical Hacking(ISEH) and Motion Graphics Design.

2 thoughts on “Fix Wired Network interface in Kali linux

Leave a comment