Linux - NewbieThis 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.
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.
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
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
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.
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?
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:~#
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
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?
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)
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.
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,363
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.