LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2016, 11:01 AM   #1
user1212
LQ Newbie
 
Registered: Nov 2016
Posts: 2

Rep: Reputation: Disabled
Network adapter fails to connect to the internet after I use Kali inside Virtual Box


Hello. I don't want to give away any personal details. I will say that I am new to linux. I started playing around with elementary OS and now I'm playing around with the tools inside Kali.

So here's the problem. Every time I boot up Kali Linux, then power off the VM, my network adapter gets messed up. I can no longer connect to the internet via my ASUS router unless I reboot the router. I used to be able to browse the internet on my main Windows 10 desktop AND my Kali box. One day, for seemingly no reason, I could only access the internet in my Kali box. Whenever I close my Kali box, I no longer have internet on my entire system. It's not enough to recede the USB TP-Link adapter I own. Nor is it enough to restart the computer. I NEED to restart my router. My virtual machine is in NAT mode so everything should have been ok on the VB end. I used to be able to put up with it, but now it's REALLY annoying. I don't want to restart my router and kick my family off the internet EVERY time I power down Kali. I must have done something in Kali because this problem does not happen with my Elementary OS box. How would I even begin to start figuring out what the problem is?
 
Old 11-04-2016, 11:01 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hello and welcome to the forum

Please note that this forum is for introductions only. I have requested a moderator to move this thread to an appropriate forum.

Regards...
 
Old 11-05-2016, 01:03 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
maybe your router recognizes a differently shaped traffic coming from the kali vm, and decides to block it?
so, maybe you can change the settings of your router? e.g. making the inbuilt firewall less strict, or adding an exception?
 
Old 11-05-2016, 01:28 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,842

Rep: Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977
Is Elementary a VM too?

Is the host a laptop or a desktop?

The host and guest can not use a USB device at the same time. How is the TP-link configured? You state that kali is configured as NAT so there should be a virtual ethernet adapter that uses the host's ethernet or wireless adapter.
 
Old 11-13-2016, 06:33 AM   #5
user1212
LQ Newbie
 
Registered: Nov 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
It's true that Kali can't use a USB network adapter at the same time as windows. I really just have to eject it, plug it back in and reconnect it. I don't understand why Kali can't share with windows if Elementary OS can.
 
Old 11-13-2016, 07:16 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,842

Rep: Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977Reputation: 5977
It can. You need to configure Kali to use its virtual Ethernet adapter instead of USB.
 
  


Reply

Tags
kali


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Penguin Wireless G USB Adapter fails to connect to the internet on Trisquel 6.0 nuxxun Linux - Wireless Networking 22 07-11-2013 03:57 AM
cant connect to the internet/ no network adapter dagoat Linux - Newbie 3 12-29-2009 10:29 PM
Directly accessing network adapter in virtual box? baig Linux - Newbie 2 05-19-2009 02:08 PM
Can't connect to internet. Using linksys wireless-g usb network adapter. Please help. gordohumphrey Linux - Newbie 6 08-04-2008 11:41 PM
USB Virtual Network Adapter Internet Connection Sharing Suse 10.2 and Windows, How??? tfm1 Linux - Networking 1 12-25-2006 02:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration