I am running Kali Linux 2.0 in virtual machine in windows 8.1.The problem here is my terminal is not connecting to the internet, but my kali linux browser is working perfectly.I could not use tools like sqlmap. I also cannot update my packages.I have faced the same problem while using Linux Mint 17.1.One important point is that I live in my college hostel, so I use a LAN to access the internet which is configured with a proxy.
Internet not reachable from the terminal in kali linux 2.0
kali linux;proxy