zakkieaのブログ

野良ハックチーム ざっきーの雑感など

格安 USB to Ethernet LAN アダプターをいくつか試してみた。

Raspberry Pi Zero / Zero W を有線 LAN 接続するため格安 USB to Ethernet LAN アダプターをいくつか試してみた。

購入したもの

  • USB 2.0 to Fast Ethernet
    • AX88772B ($2.73)
    • RTL8152 ($2.27)

f:id:zakkiea:20190115235916p:plain

  • USB 3.0 to Gigabit Ethernet
    • RTL8153 ($4.99)

f:id:zakkiea:20190115235927p:plain

Mac へ接続したときのログ

  • AX88772B
$ system_profiler SPUSBDataType

    AX88772B:

          Product ID: 0x772b
          Vendor ID: 0x0b95  (ASIX Electronics Corporation)
          Version: 0.01
          Serial Number: ******
          Speed: Up to 480 Mb/sec
          Manufacturer: ASIX Elec. Corp.
          Location ID: 0x14100000 / 9
          Current Available (mA): 500
          Current Required (mA): 200
          Extra Operating Current (mA): 0
  • RTL8152
$ system_profiler SPUSBDataType

    USB 10/100 LAN:

          Product ID: 0x8152
          Vendor ID: 0x0bda  (Realtek Semiconductor Corp.)
          Version: 20.00
          Serial Number: ************
          Speed: Up to 480 Mb/sec
          Manufacturer: Realtek
          Location ID: 0x14100000 / 11
          Current Available (mA): 500
          Current Required (mA): 100
          Extra Operating Current (mA): 0
  • RTL8153
$ system_profiler SPUSBDataType

    USB 10/100/1000 LAN:

          Product ID: 0x8153
          Vendor ID: 0x0bda  (Realtek Semiconductor Corp.)
          Version: 30.00
          Serial Number: ******
          Speed: Up to 480 Mb/sec
          Manufacturer: Realtek
          Location ID: 0x14100000 / 12
          Current Available (mA): 500
          Current Required (mA): 350
          Extra Operating Current (mA): 0

Raspberry Pi Zero W へ接続したときのログ

  • AX88772B
$ lsusb
Bus 001 Device 002: ID 0b95:772b ASIX Electronics Corp. AX88772B
  • RTL8152
$ lsusb
Bus 001 Device 002: ID 0bda:8152 Realtek Semiconductor Corp. 
  • RTL8153
 $ lsusb
Bus 001 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. 

性能評価結果

  • AX88772B
$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.3.16 port 5001 connected with 192.168.3.28 port 50090
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.1 sec   113 MBytes  94.1 Mbits/sec
[  5] local 192.168.3.16 port 5001 connected with 192.168.3.28 port 50135
[  5]  0.0-10.1 sec   113 MBytes  94.1 Mbits/sec
[  4] local 192.168.3.16 port 5001 connected with 192.168.3.28 port 50164
[  4]  0.0-10.1 sec   113 MBytes  94.1 Mbits/sec
  • RTL8152
$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.3.16 port 5001 connected with 192.168.3.27 port 51068
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec   113 MBytes  94.2 Mbits/sec
[  5] local 192.168.3.16 port 5001 connected with 192.168.3.27 port 51097
[  5]  0.0-10.0 sec   113 MBytes  94.1 Mbits/sec
[  4] local 192.168.3.16 port 5001 connected with 192.168.3.27 port 51126
[  4]  0.0-10.0 sec   113 MBytes  94.1 Mbits/sec
  • RTL8153
$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.2.35, port 50801
[  5] local 192.168.3.27 port 5201 connected to 192.168.2.35 port 50802
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  38.6 MBytes   324 Mbits/sec                  
[  5]   1.00-2.00   sec  40.0 MBytes   336 Mbits/sec                  
[  5]   2.00-3.00   sec  40.1 MBytes   336 Mbits/sec                  
[  5]   3.00-4.00   sec  41.3 MBytes   346 Mbits/sec                  
[  5]   4.00-5.00   sec  39.5 MBytes   331 Mbits/sec                  
[  5]   5.00-6.00   sec  41.6 MBytes   349 Mbits/sec                  
[  5]   6.00-7.00   sec  41.5 MBytes   348 Mbits/sec                  
[  5]   7.00-8.00   sec  40.8 MBytes   343 Mbits/sec                  
[  5]   8.00-9.00   sec  40.9 MBytes   343 Mbits/sec                  
[  5]   9.00-10.00  sec  41.1 MBytes   344 Mbits/sec                  
[  5]  10.00-10.04  sec  1.55 MBytes   342 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.04  sec   407 MBytes   340 Mbits/sec                  receiver

その他気づいた点

  • AX88772B

速度は 94 Mbits/sec くらい。
発熱が少し気になる。(電流値: 200mA)

  • RTL8152

速度は 94 Mbits/sec くらい。
発熱はない。(電流値: 100mA)
LED (Link / Activity ともに) が点滅しないので外見から動作しているか分からない。

  • RTL8153

速度は 340 Mbits/sec くらい。(USB2.0 で接続されているのでこの程度。)
発熱はない。(電流値: 350mA)