Установка драйвера rtl8192eu для kali linux

Проблема Установка дров TL-WN821N Kali

pl0tnik

pl0tnik

pl0tnik

у вас версия адаптера tp-link wn821n v4? если так, то у вас должен быть чипсет Realtek RTL8192CU, и драйвер нужен rtl8192CU. а судя по тому какой вы установили

это драйвера для адаптеров D-Link DWA-131 Rev E и Rosewill RNX-N180UBE v2 (The official drivers for D-Link DWA-131 Rev E, with patches to keep it working on newer kernels. Also works on Rosewill RNX-N180UBE v2 N300 Wireless Adapter.)
попробуйте так же установить эти драйвера или универсальные. одна буква в имени драйвера может решать многое.
кроме того адаптер на чипсете RTL8192CU может работать в режиме клиента, точки доступа и в лучшем случае в режиме монитора. попробуйте перевести ваш тп линк в режим монитора вручную. но я сомневаюсь что адаптер заработает. хотя чем чёрт не шутит.)

у вас версия адаптера tp-link wn821n v4? если так, то у вас должен быть чипсет Realtek RTL8192CU, и драйвер нужен rtl8192CU. а судя по тому какой вы установили

это драйвера для адаптеров D-Link DWA-131 Rev E и Rosewill RNX-N180UBE v2 (The official drivers for D-Link DWA-131 Rev E, with patches to keep it working on newer kernels. Also works on Rosewill RNX-N180UBE v2 N300 Wireless Adapter.)
попробуйте так же установить эти драйвера или универсальные. одна буква в имени драйвера может решать многое.
кроме того адаптер на чипсете RTL8192CU может работать в режиме клиента, точки доступа и в лучшем случае в режиме монитора. попробуйте перевести ваш тп линк в режим монитора вручную. но я сомневаюсь что адаптер заработает. хотя чем чёрт не шутит.)

у вас версия адаптера tp-link wn821n v4? если так, то у вас должен быть чипсет Realtek RTL8192CU, и драйвер нужен rtl8192CU. а судя по тому какой вы установили

это драйвера для адаптеров D-Link DWA-131 Rev E и Rosewill RNX-N180UBE v2 (The official drivers for D-Link DWA-131 Rev E, with patches to keep it working on newer kernels. Also works on Rosewill RNX-N180UBE v2 N300 Wireless Adapter.)
попробуйте так же установить эти драйвера или универсальные. одна буква в имени драйвера может решать многое.
кроме того адаптер на чипсете RTL8192CU может работать в режиме клиента, точки доступа и в лучшем случае в режиме монитора. попробуйте перевести ваш тп линк в режим монитора вручную. но я сомневаюсь что адаптер заработает. хотя чем чёрт не шутит.)

Источник

Помогите установить драйвера rtl8192eu

Всем привет, помогите установить дрова.. разархивировал драйвера в /usr/src. Пытался запустить автоматическую установку(.install_wifi.sh), выдает: rmmod: ERROR: module 8192eu is not currently loaded ERROR: module rtl8xxxu is not currently loaded sudo: dkms: command not found sudo: dkms: command not found sudo: dkms: command not found modprobe: FATAL: Module 8192eu not found in directory /lib/modules/5.3.0-18-genetic

ни на что не намекает? Нужно установить пакет dkms.

Написано же, что нету команды dkms. Значит, надо установить dkms. Исходные файлы скопировать в ту папку, которая рекомендована в инструкции к драйверу, а то может оказаться, что команда транслции их не найдёт.

Ок, это то понятно, но как его установить? Всеми способами что я нашел у меня не получилось это сделать…

Ок, это то понятно, но как его установить? Всеми способами что я нашел у меня не получилось

Список способов в студию. Очень интересно.

Прочитай файл Readme в папке с исходниками.

Обычно установка из сорцов — это make install (хотя в твоём случае все делает скрипт), но можешь собрать пакет для своей ОС и установить штатным способом через менеджер пакетов.

  1. Во-первых, следует загрузить и распаковать архив исходного кода драйвера устройства в директорию /usr/src/ — .
Читайте также:  Manjaro linux зависает при загрузке

После этого нужно создать файл конфигурации с именем dkms.conf в этой же директории.

$ sudo vi /usr/src/ixgbe-4.3.15/dkms.conf Это вот читал пример установки драйверов и там было вот так прописано

Конкретно у меня вот этот скрипт ставит. В системе должен быть dkms,git и инет по кабелю, чтобы скачать репу.

Скрипт не идеальный (ставит все модули сразу), но работает.

У меня ноут без возможности подключить кабель

По вашей же ссылке:

Но, так как инета у вас нет, то нужно будет скачивать пакеты отдельно (*.deb-файлы) и устанавливать их. И если вам не понятно откуда и что скачивать, так и пишите. А не про «Всеми способами что я нашел».

Ну это собственно и есть главная проблема, что не понятно что, откуда, куда и как? То что не так разъяснился, извиняюсь, просто реально пересмотрел уже кучу всего, но все равно ничего не нашел, либо просто я что то делаю не так…

