GNU/Linux >> Linux Esercitazione >  >> Ubuntu

Non riesci a installare il driver Tp-link Archer T4u V3 su 19.04?

Ho un adattatore Wi-Fi Archer T4U ma non riesco a installare i driver. Qualcuno potrebbe aiutarmi per favore?

lsusb fornisce questo risultato:

Bus 006 Device 003: ID 2357:0115 TP-Link 

Quando provo a compilarlo con make , viene visualizzato il seguente errore:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.0.0-27-generic/build M=/home/alvaro/rtl8822bu modules
make[1]: se entra en el directorio '/usr/src/linux-headers-5.0.0-27-generic'
  CC [M]  /home/alvaro/rtl8822bu/core/rtw_cmd.o
In file included from /home/alvaro/rtl8822bu/include/osdep_service.h:41,
                 from /home/alvaro/rtl8822bu/include/drv_types.h:32,
                 from /home/alvaro/rtl8822bu/core/rtw_cmd.c:22:
/home/alvaro/rtl8822bu/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/alvaro/rtl8822bu/include/osdep_service_linux.h:257:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/home/alvaro/rtl8822bu/include/osdep_service_linux.h:258: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 /home/alvaro/rtl8822bu/include/drv_types.h:35,
                 from /home/alvaro/rtl8822bu/core/rtw_cmd.c:22:
/home/alvaro/rtl8822bu/include/wifi.h: At top level:
/home/alvaro/rtl8822bu/include/wifi.h:1005: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /home/alvaro/rtl8822bu/include/osdep_service_linux.h:84,
                 from /home/alvaro/rtl8822bu/include/osdep_service.h:41,
                 from /home/alvaro/rtl8822bu/include/drv_types.h:32,
                 from /home/alvaro/rtl8822bu/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:286: /home/alvaro/rtl8822bu/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1606: _module_/home/alvaro/rtl8822bu] Error 2
make[1]: se sale del directorio '/usr/src/linux-headers-5.0.0-27-generic'
make: *** [Makefile:1318: modules] Error 2

Risposta accettata:

Per quanto ne so, questa scheda USB Wifi è basata sul chipset Realtek RLT8822BU.

Nella pagina di supporto vedo solo driver "obsoleti" T4U V3 180511 e T4U V3 181018 Beta, potrebbero funzionare, potrebbero non funzionare.

Vorrei provare a utilizzare il driver da https://github.com/brandon-bailey/rtl8822bu e compilarlo.

sudo apt-get update
sudo apt-get install git
git clone https://github.com/brandon-bailey/rtl8822bu.git
cd rtl8822bu
make
sudo make install
sudo modprobe 8822bu

Ubuntu
  1. Come installare il driver Nvidia su Linux Mint 20

  2. Non riesco a installare la pianificazione di Gnome su Ubuntu 16.04?

  3. Driver per Tp-link Tl-wn8200nd V2?

  4. Errore durante l'esecuzione di Sudo Apt-get -f Install?

  5. Non riesci a installare Virtualbox su 15.04?

Come installare l'adattatore WiFi USB TP-Link su Debian 10

Come installare il driver della stampante Canon su Ubuntu

Installare il driver per Gtx 1070?

Driver Lb-link (modello n.=wn155a)?

Come installare il driver grafico NVIDIA su Ubuntu 20.04

Come installare il driver della stampante Canon su Ubuntu 20.04