How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (2024)

Connecting to a Wi-Fi network on Kali Linux is often an important step, especially if you keep the Ethernet connection free for other purposes (or don’t have other choice). Anyway, whether you try to connect to the Wi-Fi during the installation, via the GUI or in command line, this guide will help you to get connected quickly.

Kali Linux can be connected to a Wi-Fi network by using the SSID and password from one of these interfaces: during the installation, from the desktop interface or by using command lines in a terminal.

Let’s see how to do this in each situation.
Note: I’m explaining here how to connect to your own wireless network, not how to hack another Wi-Fi network. You need the SSID and password before going further, whatever the option you choose.

Table of Contents

How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (1)

Master Linux Commands
Your essential Linux handbook
Want to level up your Linux skills? Here is the perfect solution to become efficient on Linux. 20% off today!

Download now

Kali Linux: Wi-Fi connection during the system installation

Hide your IP address and location with a free VPN:
Try it for free now, with advanced security features.
2900+ servers in 65 countries. It's free. Forever.

A network connection is mandatory to install Kali Linux on a computer. If you don’t use a network cable, a Wi-Fi network needs to be configured during the installation.

Wireless card not detected?

Kali Linux is based on Debian, so most wireless adapters should work with it. If you are not using something too new or exotic, your wireless card will be detected and can be used directly.

Your Go-To Linux Command Reference!
Download your exclusive free PDF containing the most useful Linux commands to elevate your skills!

If you aren’t lucky, you may need to install an additional driver to make it work. In this case, I would recommend completing the installation with a RJ45 cable plugged to your network, and fix the wireless connection later. It will be easier from the full interface rather than doing it during the installation.

Wi-Fi configuration during Kali Linux installation

If you don’t have any network cable connected, a Wi-Fi connection will be asked during the installation of Kali Linux. As most packages are downloaded from the Internet servers, a connection is mandatory.

Here is how to connect to a Wi-Fi network during the installation:

  • Start the installation by configure your locales (localization, language, keyboard layout, etc.).
  • The wizard will then detect your network configuration, and ask for a Wi-Fi network:
    How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (2)
    You can pick one in the list, or choose “Enter ESSID manually” if your Wi-Fi network is hidden or not displayed there.
  • You’ll then have the options to configure it, mostly choose the security options and type the password:
    How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (3)
  • If everything goes as expected, you’ll be connected to your Wi-Fi network, and the installer will use it to download packages and updates from the Kali Linux servers.
  • Once the system installed, you’ll be automatically connected to the same network, nothing more to do after that:
    How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (4)

Connect to Wi-Fi via the desktop interface on Kali Linux

The easiest way to connect to a Wi-Fi network on Kali Linux is to use the desktop interface after the installation. XFCE includes various tools and shortcuts to do it quickly and easily.

Quick connection from the top bar

If your wireless adapter is detected, you can quickly connect to your Wi-Fi network by clicking on the network icon in the top panel:

  • Click on the network icon in the top-right corner.
    It should be a “disconnected” network icon if you don’t have any network configured, or the “connected” alternative if you only have the RJ45 configuration done.
  • When you click on it, you’ll get the option to choose a network, or connect to a hidden network manually:
    How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (5)
  • Type your password, and you’ll be connected to it a few seconds later.

That’s it, in most cases it shouldn’t be that complicated.
I understand it might be new for you if you have no experience with Linux, but it’s not different from configuring it on other Linux distributions, the interface is really intuitive.

Advanced settings

If your Wi-Fi setup requires more advanced options, you can open the system settings from the main menu and go to the “Advanced Network Configuration” tool to get more options.

It looks like that:

How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (6)

Your Go-To Linux Command Reference!
Download your exclusive free PDF containing the most useful Linux commands to elevate your skills!

From there, you can either edit an existing configuration, or create a new one, with all the advanced options you might need (channel, MAC address, security, proxy, IP configuration, etc.).
For example, if there is no DHCP on your network, you will need this tool to set your IP address, gateway and DNS server.

Install a wireless driver

As explained earlier, even if Kali Linux comes with the most common wireless drivers, you may have a situation where your hardware is not detected, and you can’t connect directly to a Wi-Fi network. In this case, you’ll need to download and install the driver manually before you can use the Wi-Fi.

A few steps are involved, so I recommend watching this video to understand the idea:

Hide your IP address and location with a free VPN:
Try it for free now, with advanced security features.
2900+ servers in 65 countries. It's free. Forever.

Obviously, it will be slightly different depending on your Wi-Fi adapter manufacturer, but I hope it will help you to understand the procedure, so you can then do your research for your specific needs.

Using the command line to connect to a Wi-Fi network on Kali Linux

If you don’t have other options, it’s still possible to connect to a Wi-Fi network from a terminal on Kali Linux. Just expect to be a little more challenging, but it’s doable by following these steps:

  • First, make sure your Wi-Fi interface is detected, and take not of it’s name:
    iw dev
    You’ll get something like that:
    How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (7)
    In most cases, the interface’s name will be “wlan0”.
  • You can then do a scan to find all the SSID available:
    sudo iw wlan0 scan
    You can use grep to filter the results and display only the networks names:
    sudo iw wlan0 scan | grep SSID
    How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (8)
  • We’ll now generate a configuration file, with the SSID we want to use and the corresponding password:
    sudo su
    wpa_passphrase <SSID> >> /etc/wpa_supplicant.conf
    Type the Wi-Fi password when asked for it, it will create the wpa_supplicant configuration file for you.
    It looks like sudo doesn’t work for this command, so I used “sudo su” to switch to the administrator account.
    You can then get back to the normal user with:
    exit
  • The last step is to connect to your Wi-Fi network with wpa_supplicant:
    wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
    If there is any issue with your configuration, you’ll get the error directly in the terminal.
    You can remove the “-B” option (run in background) to see all the details, and the next attempts. It will be held to understand and debug any misconfiguration at this point.