Есть «родные» пакеты, которые входят в репозиторий дистрибутива и при наличии инета ставятся легко и просто. Есть дополнительные модули ядра, которые требуют наличия установленного пакета (фреймворка) dkms. Вы пытаетесь установить модуль, но у вас не установлен dkms. Так как у вас нет Интернета, система не может его скачать и начинаются сложности.

Лучше создайте отдельную тему с названием наподобие «Как без сети установить dkms в xubuntu» и там подробно напишите, что у вас есть. Версия xubuntu, с какого носителя ставили и из какого файла (iso-образа), как вам доступен инет (дуал бут, другой комп в виндой, другой комп с xubuntu).

Источник

Установка драйвера rtl8192eu для kali linux

The driver in the tplink website is a beta one and gives me errors when I make it.

I am trying to install it on a freshly downloaded and updated Kali Linux x64 on my laptop.

The WiFi adaptor is being detected as wlan1 and monitor mode works fine. But I am not able to connect to a AP even though it is able to scan and show lost of AP.

I installed realtek drivers from GitHub and the WiFi adaptor is showing v4 and still not able to connect to any AP.

On windows and Mac it worls fine.

I successfully installed the tp-link driver on kali linux today.

Kali linux version: 5.2.0-kali2-amd64 (latest)

device: Dell Inspiron 5577 gaming

Internal wifi: Intel dual band wireless 3165

$ lsusb shows TP-Link TL-WN822N Version 4 RTL8192EU

lsusb : shows what driver your current wireless cards are running

Issues I encountered:

1) bin/sh: 1: bc: not found

run following commands one by one:

$ sudo apt-get install linux-headers-$(uname -r)

*I don’t remember the order

Better to restart not sure.

2) Installed driver is not being used.

There might be an issue where rtl8xxxu driver will be used instead of the newly installed one. You can find that by lsusb.

rtl8xxxu is I guess a common driver(not a specific for your model). So we need to blacklist it. Run below command.

Initially there is no rtl8xxxu-blacklist.conf file, so need to create a new one. leafpad creates it automatically with above command.

In the file, type blacklist rtl8xxxu and then save and exit.

3) Turn of inbuilt wireless card.

check your internal wireless driver name using $ lsusb and blacklist it. I didn’t try blacklisting internal wireless it but it should work.

I am posting the order of comands I used from begining.

$ sudo apt-get install linux-headers-$(uname -r)

follow 4 steps under build guide in the github page.

If still doesn’t work, follow below steps.

$ make clean
$ make

$ sudo cp 8192eu.ko /lib/modules/5.2.0-kali2-amd64/kernel/drivers/net/wireless/

As an open system, the linux OS is more complicated than Windows or Mac; we will do our best to help, but if still cannot be resolved, it is suggested to ask for some help from linux or github.

Читайте также:  Damn small linux compact flash install

What is the kernel version of the kali linux laptop? What is the error with the beta driver installed?

Is there any error message if you failed to connect to any AP? Have you ever tried to enter the wifi name and password manually to give it a shot?

Besides, the chipset of the 822N V5 is Realtek RTL8192EU, try to find another driver for your linux laptop.

May it work. Good day.

I did a fresh install of Kali linux and it’s kernel version is 4.19.0-kali4-amd64.

I upgraded and updated and installed latest linux headers. I also installed dpkg.

I downloaded the driver and tried these commands in the terminal.

/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047# make clean
#make -C /lib/modules/4.19.0-kali4-amd64/build M=/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 clean
cd hal ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko
cd hal ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko
cd hal ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *

rm -fr .tmp_versions
root@kali:

/ Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.19.0-kali4-amd64/build M=/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047 modules

make[1]: Entering directory ‘/usr/src/linux-headers-4.19.0-kali4-amd64’
CC [M] /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o
In file included from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h: In function ‘_init_timer’:
/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:299:8: error: ‘_timer’ has no member named ‘data’
ptimer -> data = (unsigned long)cntx;
^

/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:300:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [- Werror=implicit-function-declaration ]
init_timer (ptimer);
^

_init_timer
In file included from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:30,
from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h: At top level:
/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/wifi.h:1031: warning: «IEEE80211_MAX_AMPDU_BUF» redefined
#define IEEE80211_MAX_AMPDU_BUF 0x40

In file included from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service_linux.h:83,
from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/osdep_service.h:47,
from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/include/drv_types.h:27,
from /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.c:17:
/usr/src/linux-headers-4.19.0-kali4-common/include/linux/ieee80211.h:1442: note: this is the location of the previous definition
#define IEEE80211_MAX_AMPDU_BUF 0x100

cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-4.19.0-kali4-common/scripts/Makefile.build:309: /root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047/core/rtw_cmd.o] Error 1
make[3]: *** [/usr/src/linux-headers-4.19.0-kali4-common/Makefile:1535: _module_/root/Downloads/TP-Link_Driver_Linux_series8_beta/rtl8192EU_WiFi_linux_v5.2.19.1_25633.20171222_COEX20171113-0047] Error 2
make[2]: *** [Makefile:146: sub-make] Error 2
make[1]: *** [Makefile:8: all] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-4.19.0-kali4-amd64’
make: *** [Makefile:1828: modules] Error 2

