Lab TroubleShoot

These are the solutions for the problems that I faced along the way in setting up things and testing them


  • VirtualBox

  • Gennymotion (Personal Use)

Internet Not Working

  • When linux in the virtual box is configured with NAT adapter, the internet works and the android in genymotion is also pingable

  • But the Android device is in Host Only Adapter with the subnet of

  • When the Host Only Adapter is included in the kali machine, the internet siezes to work

  • In short: NAT + Host Only Adapter in linux only communicates with the mobile and not with the internet

sudo vi /etc/NetworkManager/NetworkManager.conf
# Change => managed=false --> managed=true

sudo vi /etc/network/interfaces
# Add at last
# auto eth0
# iface eth0 inet dhcp

# restart the services
service networking restart

# Checking
ip a | grep inet | grep 24
# 2 IP addresses will be shown                          

Last updated