Whatever the option you chose from this tutorial, you should now be connected to your Wi-Fi network, and can now check my other tutorials about Kali Linux on this website :-).
Here are a few suggestions:

  • How To Remote Access Kali Linux
  • Getting Started With John The Ripper On Kali Linux
  • How To Easily Change Hostname On Kali Linux

Whenever you’re ready for more security, here are things you should think about:

- Break free from Gmail:You should be able to choose what happens to your data. With Proton, only you can read your emails.Get private email.

- Protect yourself online:Use a high-speed Swiss VPN that safeguards your privacy. Open-source, no activity logs.Get Proton VPN risk-free.

- Master Linux commands:A sure method to learn (and remember) Linux commands. Useful ones only, one at a time, with clear explanations.Download the e-book.

How To Connect Wi-Fi On Kali Linux (GUI, Command, Hidden, …) – InfosecScout (2024)

FAQs

How do I connect to WiFi in Kali Linux GUI? ›

Using the GUI, enable and disable WiFi on Kali Linux.

Then, if you wish to connect to WiFi, right-click on the Network icon and choose “Enable Wi-Fi” from the list of options. Check the Disable WiFi option to disable the WiFi connection.

How do I enable WiFi in Kali Linux command line? ›

Connect to WiFi in Kali Linux via nmtui command

In the next menu, you will see the available networks. Select your desired option using the keyboard and then press Enter. Select the Back option after connecting to the desired network and press Enter. To exit the nmtui command prompt, select Quit and press Enter.

How to reset network connection in Kali Linux? ›

To restart the network service on Kali Linux, you can use the command ` service networking restart` or ` systemctl restart networking` .

Why is Linux not connecting to Wi-Fi? ›

There are three possible reasons: (1) There is not a driver for your device built into Linux, (2) your device needs firmware that your distro has not provided or (3) You do not know how to make a wireless connection in Linux.

References

Top Articles
Mikayla Campinos Lwak: A Guide For Coffee Enthusiasts
Delightful Mikayla Campinos Twitter Video: Unforgettable Moments
Artem The Gambler
Tj Nails Victoria Tx
Wild Smile Stapleton
Best Theia Builds (Talent | Skill Order | Pairing + Pets) In Call of Dragons - AllClash
Kentucky Downs Entries Today
Ssefth1203
Rainfall Map Oklahoma
Craigslist Free Stuff Santa Cruz
Lancasterfire Live Incidents
Loves Employee Pay Stub
Noaa Ilx
Christina Steele And Nathaniel Hadley Novel
I Saysopensesame
Brazos Valley Busted Newspaper
The Tower and Major Arcana Tarot Combinations: What They Mean - Eclectic Witchcraft
Watch Your Lie in April English Sub/Dub online Free on HiAnime.to
Jermiyah Pryear
Chamberlain College of Nursing | Tuition & Acceptance Rates 2024
10 Best Quotes From Venom (2018)
Bridgestone Tire Dealer Near Me
Craigslist/Phx
134 Paige St. Owego Ny
Devotion Showtimes Near The Grand 16 - Pier Park
Wisconsin Volleyball Team Leaked Uncovered
Syracuse Jr High Home Page
Fedex Walgreens Pickup Times
What Happened To Father Anthony Mary Ewtn
Jay Gould co*ck
Robot or human?
Timothy Kremchek Net Worth
Space Marine 2 Error Code 4: Connection Lost [Solved]
Ticketmaster Lion King Chicago
3400 Grams In Pounds
Robeson County Mugshots 2022
Latest Nigerian Music (Next 2020)
Ticket To Paradise Showtimes Near Regal Citrus Park
Karen Wilson Facebook
Birmingham City Schools Clever Login
Actor and beloved baritone James Earl Jones dies at 93
Tableaux, mobilier et objets d'art
Denise Monello Obituary
Gabrielle Abbate Obituary
Sara Carter Fox News Photos
Lawrence E. Moon Funeral Home | Flint, Michigan
Unblocked Games 6X Snow Rider
Bellelement.com Review: Real Store or A Scam? Read This
Understanding & Applying Carroll's Pyramid of Corporate Social Responsibility
Ciara Rose Scalia-Hirschman
Saw X (2023) | Film, Trailer, Kritik
211475039
Latest Posts
Article information

Author: Corie Satterfield

Last Updated:

Views: 6444

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Corie Satterfield

Birthday: 1992-08-19

Address: 850 Benjamin Bridge, Dickinsonchester, CO 68572-0542

Phone: +26813599986666

Job: Sales Manager

Hobby: Table tennis, Soapmaking, Flower arranging, amateur radio, Rock climbing, scrapbook, Horseback riding

Introduction: My name is Corie Satterfield, I am a fancy, perfect, spotless, quaint, fantastic, funny, lucky person who loves writing and wants to share my knowledge and understanding with you.