Can't Connect Wi-Fi With Kali Linux
Can't Connect Wi-Fi With Kali Linux
First off I'm new to VirtualBox! I've had it for about 3 weeks. I have Kali Linux, Ubuntu 15.04, and Tails 1.4 loaded as Guests and the host is a Windows 8.1 machine. I'm trying to get Kali working with a wi-fi connection. This is how I have things setup. However when trying to go online in Kali this is what I get. "Unable to mount location. Failed to retrieve share list from server". Please tell me how to properly set things up so I can get online!
- Attachments
-
- Kali Network.png (23.99 KiB) Viewed 4568 times
Re: Can't Connect Wi-Fi With Kali Linux
I know I'm not online because when I try to ping Google I get a reply of "Network Unreachable"!
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Can't Connect Wi-Fi With Kali Linux
There are limitations when bridging to a Wifi adapter - it might or might not work, depending on the hardware itself and also on your AP hardware.
I have the feeling, given your error messages, that the guest adapter is not configured properly and/or you encounter the above issue.
Provide the output of the following commands in the guest:
I have the feeling, given your error messages, that the guest adapter is not configured properly and/or you encounter the above issue.
Provide the output of the following commands in the guest:
Code: Select all
ifconfig -a
route -n
nslookup 8.8.8.8
ping 8.8.8.8
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Can't Connect Wi-Fi With Kali Linux
ipconfig -a
bash: ipconfig: command not found
route -n
Kernel IP Routing Table
Destination Gateway Genmask Flags Metrics Ref Use Iface
0.0.0.0 10.0.3.2 0.0.0.0 UG 0 0 0 eth1
10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
nslookup 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
8.8.8.8.in-address.arpa name = google-public-dns-a.google.com.
Authoritative answers can be found from:
ping 8.8.8.8
PING 8.8.8.8(8.8.8.
56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_request=1 ttl=53 time=60.8 ms
64 bytes from 8.8.8.8: icmp_request=1 ttl=53 time=180 ms
64 bytes from 8.8.8.8: icmp_request=1 ttl=53 time=61.0 ms
and so on and so on
bash: ipconfig: command not found
route -n
Kernel IP Routing Table
Destination Gateway Genmask Flags Metrics Ref Use Iface
0.0.0.0 10.0.3.2 0.0.0.0 UG 0 0 0 eth1
10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.0.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
nslookup 8.8.8.8
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
8.8.8.8.in-address.arpa name = google-public-dns-a.google.com.
Authoritative answers can be found from:
ping 8.8.8.8
PING 8.8.8.8(8.8.8.
64 bytes from 8.8.8.8: icmp_request=1 ttl=53 time=60.8 ms
64 bytes from 8.8.8.8: icmp_request=1 ttl=53 time=180 ms
64 bytes from 8.8.8.8: icmp_request=1 ttl=53 time=61.0 ms
and so on and so on
Re: Can't Connect Wi-Fi With Kali Linux
Oh yeah I changed the network to NAT and now the Host is Windows 10 Build 10074.
Re: Can't Connect Wi-Fi With Kali Linux
I wonder why the ipconfig command is not found?
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't Connect Wi-Fi With Kali Linux
Probably because it is ifconfig instead of ipconfig
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Can't Connect Wi-Fi With Kali Linux
Indeed, silly me. Regardless, the other commands show that your network connection is perfectly fine - you got IP connectivity and DNS resolution. I guess since you switched to NAT?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
-
Perryg
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Can't Connect Wi-Fi With Kali Linux
Max,
You have ifconfig in your post.
You have ifconfig in your post.
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Can't Connect Wi-Fi With Kali Linux
Ok sleep time it is... at least I had it right 
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: Can't Connect Wi-Fi With Kali Linux
Okay, now that I'm online using NAT if at root@kali:~#ifconfig ******** down what do I put in for *******? Is it my SSID, DNS suffix, or USB Wireless LAN Card name? Maybe I should ask this on the Kali Linux forum?
-
noteirak
- Site Moderator
- Posts: 5231
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: Can't Connect Wi-Fi With Kali Linux
The Kali forum is your next step yes - everything is working fine in VirtualBox.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!