Kali linux как включить wifi адаптер
Перейти к содержимому

Kali linux как включить wifi адаптер

  • автор:

Как включить и отключить Wi-Fi в Kali Linux

Цель этого руководства — показать, как включать и отключать Wi-Fi на Kali Linux . Это можно сделать либо с помощью графического интерфейса, либо командная строка , и в этом руководстве мы покажем пошаговые инструкции для обоих методов.

Это будет полезно, если у вас возникли проблемы с подключением к беспроводному маршрутизатору или вы планируете что-то Сканирование и взлом Wi-Fi с помощью Aircrack-ng , Например.

В этом уроке вы узнаете:

  • Как включить и отключить Wi-Fi через графический интерфейс и командную строку в Kali Linux

Включение и отключение Wi-Fi в Kali Linux

Включение и отключение Wi-Fi в Kali Linux

Требования к программному обеспечению и условные обозначения командной строки Linux

Категория Требования, условные обозначения или используемая версия программного обеспечения
Система Kali Linux
Программного обеспечения N / A
Другой Привилегированный доступ к вашей системе Linux с правами root или через судо команда.
Условные обозначения # — требует данных команды linux для выполнения с привилегиями root либо непосредственно как пользователь root, либо с использованием

Включение или отключение Wi-Fi через графический интерфейс

Эти шаги предполагают, что вы используете Xfce, среду рабочего стола по умолчанию для Kali. Если вы используете KDE , ГНОМ или какой-либо другой графический интерфейс, инструкции должны быть очень похожими.

    Чтобы включить или отключить Wi-Fi, щелкните правой кнопкой мыши значок сети в углу и выберите «Включить Wi-Fi» или «Отключить Wi-Fi».

Включите Wi-Fi через значок сети в графическом интерфейсе Xfce

Включите Wi-Fi через значок сети в графическом интерфейсе Xfce

Подключение к сети Wi-Fi

Подключение к сети Wi-Fi

Введите сетевой пароль для завершения подключения

Введите сетевой пароль для завершения подключения

Просмотр информации о подключении

Просмотр информации о подключении

Включение или отключение Wi-Fi через командную строку

  1. Чтобы увидеть имя вашего адаптера WiFi, а также информацию о подключении (при условии, что вы уже подключены к сети Wi-Fi), откройте терминал и выполните команду ip a команда.

Просмотр информации об адаптере WiFi через командную строку

Просмотр информации об адаптере WiFi через командную строку

Отключение Wi-Fi через командную строку

Отключение Wi-Fi через командную строку

Включение Wi-Fi через командную строку

Включение Wi-Fi через командную строку

Заключительные мысли

В этом руководстве мы увидели, как включать и отключать Wi-Fi через графический интерфейс и командную строку в Kali Linux. Это служит методом устранения неполадок, когда ваша система не подключается к сети Wi-Fi или у вас нет доступа в Интернет. Для получения дополнительной помощи см. Наше руководство по тестирование интернет-соединения в Linux .

Подпишитесь на новостную рассылку Linux Career Newsletter, чтобы получать последние новости, вакансии, советы по карьере и рекомендуемые руководства по настройке.

LinuxConfig ищет технических писателей, специализирующихся на технологиях GNU / Linux и FLOSS. В ваших статьях будут представлены различные руководства по настройке GNU / Linux и технологии FLOSS, используемые в сочетании с операционной системой GNU / Linux.

Ожидается, что при написании статей вы сможете идти в ногу с технологическим прогрессом в вышеупомянутой технической области. Вы будете работать самостоятельно и сможете выпускать как минимум 2 технических статьи в месяц.

  • 08/08/2021
  • 0
  • КалиСетиБезопасностьАдминистрация

Как установить браузер Opera в Linux

Как установить браузер Opera в Linux

  • 09/08/2021
  • 0
  • МультимедиаБраузерАдминистрацияРабочий стол

Opera — это веб-браузер, основанный на Хром проект. Хотя не так популярен, как Mozilla Firefox или Гугл Хром, он существует намного дольше, чем они оба, и предлагает отличные возможности просмотра веб-страниц с его гладким пользовательским интерфе.

Ubuntu 20.04 Hadoop

