Перейти к содержимому

Как включить вай фай в кали линукс

  • автор:

click fraud protection

Прочитав это руководство, вы узнаете, как подключиться к беспроводной сети из графической среды и консоли с помощью инструментов nmtui и mncli.

Подключение к Wi-Fi на Kali (графический режим):

Подключение к Wi-Fi из Kali Linux аналогично подключению из любого другого дистрибутива Linux. Некоторые пользователи могут обнаружить, что их беспроводная карта отключена.

Для начала определите значок сети на панели задач, который отображается как:

Как видите, значок сети находится рядом с часами. После определения щелкните его правой кнопкой мыши, чтобы отобразить все доступные параметры, включая Включить Wi-Fi, как показано на изображении ниже. Убедитесь, что опция Включить Wi-Fi отмечен:

После включения снова щелкните левой кнопкой мыши значок сети, и вы увидите все доступные сети для подключения. Затем нажмите тот, к которому хотите подключиться:

После нажатия на вашу сеть вы должны без проблем подключиться.

Подключение к Wi-Fi с помощью Kali (текстовый режим):

Перед подключением к сети с помощью терминала давайте посмотрим, как определить все доступные сети. Для поиска сетей вы можете использовать iwlist команда, за которой следует ваше беспроводное устройство и функция сканировать ниже:

iwlist сканирование wlan0

Как видите, в зависимости от количества доступных сетей на выходе будет отображаться длинный список данных, принадлежащих каждой сети, но нас интересует только ESSID.

Вы можете получить более удобный результат, реализовав grep как показано ниже; таким образом, iwlist будет печатать только ESSID сетей:

iwlist сканирование wlan0 | grep ESSID

После того, как вы просканировали все сети и определили ту, к которой хотите подключиться, вы можете использовать различные методы текстового режима для установления соединения.

Подключение к Wi-Fi с помощью Kali с помощью nmcli:

В nmcli Команда позволяет нам управлять NetworkManager из командной строки, и использовать ее довольно просто. В следующем примере показано, как подключиться к сети с именем LinuxHintkali, чей пароль linuxhintpass.

После сканирования и идентификации вашей сети с помощью iwlist объясненную ранее команду, выполните команду ниже, заменив LinuxHintkali с ESSID сети, к которой вы хотите подключиться, и заменив linuxhintpass со своим паролем:

nmcli d wifi connect LinuxHintkali пароль linuxhintpass

Как видите, соединение было установлено правильно.

Вы можете получить дополнительную информацию о nmcli на его странице руководства. https://linux.die.net/man/1/nmcli .

Подключение к Wi-Fi с помощью Kali с помощью nmtui:

В nmtui Команда — это основанный на curses инструмент, позволяющий управлять NetworkManager в интерактивном режиме.

Чтобы запустить его, просто выполните команду ниже:

Появится следующее меню. С помощью стрелок на клавиатуре выберите «Активировать соединение»И нажмите ВХОДИТЬ:

На следующем экране будут показаны все доступные сети. Опять же, используйте стрелки на клавиатуре, чтобы выбрать сеть, к которой хотите подключиться, и нажмите ВХОДИТЬ:

Будет установлено соединение. У вас уже должен быть доступ в Интернет:

После подключения выберите Назад и нажмите ВХОДИТЬ:

Перейти к Покидатьи нажмите Входить оставить nmtui:

Команды поиска и устранения неисправностей:

Следующие команды не были протестированы, поскольку моя сетевая карта была правильно обнаружена. Первая команда, показанная ниже, может быть полезна в случае, если драйверы вашего устройства Wi-Fi не были правильно определены. Это не распространенный сценарий при использовании Kali:

судо подходящий установить Кали-Linux-беспроводной

Более вероятно, что ваша беспроводная карта не работает, чем показанная выше команда для установки драйверов. Чтобы настроить его, сначала определите имя вашего сетевого устройства:

Как вы можете видеть в выходных данных выше, мое сетевое устройство называется wlp3s0. Чтобы настроить его, я запускаю следующую команду:

ifconfig wlp3s0 вверх

Не забудьте заменить wlp3s0 на имя вашей беспроводной карты.

Заключение:

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

Спасибо, что прочитали это руководство, в котором объясняется, как подключиться к Wi-Fi в Kali Linux, следите за нами, чтобы получить больше советов и руководств по Linux.

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.

Как включить и отключить 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
  • КалиСетиБезопасностьАдминистрация

Как создать учетную запись для изменения и удаления пользователей в Linux

Как создать учетную запись для изменения и удаления пользователей в Linux

  • 09/08/2021
  • 0
  • Файловая системаБашАдминистрацияКоманды

Управление учетными записями пользователей — одна из основных задач каждого системного администратора Linux. В этой статье мы узнаем, как создать новую учетную запись пользователя, как изменить ее и как удалить из командной строки с помощью userad.

Проверьте доступность доменного имени с помощью bash и whois

Проверьте доступность доменного имени с помощью bash и whois

  • 09/08/2021
  • 0
  • БашСценарииАдминистрацияКоманды

Если вы когда-либо пытались придумать запоминающееся доменное имя, вы знаете, как это может раздражать, если постоянно проверять, доступно ли определенное имя. К счастью, на Linux мы можем немного облегчить нам задачу, используя кто команда. Когда.

Как отключить SELinux

Как отключить SELinux

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

SELinux, что означает Security Enhanced Linux, представляет собой дополнительный уровень контроля безопасности, созданный для Системы Linux. Первоначальная версия SELinux была разработана АНБ. Другие ключевые участники включают Red Hat, которая по.

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

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