環境
$ uname -aLinux h270m 5.4.0-58-generic #64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDescription: Ubuntu 18.04.4 LTSRelease: 18.04Codename: bionicTP-Link WiFi 無線LAN 子機 Archer T2U Nano
TP-Link WiFi 無線LAN 子機 AC600 433Mbps + 200Mbps Windows/Mac OS 対応 ナノ設計 wi-fi子機 デュアルバンド 無線lan アダプタ 3年保証 Archer T2U Nanoが無線LAN子機ストアでいつでもお買い得。当日お急ぎ便対象商品は、当日お届け可能です。アマゾン配送商品は、通常配送無料(一部除く)。
最終的にうまくいった方法
GitHub - aircrack-ng/rtl8812au: RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection - aircrack-ng/rtl8812au
上記のコミット5521bf9(2020年12月27日時点での最新版)
git clone https://github.com/aircrack-ng/rtl8812au.gitcd rtl8812aumakesudo make install試したこと(うまくいかなかった方法)
GitHub - jeremyb31/rtl8812au-1: RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection - jeremyb31/rtl8812au-1
$ sudo ./dkms-install.shAbout to run dkms install steps...Error! DKMS tree already contains: rtl8812au-5.3.4You cannot add the same module/version combo more than once.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:cleaning build area...'make' -j4 KVER=5.4.0-58-generic KSRC=/lib/modules/5.4.0-58-generic/build....(bad exit status: 2)ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not foundError! Bad return status for module build on kernel: 5.4.0-58-generic (x86_64)Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping...https://github.com/aircrack-ng/rtl8812auBuilding module:cleaning build area...'make' -j4 KVER=5.4.0-58-generic KSRC=/lib/modules/5.4.0-58-generic/build....(bad exit status: 2)ERROR (dkms apport): binary package for rtl8812au: 5.3.4 not foundError! Bad return status for module build on kernel: 5.4.0-58-generic (x86_64)Consult /var/lib/dkms/rtl8812au/5.3.4/build/make.log for more information.Finished running dkms install steps.参考
Install driver rtl8814au on ubuntu 18.04
I recently updated my Ubuntu from 16.04 to 18.04, but after updating, my TP Link T9UH Wi-Fi adapter doesn't work anymore.
It didn't work perfectly before (see Install rtl8814AU driver on ubuntu 16....
関連記事
- (Updated )Raspberry Pi 2にUbuntu 14.04をインストールする方法RaspberryPi2にのUbuntu14.04(Trusty)をインストールしてセットアップまで行ったのでそのメモ。
- (Updated )Raspberry Pi 3にUbuntu 14.04をインストールする方法RaspberryPi2までは公式のファームウェアをmicroSDカードに書き込むだけで使えていました(RaspberryPi2にUbuntu14.04をインストールする方法 | Memoteki)が、RaspberryPi3からはそう簡単ではなくなってしまったので対応方法を2種類メモしておきます。
- ROSをインストールしてたUbuntu 18.04を20.04にアップグレードするROS Melodic/DashingをインストールしていたGPU搭載ノートPCをUbuntu 18.04から20.04にアップグレードした手順と、apt-key非推奨にともなうsources.list修正のメモ。
- docker-composeからRVizを起動するNVIDIAのGPUが有効なLinux環境でdocker-composeからRVizを起動するための設定方法。NVIDIA_VISIBLE_DEVICESとNVIDIA_DRIVER_CAPABILITIESの環境変数設定とdocker-compose.yamlの書き方をdocker-composeバージョン別にまとめた。
- GitHubのREADME上で粗くならないGIFアニメーションをffmpegで作成する方法スクリーンレコード動画をffmpegでGIFアニメーションに変換してGitHubのREADMEに貼る際、画像が粗くなる問題を解決するffmpegパラメータのメモ。