Ubuntu 20.04 Hadoop

  • 08/08/2021
  • 0
  • UbuntuUbuntu 20.04АдминистрацияБаза данныхApache

Apache Hadoop состоит из нескольких пакетов программного обеспечения с открытым исходным кодом, которые работают вместе для распределенного хранения и распределенной обработки больших данных. Hadoop состоит из четырех основных компонентов:Hadoop C.

Как установить Chef Server, Workstation и Chef Client в Ubuntu 18.04

Как установить Chef Server, Workstation и Chef Client в Ubuntu 18.04

  • 08/08/2021
  • 0
  • 18.04СерверUbuntuАдминистрация

Chef — это инструмент управления конфигурацией на основе Ruby, используемый для определения инфраструктуры как кода. Это позволяет пользователям автоматизировать управление множеством узлов и поддерживать согласованность между этими узлами. Рецепт.

How to Connect to Wi-Fi on Kali Linux

After reading this tutorial, you’ll know how to connect to your wireless network from your graphical environment and the console using both nmtui and mncli tools.

Connecting to Wi-Fi on Kali (Graphical Mode):

Connecting to Wi-Fi from Kali Linux is the same as connecting from any other Linux distribution. Some users may find their wireless card disabled.

To begin, identify the network icon on your taskbar, which is displayed as:

As you can see, the network icon is located next to the clock. Once identified, right-click on it to show all available options, including Enable Wi-Fi, as shown in the image below. Make sure the option Enable Wi-Fi is marked:

Once enabled, left-click the network icon again, and you’ll see all available networks for connection. Then, press the one you want to connect to:

After clicking on your network, you should connect without problems.

Connecting to Wi-Fi With Kali (Text Mode):

Before connecting to a network using the terminal, let’s see how to detect all available networks. To scan for networks, you can use the iwlist command followed by your wireless device and the function scan below:

As you can see, depending on the quantity of available networks, the output will display a long list of data belonging to each network, but we are only interested in the ESSID.

You can get a more human-friendly output by implementing grep as shown below; in this manner, iwlist will only print the networks ESSID:

https://amdy.su/wp-admin/options-general.php?page=ad-inserter.php#tab-8

Once you scanned all networks and identified the one you want to connect to, you can use different text-mode methods to establish a connection.

Connecting to Wi-Fi With Kali Using nmcli:

The nmcli command allows us to control the NetworkManager from the command line and using it is pretty simple. The following example shows how to connect to a network named LinuxHintkali, whose password is linuxhintpass.

After scanning and identifying your network with the iwlist command explained previously, run the command below, replacing LinuxHintkali with the ESSID of the network you want to connect to, and replacing linuxhintpass with its password:

As you can see, the connection was established properly.

You can get additional information on nmcli at its man page https://linux.die.net/man/1/nmcli.

Connecting to Wi-Fi With Kali Using nmtui:

The nmtui command is a curses-based tool that allows you to control NetworkManager in an interactive mode.

To run it, simply execute the command below:

The following menu will show up. Use your keyboard arrows to select “Activate a connection” and press ENTER:

The next screen will show all available networks. Again, use your keyboard arrows to select the network you want to connect to and press ENTER:

The connection will be established. You already must have internet access:

Once connected, select Back and press ENTER:

Move to Quit, and press Enter to leave nmtui:

Troubleshooting Commands:

The following commands were not tested because my network card was properly detected. The first command shown below may be useful in case your Wi-Fi device’s drivers weren’t properly detected. This is not a common scenario when using Kali:

More probably than the command shown above to install drivers, your wireless card may be down. To set it up, first identify your network device name:

As you can see in the output above, my network device is named wlp3s0. To set it up, I run the following command:

Remember to replace wlp3s0 for your wireless card name.

Conclusion:

As you can see, connecting to Wi-Fi on Kali Linux should not be a problem even for basic Linux users. Linux, not only Kali, offers a variety of methods to establish connection. This tutorial was written after finding many Kali users report problems connecting. In most cases, their Wi-Fi adapter was disabled and enabling it from the taskbar, as shown in the first steps of this tutorial, solved the problem. Learning the text mode techniques explained in this article is especially important because they are almost universal for all Linux distributions and independent of their graphical environment.

