LoginSignup
2
0

More than 3 years have passed since last update.

Wi-Fi通信速度測定 2 ~ここWi-Fi飛んでんな~

Posted at

【序文】

前回 Wi-Fi通信速度測定 の続き。
WI-U2-433DHP が安売りされていたので買ってきて Pi3 に繋げてみたので記録に残す。

【ドライバ導入】

Linux で Wi-Fi は鬼門。ドライバが問題になる。しかも RapberryPi は ARM だしで。
幸い同機(同チップ)ドライバのコンパイルを含めた導入手順を公開している方がいらっしゃったのでそちらを参考にさせていただいた。多謝。
USB端子に接続して使う11ac対応無線LAN子機 WI-U2-433DHP をRaspberry Pi 3 につけてみた – とりあえずノートがわりに書いてます

【その他の設定】

ドライバのインストールが完了すると無事認識してくれた。

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether b8:27:eb:ac:f7:00 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
    link/ether b8:27:eb:f9:a2:55 brd ff:ff:ff:ff:ff:ff
4: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 18:c2:bf:b1:77:50 brd ff:ff:ff:ff:ff:ff

wlan0 がオンボード Wi-Fi、wlan1 が追加したやつ。
このままでは、オンボードの Wi-Fi が優先されてしまうので、以下コマンドで止める。

$ sudo iwconfig wlan0 txpower off

因みにモジュールの登録は rootユーザで。

# echo rtl8821au > /etc/modules-load.d/rtl8821au.conf

【速度測定】

前回 と同様に速度測定。

pi@raspberrypi3:~ $ iperf3 -c 192.168.11.101
Connecting to host 192.168.11.101, port 5201
[  4] local 192.168.11.110 port 52798 connected to 192.168.11.101 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  12.2 MBytes   102 Mbits/sec    0    559 KBytes       
[  4]   1.00-2.00   sec  11.2 MBytes  94.4 Mbits/sec    1    461 KBytes       
[  4]   2.00-3.00   sec  11.2 MBytes  93.9 Mbits/sec    0    509 KBytes       
[  4]   3.00-4.00   sec  11.2 MBytes  94.3 Mbits/sec    0    543 KBytes       
[  4]   4.00-5.00   sec  11.2 MBytes  94.3 Mbits/sec    0    563 KBytes       
[  4]   5.00-6.00   sec  11.2 MBytes  94.4 Mbits/sec    0    571 KBytes       
[  4]   6.00-7.00   sec  11.2 MBytes  93.9 Mbits/sec    0    574 KBytes       
[  4]   7.00-8.00   sec  11.2 MBytes  94.4 Mbits/sec    0    574 KBytes       
[  4]   8.00-9.00   sec  11.2 MBytes  93.8 Mbits/sec    0    574 KBytes       
[  4]   9.00-10.00  sec  11.2 MBytes  94.3 Mbits/sec    0    580 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   113 MBytes  95.0 Mbits/sec    1             sender
[  4]   0.00-10.00  sec   112 MBytes  94.0 Mbits/sec                  receiver

iperf Done.

95.0 Mbits/sec と、3B+ のオンボード Wi-Fi と同程度の結果。
可もなく不可もなくな感じ。

2
0
0

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
2
0