Raspberry Pi Realtek RTL8188ETV USB Wifi Dongle

Realtek製RTL8188ETV USB Wifiドングルのドライバについて。RTL8188ETVはRTL8188EUのスモールファクターバージョンでドライバはRTL8188EUと同一ですが、Raspbianによる標準8188EUドライバでは接続が非常に不安定です。

Realtek製Wifiチップ型番は以下サイトが参考になります。

https://wikidevi.com/wiki/Realtek

lsusbなどのコマンドにより、接続されたUSBドングル型番がRTL8188ETVまたはRTL8188EUの場合は以下を参照してドライバーをインストールして下さい。

https://www.raspberrypi.org/forums/viewtopic.php?p=462982

1.カーネルバージョンを確認します。

uname -a

Linux raspberrypi 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l GNU/Linux

2.バージョン 4.4.38-v7+ #938 に合致したものをダウンロードします。ダウンロード先は任意です。

wget https://dl.dropboxusercontent.com/u/80256631/8188eu-4.4.38-v7-938.tar.gz

3.ダウンロードしたファイルを解凍します。

tar xzf 8188eu-4.4.38-v7-938.tar.gz

4.以下シェルコマンドを実行しドライバをインストールします。

./install.sh

5.iw list によりWifiドングルがサポートしているモードを確認します。

iw list

Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * monitor
		 * P2P-client
		 * P2P-GO

AP(アクセスポイント)モードをサポートしているのでRaspberry Piをルータとしても利用できるようになります。

<補足>
カーネルのアップデートによりドライバが入れ替わるため、その都度アップデートが必要となります。
そのためのスクリプトが用意されています。

sudo wget https://dl.dropboxusercontent.com/u/80256631/install-wifi -O /usr/bin/install-wifi

sudo chmod +x /usr/bin/install-wifi

以下コマンドを実行して最新ドライバにして下さい。

sudo install-wifi -h

http://elinux.org/RPi_USB_Wi-Fi_Adapters

Comfast
WU710N: chipset RTL8188CUS. The rtl8192cu kernel driver is loaded automatically in the latest Raspian distribution. Wifi access point configuration - see tutorial and configuration script

WU712P: chipset RTL8188EU. Requires powered USB hub. Works with usb_max_current=1 on Raspberry Pi B+ without powered USB hub. In-built drivers are buggy. Had to use lwfinger/rtl8188eu drivers and jenssegers/RTL8188-hostapd.

RTL8188EUのRaspbianドライバはUSBによる供給電流が指定されていないため不安定な動作となるようです。コンパイル時にusb_max_current=1を指定する必要があります。

WU810N (150M): Works out of the box on wheezy raspbian of version 2012-12-16. Update: New versions of this device use an 8188EUS chip and will not work out of the box on raspbian as this driver is not compiled, although it is available in staging.