Thank you for reading this tutorial explaining how to connect to Wi-Fi on Kali Linux, keep following us for more Linux tips and tutorials.

About the author

David Adams

David Adams is a System Admin and writer that is focused on open source technologies, security software, and computer systems.

Sorry, you have been blocked

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

Cloudflare Ray ID: 7d7b3deaddbb24c5 • Your IP: Click to reveal 88.135.219.175 • Performance & security by Cloudflare

How to Enable WiFi in Kali Linux

How to Enable WiFi on Kali Linux

To connect to the Internet and access the public network, one of the most common methods is to connect to WiFi, in different environments installed on popular Linux distributions, the way to activate WiFi is different. WiFi can be enabled and disabled both through the desktop environment and through the command line in popular Linux distributions. Most famous Linux distributions have GNOME and KDE desktop environments by default, also applying specific settings in graphical environments is naturally easier than making changes in the terminal environment, and you can easily enable and disable WiFi in graphical environments.

Activating WiFi using the command line is not too difficult, and by the way, in some Linux distributions, it is very simple to apply settings in the graphical user interface. Especially since today scripts are programmed to enable and disable WiFi to make it easier for Linux users to change their settings.

In this article, for your guidance, we will teach you how to enable and disable WiFi in Kali Linux, one of the modern and attractive Linux distributions, you have already familiarized yourself with Kali Linux, through the desktop environment and the command line. So you can freely use the method that is easier for you to apply your changes. If you want to enable or disable WiFi on Kali Linux, follow the instructions below.

prerequisite

Kali Linux is an excellent distribution in that we have presented how to install Kali Linux in previous tutorials. In this article, we are going to teach how to “turn on WiFi” in Kali Linux and how to disable it. If you plan to use Kali Linux on the server and access the Internet via WiFi, buy Linux VPS with btc will provide you with this possibility.

Therefore, one of the prerequisites for executing the instructions that we will teach later is a system or server with the Kali Linux operating system. Additionally, you must have root user privileges and log into the Linux system using the Sudo command.

Enable and disable WiFi in Kali Linux via GUI

How to connect to WiFi in KDE, GNOME, and Xfce desktop environments are almost similar to each other. Follow the steps below to enable or disable WiFi in the Kali Linux desktop environment.

First, find the network icon in the Taskbar, which is located on the right side and at the top of the screen next to the clock icon.

Then, by right-clicking on the Network icon, if you want to connect to WiFi, select “Enable Wi-Fi” among the options.

If you want to disable the WiFi connection, check the Disable WiFi option.

Enable and disable WiFi in Kali Linux via GUI

After the WiFi adapter is activated, single-click on the Network icon and select the WiFi you want to connect from among the available WiFi networks.

By selecting the desired WiFi network, a window will open asking for the password to connect to the WiFi network. After entering the password, click on the “connect” button to complete the process. Then, by clicking on the Network icon, you will have access to the WiFi network and the Internet.

To view connection details, after connecting to WiFi, right-click on the Network icon from the menu of the Network icon, select “Connection Information” and view information about the WiFi network and your connections.

Enable and disable WiFi Networking in Kali Linux through the terminal

You can use different commands to connect to the desired WiFi in Kali Linux. We will teach different methods about connect to wifi in kali using command line.

Connect to WiFi network through iwlist

The first step to connect to a network in the terminal environment is to scan and identify available networks. Running the iwlist command can help you in this regard:

Enable and disable WiFi in Kali Linux via command

Available networks are displayed in the output, to connect to the desired network, you can use the grep command to get a more useful output and connect to the desired network more easily. In this tutorial, we are going to access the ESSID (Extended Service Set Identifier) network, for this reason, use the following command to provide the output of ESSID networks:

Enable and disable WiFi in Kali Linux via command

After you identify the networks and access the network you want to connect to, you can connect to it using various commands.

1. Connect Kali Linux to WiFi via nmcli command

To control NetworkManager and connect to the network, using the nmcli command is a simple and practical method. To run the nmcli command, you need to enter the network name and password in the following format:

By executing the above command, you will be connected to the desired network. If you need help about the nmcli command, you can refer to its man page .

2. Connect to WiFi in Kali Linux via nmtui command

