GNU/Linux >> Linux の 問題 >  >> Ubuntu

19.04にTp-linkArcherT4u V3ドライバーをインストールできませんか?

Archer T4U Wi-Fiアダプターを持っていますが、ドライバーをインストールできません。誰か助けてくれませんか?

lsusb この結果を出します:

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

makeでコンパイルしようとすると 、次のエラーが表示されます:

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

承認された回答:

私の知る限り、このUSBWifiカードはRealtekRLT8822BUチップセットに基づいています。

サポートページには、「古い」ドライバT4UV3180511およびT4UV3181018 Betaのみが表示されますが、動作する場合と動作しない場合があります。

https://github.com/brandon-bailey/rtl8822buのドライバーを使用してコンパイルしようと思います。

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. LinuxMint20にNvidiaドライバーをインストールする方法

  2. Ubuntu 16.04にGnomeスケジュールをインストールできませんか?

  3. Aptのロケールエラー-インストールを取得しますか?

  1. Tp-link Tl-wn8200nd V2のドライバー?

  2. Canon Mx922プリンターのインストール方法は?

  3. RealtekイーサネットドライバーエラーUbuntu16.04?

  1. Sudo Apt-get -f Installの実行中にエラーが発生しましたか?

  2. 15.04にVirtualboxをインストールできませんか?

  3. Kubuntu16.10にNvidiaドライバーをインストールする方法