I have Kali Linux as a VMWare guest in Windows host. The network adapter is in NAT. It was working fine, but when Kali has crashed a reboot was made to the guest OS. Now when it was restarted the IP is not allocated and it is showing device not managed in Ethernet Network.
Solutions to a similar issue have been tried and the following configurations were made.
/etc/network/interfaces
auth lo
iface lo inet loopbackSolution 1 : Changing managed to true in /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=trueSolution 2: A new conf file for globally managed devices was created using touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf.
Solution 3: Removing the network adapter and adding it again.
Requirement: Get this back working in NAT
7 Reset to default