The nmtui command, like the nmcli command, provides the ability to control NetworkManager. To connect to the desired WiFi network, type the following command:

After running the above command, the menu you see in the image below will be displayed for you, you must select the “Activate a connection” option using the keyboard and then press the Enter button.

Enable and disable WiFi in Kali Linux via command

In the menu that will be displayed again, you will see the available networks, select the desired option using the keyboard and then press Enter.

To connect, it is enough to have access to the Internet in advance, and finally, you must now have access to the WiFi network you want.

After connecting to the desired network, select the Back option and then press Enter.

Enable and disable WiFi in Kali Linux via command

To exit the nmtui command prompt, select Quit and press Enter.

Enable and disable WiFi in Kali Linux via command

Connect to the WiFi network through the ip command

Another way to connect to a WiFi network is to use the ip command. To access the desired WiFi adapter name and connection details (if you were already connected to a network), enter the following command in the terminal environment:

If you want to disable your WiFi connection, run the following command:

Also, to enable WiFi by Backupping your desired adapter run the following command:

You can run the ip a command again to check the WiFi connection.

Troubleshooting command for when Wifi device drivers are not detected

In Kali Linux, this problem is not common, but if you encounter this issue, you can use the following command to troubleshoot:

Of course, this problem may be related to the failure of your wireless card, so it is better to identify your network device name first so that you can make the necessary settings:

After identifying the name of your network device, run the following command:

How to Enable WiFi adapter in Kali Linux

Disabling Wifi Adapter may be one of the reasons why you cannot see the wireless device and available networks in the list. To enable the Wifi Adapter in Kali Linux, enter the Kali Linux terminal environment and execute the following command:

By running the previous command, you should access a list of available networks, otherwise, it is better to restart the Kali Linux operating system.

The WiFi adapter is used when connecting to the WiFi network, so in the same way, we explained earlier, you must enable the Kali Linux Wifi and enter the password of the Wifi network and connect to the desired network. It should be noted that usually when Kali Linux is used in virtual environments, not recognizing the wireless adapter is one of the common concerns that using an external adapter can solve your problem.

Of course, if executing the command we provided and restarting the Kali Linux system does not affect activating your WiFi adapter, consider using an external adapter as one of the solutions. Although the use of Kali Linux in virtual environments does not require a wireless adapter, if you are using a physical system, enabling the wireless adapter can be an important factor in improving WiFi performance.

Why is Kali Linux Enable WiFi not showing

One of the problems that Kali Linux users may face is the failure to show Enable WiFi in Kali Linux. This problem arises based on different software and hardware configuration of users’ systems, but some solutions can solve this problem.

To solve this problem, while the Kali Linux system uses the internal WiFi adapter, you need to identify the driver that the adapter uses. For this purpose, enter the following command:

By running the previous command, you will get complete information about the network adapters on your Kali Linux system. After knowing the desired adapter, you must run the modprobe command to load the desired driver.

For example, if the ath9k_htc drive is used for the adapter, the command you must run to load the desired drive will be as follows:

After executing the previous command, your problem should be solved and you can access a list of enabled WiFi networks. If your problem is not solved, you can solve your problem by installing the firmware-Atheros package, which provides firmware for Atheros-based wireless adapters.

Why Kali Linux WiFi not Working?

The most common reason for not connecting is related to the incorrect configuration of network drives or not installing them, but if your hardware is working properly, the reason can be that the network drives are not updated. You must click on the shell button on the bottom right side of the screen and find and update the desired software by typing «software and updates» in the search bar.

What command should we use to check available WiFi networks?

Nmcli is a command that allows you to control NetworkManager and provides information about the network status, so run the following command to scan WiFi networks:

Conclusion

In this article, you learned how to connect to a WiFi wireless network through the graphical environment and the command line of your Kali Linux operating system. The advantage of Linux is that it offers users different methods to apply settings, you can use both the graphical method, which is a simple method for the desired settings and the command line method to connect to WiFi.

Learning the command line method can be useful for you in different situations, especially in this tutorial, this method for connecting to WiFi is similar in most Linux distributions. Also, by connecting to WiFi using the terminal environment, you can easily troubleshoot and solve problems such as lack of connection. Usually, the command line method can work better on servers.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *