itips diary

itips diary

日々の振り返り

debianにusbのwifiアダプター(awus036ach)を導入

基本手順はドライバーをDL、アダプターの接続設定の流れ。alfaのドライバーは基本的に公式が用意しているものはmakeできないので色々方法がある。
How to install the driver for W-Fi for cards with RTL8812AU/RTL8821AU chipsets (Alfa AWUS036ACH, Alfa AWUS036AC) - Ethical hacking and penetration testingdebianのパターンを参照する。

sudo apt update
sudo apt install git build-essential libelf-dev linux-headers-`uname -r` debhelper dpkg-dev dkms bc

もうすでに入ってるでしょみたいなのもあれば入れなくてもヨシ。

git clone https://github.com/aircrack-ng/rtl8812au
cd rtl*
sudo make dkms_install

dkmsならカーネル更新時に手動コンパイル要らんのか。
あとはリブートしてwifiが探せるようになっているので接続するだけ。