I also installed 2017.1 version which has kernal 4.9 but still dosent work.

I also tried using this forum https://forums.linuxmint.com/viewtopic.php?f=239&t=268034&p=1461575&hilit=Rtl8192eu#p1461210

But I still cant connect to a wireless AP.

I will tried to mauallly connect to an ap using

Источник

Установка драйвера rtl8192eu для kali linux

Copy raw contents

rtl8192eu linux drivers

NOTE: This branch is based on Realtek’s driver versioned 4.4.1. master is based on 4.3.1.1 originally.

The official drivers for D-Link DWA-131 Rev E, with patches to keep it working on newer kernels. Also works on Rosewill RNX-N180UBE v2 N300 Wireless Adapter and TP-Link TL-WN821N V6.

NOTE: This is just a «mirror». I have no knowledge about this code or how it works. Expect no support from me or any contributors here. I just think GitHub is a nicer way of keeping track of this than random forum posts and precompiled binaries being sent by email. I don’t want someone else to have to spend 5 days of googling and compiling with random patches until it works.

Source for the official drivers

Official drivers were downloaded from D-Link Australia. D-Link USA and the european countries I checked only lists revision A and B. Australia lists all three.

GitHub will not link to the ftp:// schema. Raw link contents:

In addition, you can find the contents of this version in the initial commit of this repo: 1387cf623d54bc2caec533e72ee18ef3b6a1db29

You can see the applied patches, their sources and/or motivation by looking at the commits. The master branch will mostly be kept clean with a single commit per patch, except for Pull Requests. You can review commit by commit and then record the SHA in order to get a safe reference to use. As long as the SHA stays the same you know that what you get has been reviewed by you.

Читайте также:  Windows 10 обновление еще возможно

Note that updates to this README will show up as separate commits. I will not mix changes to this file with changes to the code in case you want to mirror this without the README.

Building and installing using DKMS

This tree supports Dynamic Kernel Module Support (DKMS), a system for generating kernel modules from out-of-tree kernel sources. It can be used to install/uninstall kernel modules, and the module will be automatically rebuilt from source when the kernel is upgraded (for example using your package manager).

Install DKMS and other required tools

  • for normal Linux systems

Clone this repository and change your directory to cloned path.

The Makefile is preconfigured to handle most x86/PC versions. However, if you are compiling for something other than an intel x86 architecture, you need to first select the platform.

  • for the Raspberry Pi, you need to set the I386 to n and the ARM_RPI to y:
  • for arm64 devices (e.g. Orange Pi PC 2):

Add the driver to DKMS. This will copy the source to a system directory so that it can used to rebuild the module on kernel upgrades.

Build and install the driver.

Distributions based on Debian & Ubuntu have RTL8XXXU driver present & running in kernelspace. To use our RTL8192EU driver, we need to blacklist RTL8XXXU.

Force RTL8192EU Driver to be active from boot.

Newer versions of Ubuntu has weird plugging/replugging issue (Check #94). This includes weird idling issues, To fix this:

Update changes to Grub & initramfs

Reboot system to load new changes from newly generated initramfs.

Check that your kernel has loaded the right module:

You should see the line driver=8192eu

If you wish to uninstall the driver at a later point, use sudo dkms uninstall rtl8192eu/1.0. To completely remove the driver from DKMS use sudo dkms remove rtl8192eu/1.0 —all.

Reference: Intelbras IWA 3001 USB WiFi Adapter
Devices using the 8192eu chip can serve as decent access points, with speeds up to

Using hostapd to manage your AP, set the proper ht-capab field for this device, which is:

Optionally enable wideband, if you don’t have neighbours:
Note that while this will result in a increase in network throughput it may cause clients further away to fail connecting.
It may also make the device work better with repeaters repeating its signal.

HT_CAPAB=[HT40+][RX-STBC1][SHORT-GI-40][SHORT-GI-20][DSSS_CCK-40][MAX-AMSDU-7935] (for channels 1-7), or
HT_CAPAB=[HT40-][RX-STBC1][SHORT-GI-40][SHORT-GI-20][DSSS_CCK-40][MAX-AMSDU-7935] (for channels 5-13)

Changing transmit power

Currently there is no way to change transmit power in the driver with iw or iwconfig tools, as you would with other wireless devices.
The values returned by these tools are purely fictional on this driver. However, you can still manually change the transmit power at compile time by editing the file hal/rl8192e/rtl8192e_phycfg.c and changing the lines below:

  1. Fork repo
  2. Do your patch in a topic branch
  3. Open a pull request on GH, or send it by email to Magnus Bergmark .
  4. I’ll squash your commits when everything checks out and add it to master .

Copyright and licenses

The original code is copyrighted, but I don’t know by whom. The driver download does not contain license information; please open an issue if you are the copyright holder.

Most C files are licensed under GNU General Public License (GPL), version 2.

Источник

Оцените статью