Драйвер rtl8192cu для linux

Скомпилируйте и установите драйвер rtl8192cu

Может ли кто-нибудь помочь мне с этой проблемой? Я новичок в Linux, поэтому я не знаю команд и никогда не делал ничего подобного установке или компиляции из командной строки.

Я купил WiFi адаптер от Edimax, модель EW-7811UN для моего ПК (не ноутбука, поэтому у меня нет карты Wi-Fi, только Ethernet). Когда я прошёл руководство по CD, я наткнулся на версию ядра. Он сказал, что мне нужна версия 2.6, но у меня есть 3.5.0-22-generic.

Я получил ошибки, например, у меня нет файла или папки и т. Д. Может кто-нибудь сказать мне, где я могу скачать скомпилированный драйвер и где мне нужно его поставить? Или какой-то другой совет. Я не хочу понижать ядро, когда в этом нет необходимости.

6 ответов

12.04 и 14.04+: вы можете просмотреть эти инструкции или просто сделать то, что я скажу.

(используйте эти инструкции, когда ваше беспроводное USB устройство [rtl8192cu] не распознается Ubuntu автоматически)

Затем отредактируйте /etc/rc.local, открыв файл в любимом текстовом редакторе, как в этом примере:

убедитесь, что там написано . . . . . .

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

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

Для компиляции и установки проприетарного драйвера Realtek 8192cu, выполните следующие команды в открытом терминале:

Для жесткой установки используйте:

вместо sudo make dkms .

Для включения этого драйвера используйте команду:

Наконец, обновите /etc/modules этой командой перед перезагрузкой:

Если вы столкнулись с этой проблемой, то мне удалось установить следующий драйвер: https://github.com/pvaret/rtl8192cu-fixes

Installation

Убедитесь, что у вас есть необходимые предпосылки:

Клонировать этот репозиторий:

Настройка в качестве модуля DKMS:

Сборка и установка (номер версии может измениться, .11 по состоянию на 07 ноября 2019 г.)

Обновление списка модулей:

Убедитесь, что родной (и сломанный) драйвер ядра занесен в черный список:

И перезагрузка. Все готово.

Вообще говоря, любой драйвер Linux на компакт-диске поставщика будет устаревшим, и, в большинстве случаев, не стоит беспокоиться. Модуль RTL8192cu является частью ядра Linux с версии 2.6.38, так что в идеале вам нужно только подключить устройство, и оно будет работать. К сожалению, этот конкретный модуль никогда не работал, и, IMHO, исправление давно назрело ( отчет об ошибке ).

Итак, что вам делать? Подключите устройство. Убедитесь, что сетевой менеджер «видит» окружающие беспроводные сети (может также проверить, что правильный модуль загружен, запустив lsmod | grep 8192 ). Попробуйте подключиться к вашей сети. Если это не сработает, попробуйте подключиться к любой сети. Если это не сработает, значит, вы столкнулись с ошибкой, и вам нужно будет попробовать драйвер с http://www.realtek.com .

Читайте также:  Что такое windows azure pack

Загрузите драйвер с здесь и поместите загруженный файл в свою домашнюю папку.

Добавить существующий модуль в черный список. В окне терминала запустите

gksu gedit /etc/modprobe.d/blacklist.conf , добавьте черный список rtl8192cu внизу, сохраните и выйдите, затем перезагрузитесь.

Распакуйте загруженный архив: щелкните правой кнопкой мыши, Распакуйте сюда или запустите

Источник

Драйвер rtl8192cu для linux

This is a repackaging of Realtek’s own 8192CU USB WiFi driver for Ubuntu 13.10 and later.

!! This driver is DEPRECATED !!

This driver is not explicitly maintained.

The new rtl8xxxu driver initially introduced in kernel 4.4 works mostly well these days, and you should give it a try before trying this repository.

If rtl8xxxu gives you problems, try troubleshooting it first. Known things to look for are:

Make sure to blacklist the older rtl8192cu driver, which some distros seem to load by default otherwise.

Some devices require that power management be disabled in NetworkManager. Follow the instructions further down to disable power management in NetworkManager. Typical symptoms would be that the device works fine for a moment, and then becomes very slow or outright drops the connection.

If your device is not detected, make sure that your kernel enables CONFIG_RTL8XXXU_UNTESTED

Be sure to set the options for DMA aggregation and dual-band 2.4 GHz:

In some cases, though, this driver has been known to work fine where rtl8xxxu doesn’t. If rtl8xxxu doesn’t work for you even after the troubleshooting steps listed above, follow the instructions below to install this one instead.

These devices are known to work with this driver:

  • ASUSTek USB-N13 rev. B1 (0b05:17ab)
  • Belkin N300 (050d:2103)
  • D-Link DWA-121 802.11n Wireless N 150 Pico Adapter [RTL8188CUS]
  • Edimax EW-7811Un (7392:7811)
  • Kootek KT-RPWF (0bda:8176)
  • OurLink 150M 802.11n (0bda:8176)
  • Plugable USB 2.0 Wireless N 802.11n (0bda:8176)
  • TP-Link TL-WN725N (0bda:8176)
  • TP-Link TL-WN821Nv4 (0bda:8178)
  • TP-Link TL-WN822N (0bda:8178)
  • TP-Link TL-WN823N (only models that use the rtl8192cu chip)
  • TRENDnet TEW-648UBM N150

These devices are known not to be supported:

  • Alfa AWUS036NHR
  • TP-Link WN8200ND

As a rule of thumb, this driver generally works with devices that use the RTL8192CU chipset, and some devices that use the RTL8188CUS, RTL8188CE-VAU and RTL8188RU chipsets too, though it’s more hit and miss.

Devices that use dual antennas are known not to work well. This appears to be an issue in the upstream Realtek driver.

Читайте также:  Windows server 2016 не работает обновление

Ensure you have the necessary prerequisites installed:

Источник

Драйвер rtl8192cu для linux

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.

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):
Читайте также:  Значки сетей для windows

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.

About

Drivers for the rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!)

Источник

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