Struggling to Connect to WiFi Network on Kali Linux 2.0 VirtualBox
I apologize if this question has been solved somewhere else, but I have looked around on Google, Yahoo, and Null Byte and have not been able to find any working solutions.
I've been trying to set up my first ever virtualbox guest (Kali Linux 2.0), but I'm having trouble with my network connection immediately after installing this guest machine on my Windows 7 host.
Ping and ifconfig in Terminal: http://imgur.com/FMlrLun
Sometimes, upon logging in as a root user, I can "ping google.com" in the Terminal, getting a steady stream of data from the internet. Okay, great! That means I'm connected right? But other times (even 10 seconds later) I try to ping yahoo.com without any different settings and all of a sudden "ping:unknown host yahoo.com".
The issue wouldn't be as bad if it only happened some of the time, but even when ping does work in the terminal, once I decide to try updating my system and enter "apt-get update" I only get error messages stating that I was "Unable to connect to security.kali.org:http:"
"Unable to Connect": http://imgur.com/nqH8888
This is where I'm really having a hard time, because my connection says that I am attached by a wired cable to the Network (I think my computer is using my WiFi but I attached my ethernet cable just in case).
How can I connect to the internet so I can update stuff?
(Editted to attach pictures)