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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-27-2017, 01:42 AM
|
#1
|
LQ Newbie
Registered: Jul 2017
Posts: 7
Rep:
|
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.
|
|
|
07-27-2017, 03:35 AM
|
#2
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
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.
|
|
|
07-27-2017, 03:39 AM
|
#3
|
LQ Newbie
Registered: Jul 2017
Posts: 7
Original Poster
Rep:
|
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?
|
|
|
07-27-2017, 04:02 AM
|
#4
|
LQ Newbie
Registered: Jul 2017
Posts: 7
Original Poster
Rep:
|
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:~#
|
|
|
07-27-2017, 05:15 AM
|
#5
|
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842
Rep:
|
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?
|
|
|
07-27-2017, 05:29 AM
|
#6
|
LQ Newbie
Registered: Jul 2017
Posts: 7
Original Poster
Rep:
|
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:~#
|
|
|
07-27-2017, 05:33 AM
|
#7
|
Moderator
Registered: Aug 2002
Posts: 26,203
|
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.
|
|
|
07-27-2017, 05:35 AM
|
#8
|
LQ Newbie
Registered: Jul 2017
Posts: 7
Original Poster
Rep:
|
Quote:
Originally Posted by michaelk
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?
|
|
|
07-27-2017, 05:44 AM
|
#9
|
LQ Newbie
Registered: Jul 2017
Posts: 7
Original Poster
Rep:
|
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)
|
|
|
07-27-2017, 05:57 AM
|
#10
|
Moderator
Registered: Aug 2002
Posts: 26,203
|
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.
|
|
|
07-27-2017, 08:34 AM
|
#11
|
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364
|
Quote:
Originally Posted by michaelk
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 11:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|