LoginSignup
12
15

More than 5 years have passed since last update.

Linux で使える USB無線LANアダプタの調査

Last updated at Posted at 2016-10-02

はじめに

Linux でモニタモードが使える USB無線LANアダプタの調査を行いました。


結果として、調査した無線LANアダプタの中にモニターモードが使えるものはありませんでした。
しかし、調査過程で動作するドライバ、コマンドなどが分かったので載せておきます。

追記 2017/5/1

偶然モニタモードが使える無線アダプタ見つけました!!

調査対象

調査環境

Arch Linux を使いました。
以下、カーネルと gcc のバージョン

$ uname -r
4.5.4-1-ARCH
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share
/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release                                    Thread model: posix
gcc version 6.2.1 20160830 (GCC)

調査内容

ドライバを導入して iwconfig, iw dev で認識するか、 airmon-ng (aircrack-ng) が動作するか、について調査しました。

調査結果

無線アダプタ iwconfig iw airmon-ng ドライバ 備考
GW-450S × × https://github.com/gnab/rtl8812au $ iwconfig mode monitor => opration not permitted
GW-450D2 × https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916 yaourt -S mt7610u_wifi_sta, $ airmon-ng => Operation not supported (-95)
GW-USFang300 × https://github.com/lwfinger/rtl8192du.git モニターモードにはなるが、周波数を変えることができない
WDC-433SU2M × https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916
TP-LINK AC600 × https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916
Aukey × https://github.com/Myria-de/mt7610u_wifi_sta_v3002_dpo_20130916
WLI-UC-AG300N Arch Linux(linux-lts カーネル?) では標準で rt2800usb が当たる 2.4G 5G 共に問題なく使える

おわりに

調査したUSB無線LANアダプタに、モニターモードが使えるものが存在しないことが分かりました。

WLI-UC-AG300N でモニタモードが使えることが判明しました。

補足として、USB ではないですが Intel の WiFi カードが簡単にモニタモードで使えます(6205 など)。

参考リンク

12
15
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
15