LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-27-2017, 01:42 AM   #1
merjah
LQ Newbie
 
Registered: Jul 2017
Posts: 7

Rep: Reputation: Disabled
realtek 8821AE issues


So i've been using Kali Linux for a few days now and i'm having issues connecting via wifi. i'm on a desktop with a realtek 8821AE wireless card and I can't seem to get my VM from virtual box to connect to the wifi. My Kernel Version of Kali is 4.9.0 and I tried installing the compact-wireless-2010-06-26-p and the only thing that changed was I had no option for wifi before installing now I've got the option of two wifi settings. when ever I try to connect one of them they don't seem to pick up the signals of any wifi router mine or even the neighbors.
So i'm wondering what could be the issue and if anyone would be able to help me fix this.

(I have no previous experience with linux and am still in the process of learning the basics so if you have a solution if would be appreciated if you guide me through what to do and the commands for terminal or whatever will fix it)
THANKS

Last edited by merjah; 07-27-2017 at 01:46 AM.
 
Old 07-27-2017, 03:35 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
Hi merjah,

Welcome to LQ!

Kali is a distribution for those who already know how to use it. It is a poor choice for a first-time Linux user. I think you have to explicitly enable networking in Kali, because it's disabled by default.

So, you can tryz:
Code:
$ service network.service enable
$ service network.service start
You might also need the firmware for your wirelesss card.

Could you please post the output of
Code:
$ lspci | grep -i wireless
and then I can tell you which firmware package you need.

Last edited by AwesomeMachine; 07-27-2017 at 03:40 AM.
 
Old 07-27-2017, 03:39 AM   #3
merjah
LQ Newbie
 
Registered: Jul 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thanks for the reply and yea I'm aware it's a way more advanced for me at the moment but I'm am self teaching my self do you know of any links that explain how to do that?
 
Old 07-27-2017, 04:02 AM   #4
merjah
LQ Newbie
 
Registered: Jul 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok so I tried the code and this is all I got


Code:
root@kali:~# service network.service enable
network.service: unrecognized service
root@kali:~# service network.service start
Failed to start network.service.service: Unit network.service.service not found.
root@kali:~# lspci | grep -i wireless
root@kali:~#
 
Old 07-27-2017, 05:15 AM   #5
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: voidlinux with LXDE
Posts: 5,509

Rep: Reputation: Disabled
distrowatch suggests its a systemd system
http://distrowatch.com/table.php?distribution=kali

try this

Code:
sudo su
systemctl list-unit-files | grep network  (and post the results)
what is host operating system for virtual box? Is it Kali

then what is the guest inside virtualbox?
 
Old 07-27-2017, 05:29 AM   #6
merjah
LQ Newbie
 
Registered: Jul 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Host OS: Windows 10 Desktop
VirtualBox Guest OS: Kali Linux 2017.1


Code:
root@kali:~# sudo su
root@kali:~# systemctl list-unit-files | grep network
dbus-org.freedesktop.network1.service                            disabled       
network-manager.service                                          enabled        
networking.service                                               enabled        
systemd-networkd-wait-online.service                             disabled       
systemd-networkd.service                                         disabled       
systemd-networkd.socket                                          disabled       
network-online.target                                            static         
network-pre.target                                               static         
network.target                                                   static         
root@kali:~#
 
Old 07-27-2017, 05:33 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,620

Rep: Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185
A virtualbox guest can not directly access physical devices unless they are USB. The virtual neteork interface will connect as a wired device.
KAli does not enable networking by default

Last edited by michaelk; 07-27-2017 at 11:54 AM.
 
Old 07-27-2017, 05:35 AM   #8
merjah
LQ Newbie
 
Registered: Jul 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
A virtualbox guest can not directly access physical devices unless they are USB. The virtual neteork interface will connect as a wired device.
KAli does not enabgling networking by default
So then I need some sort of USB wireless adapter is that what you are saying?
 
Old 07-27-2017, 05:44 AM   #9
merjah
LQ Newbie
 
Registered: Jul 2017
Posts: 7

Original Poster
Rep: Reputation: Disabled
Also if the VirtualBox guest can not access the wireless card inside my desktop is it possible I could make a dual boot in order to access the wireless card with out a adapter? (if one is needed)
 
Old 07-27-2017, 05:57 AM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 21,620

Rep: Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185Reputation: 4185
If the point of using kali is for penetration testing then yes you need to dual boot or use a USB wireless adapter as a VirtualBox guest.

If not then you can use a VB virtual network interface as NAT or Bridged which appears as a wired adapter in the guest.

As already stated it might be easier to learn with a regular desktop distribution like mint. Penetration testing tools can be installed and used with any distribution.

Last edited by michaelk; 07-27-2017 at 08:35 AM.
 
Old 07-27-2017, 08:34 AM   #11
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch
Posts: 1,253

Rep: Reputation: 467Reputation: 467Reputation: 467Reputation: 467Reputation: 467
Quote:
Originally Posted by michaelk View Post
If the point of using kali is for penetration testing then yes you need to dual boot or use a USB wireless adapter as a VirtualBox guest.

If not then you can use a VB virtual network interface as NAT or Bridged which appears as a wired adapter in the guest.

As already it might be easier to learn with a regular desktop distribution like mint. Penetration testing tools can be installed and used with any distribution.
Hi merjah,

I wholeheartedly support other members' recommendation to start your linux adventure with something other than Kali .... I am constantly astounded at the number of new linux users that try Kali as a first distro .. As repeatedly stated and as clearly documented on Kali's own website, it is a distro that was created specifically for professional penetration testing and requires advanced linux knowledge to use properly. The suggestion to begin with Mint is a good one.

Concerning the networking issue, as explained by michaelk, the usual way to get any guest operating system installed in Virtualbox to use networking is via Virtualbox's virtual network interface, configured in the Network tab in the Virtualbox Manager GUI. The easiest method is NAT (network address translation), which "piggybacks" on the host system's network interface and appears to the network as if it were the physical host itself (same IP and MAC addresses). Some situations require the Bridged Adapter option, which makes it so the network sees the guest system with its own distinct IP and MAC addresses.

Hope this helps !
 
  


Reply


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
realtek 8821AE issues merjah Linux - Networking 1 07-27-2017 11:20 AM
Realtek wireless issues with 13.37 D1ver Slackware 12 05-05-2011 03:51 PM
Realtek 8111 driver issues kebabbert Solaris / OpenSolaris 18 07-11-2008 01:24 PM
Realtek AC97 Sound Issues.. Cliekid Fedora 0 11-16-2004 04:53 PM
Issues with onboard AC'97 Realtek audio Riley Linux - Hardware 2 02-16-2003 03:45 PM

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

All times are GMT -5. The time now is 02:20 AM.

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