I'm using VBox. I have got a Bridged Adapter. I need to get my network working. What I can already do is to set everything up manually, I mean:
ifconfig eth0 192.168.1.33 netmask 255.255.255.0 route add default gw 192.168.1.1
This way I have an internet connection. My question is: How to obtain IP address/netmask/gw from DHCP on Kali Linux? I can't figure out how it works... I tried to edit my
/etc/network/interfaces to have auto eth0 with DHCP and restarting service. This didn't work. I don't even get IPv4 address, only IPv6 one and I don't have network connection then.
dhclient eth0 doesn't work for me aswell. What am I doing wrong?