LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   realtek 8821AE issues (https://www.linuxquestions.org/questions/linux-newbie-8/realtek-8821ae-issues-4175610700/)

merjah 07-27-2017 01:42 AM

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

AwesomeMachine 07-27-2017 03:35 AM

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.

merjah 07-27-2017 03:39 AM

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?

merjah 07-27-2017 04:02 AM

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:~#


aus9 07-27-2017 05:15 AM

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?

merjah 07-27-2017 05:29 AM

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:~#


michaelk 07-27-2017 05:33 AM

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

merjah 07-27-2017 05:35 AM

Quote:

Originally Posted by michaelk (Post 5740454)
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?

merjah 07-27-2017 05:44 AM

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)

michaelk 07-27-2017 05:57 AM

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.

Rickkkk 07-27-2017 08:34 AM

Quote:

Originally Posted by michaelk (Post 5740462)
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 !


All times are GMT -5. The time now is 04:23 AM.