2. Comfast CF-916AC
続いてはRealtek系の一番手、利得6dBiの外部アンテナが長い、Comfast CF-916ACです(2017年にRMB68で購入)。RTL8811AU搭載で11ac対応で速度は最大433Mbps、USBポートは2.0仕様です。
lsusb で確認したUSB情報は以下の通り。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
$ lsusb -s 2:3 -v Bus 002 Device 003: ID 0bda:a811 Realtek Semiconductor Corp. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0bda Realtek Semiconductor Corp. idProduct 0xa811 bcdDevice 2.00 iManufacturer 1 iProduct 2 iSerial 3 bNumConfigurations 1 |
まずは型番から類推して kmod-rtl8xxxu を試してみます。
1 2 3 4 5 |
kmod-rtl8xxxu - 5.4.179+5.10.85-1-1 - This is an alternative driver for various Realtek RTL8XXX parts written to utilize the Linux mac80211 stack. The driver is known to work with a number of RTL8723AU, RL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU devices This driver is under development and has a limited feature set. In particular it does not yet support 40MHz channels and power management. However it should have a smaller memory footprint than the vendor drivers and benetifs from the in kernel mac80211 stack. It can coexist with drivers from drivers/staging/rtl8723au, drivers/staging/rtl8192u, and drivers/net/wireless/rtlwifi, but you will need to control which module you wish to load. RTL8XXXU_UNTESTED is enabled This option enables detection of Realtek 8723/8188/8191/8192 WiFi USB devices which have not been tested directly by the driver author or reported to be working by third parties. Please report your results! root@R2S:~# opkg install kmod-rtl8xxxu Installing kmod-rtl8xxxu (5.4.179+5.10.85-1-1) to root... Downloading https://downloads.openwrt.org/releases/21.02.2/targets/rockchip/armv8/packages/kmod-rtl8xxxu_5.4.179%2b5.10.85-1-1_aarch64_generic.ipk Configuring kmod-rtl8xxxu. |
再起動後、ログを見ながらUSB WiFiアダプタを挿してみますが、正しく認識されませんでした。
1 2 3 4 5 6 7 |
root@R2S:~# lsusb Bus 002 Device 001: ID 1d6b:0001 Linux 5.4.179 ohci_hcd Generic Platform OHCI controller Bus 004 Device 002: ID 0bda:8153 Realtek USB 10/100/1000 LAN Bus 004 Device 001: ID 1d6b:0003 Linux 5.4.179 xhci-hcd xHCI Host Controller Bus 001 Device 002: ID 0bda:a811 Realtek 802.11ac WLAN Adapter Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.179 ehci_hcd EHCI Host Controller Bus 003 Device 001: ID 1d6b:0002 Linux 5.4.179 xhci-hcd xHCI Host Controller |
そこで先ほどと同じ要領でドライバとパッケージを削除した後、今度は kmod-rtl8812au-ct を入れてみました。
1 2 3 4 |
kmod-rtl8812au-ct - 5.4.179+2020-01-12-e0d586aa-2 - Driver for Realtek 8812 AU devices comfast 912-ac, etc root@R2S:~# opkg install kmod-rtl8812au-ct Installing kmod-rtl8812au-ct (5.4.179+2020-01-12-e0d586aa-2) to root... Downloading https://downloads.openwrt.org/releases/21.02.2/targets/rockchip/armv8/packages/kmod-rtl8812au-ct_5.4.179%2b2020-01-12-e0d586aa-2_aarch64_generic.ipkConfiguring kmod-rtl8812au-ct. |
すると wlan0 インターフェイス登場し、LuCIからもスキャン出来るのですが、
1 2 3 4 5 6 7 |
root@R2S:~# ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 40:A5:EF:##:##:## BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
APとして使用しようとすると、Radio0はいくら設定を見直してもアクティブにはなりませんでした。購入当時は確か、Linuxで使えるとの記述からこのアダプタを選んで気がするのですが、APモードまでは実装出来ていないのかも知れません。
3. 型番不明RTL8812AU搭載品
次のRealtek系は、NanoPi R2S OpenWRTの AP STA動作対応を謳うこちらのアダプタ、メーカーも型番も不明ですが、RTL8812AU搭載しているようです(2021年にRMB70にて購入)。
USBアタッチ時のログ情報に出て来るシリアル番号がインチキっぽいのですが、取り敢えずRTL8812AUと言っているのを信じます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
[20689.143180] usb 2-1.3: USB disconnect, device number 3 [24423.440592] usb 2-1.3: new high-speed USB device number 4 using ehci-pci [24423.557676] usb 2-1.3: New USB device found, idVendor=0bda, idProduct=b812 [24423.557679] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [24423.557681] usb 2-1.3: Product: 802.11ac NIC [24423.557683] usb 2-1.3: Manufacturer: Realtek [24423.557684] usb 2-1.3: SerialNumber: 123456 $ lsusb -s 2:4 -v Bus 002 Device 004: ID 0bda:b812 Realtek Semiconductor Corp. Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0bda Realtek Semiconductor Corp. idProduct 0xb812 bcdDevice 2.10 iManufacturer 1 Realtek iProduct 2 802.11ac NIC iSerial 3 123456 bNumConfigurations 1 |
これも先ほどと同じ kmod-rtl8812au-ctを試すのですが、アダプタを挿してもドライバが適用され、デバイスが正しく認識されることは有りませんでした。
1 2 3 4 5 6 7 |
root@R2S:~# lsusb Bus 002 Device 001: ID 1d6b:0001 Linux 5.4.179 ohci_hcd Generic Platform OHCI controller Bus 004 Device 002: ID 0bda:8153 Realtek USB 10/100/1000 LAN Bus 004 Device 001: ID 1d6b:0003 Linux 5.4.179 xhci-hcd xHCI Host Controller Bus 001 Device 002: ID 0bda:b812 Realtek 802.11ac NIC Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.179 ehci_hcd EHCI Host Controller Bus 003 Device 001: ID 1d6b:0002 Linux 5.4.179 xhci-hcd xHCI Host Controller |
本製品がNanoPi R2S対応を謳っていたのはおそらく、FriendlyElecがOpenWRT 19.07をベースに公開しているFriendlyWRTでの話なのかなと思います。
4. Linksys AE3000
Linksys AE3000はWiFi4(802.11n)までしか対応していない古いアダプタで、MediaTek傘下のRalink RT3573を搭載しています。
RaLink系では定番のRT2800ドライバが使えるようなのでパッケージを検索し、 kmod-rt2800-usb をインストールします。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
root@R2S:~# opkg list | grep rt2800* kmod-rt2800-lib - 5.4.179+5.10.85-1-1 - Ralink Drivers for RT2x00 cards (rt2800 LIB) kmod-rt2800-mmio - 5.4.179+5.10.85-1-1 - Ralink Drivers for RT2x00 cards (RT28xx/RT3xxx MMIO) kmod-rt2800-pci - 5.4.179+5.10.85-1-1 - Ralink Drivers for RT2x00 cards (RT2860 PCI) kmod-rt2800-usb - 5.4.179+5.10.85-1-1 - Ralink Drivers for RT2x00 cards (RT2870 USB) rt2800-pci-firmware - 20211216-1 - Ralink RT28xx/3xxx PCI/SoC firmware rt2800-usb-firmware - 20211216-1 - Ralink RT28xx/3xxx USB firmware root@R2S:~# opkg install kmod-rt2800-usb Installing kmod-rt2800-usb (5.4.179+5.10.85-1-1) to root... Downloading https://downloads.openwrt.org/releases/21.02.2/targets/rockchip/armv8/packages/kmod-rt2800-usb_5.4.179%2b5.10.85-1-1_aarch64_generic.ipk Installing kmod-rt2x00-lib (5.4.179+5.10.85-1-1) to root... Downloading https://downloads.openwrt.org/releases/21.02.2/targets/rockchip/armv8/packages/kmod-rt2x00-lib_5.4.179%2b5.10.85-1-1_aarch64_generic.ipk Installing kmod-rt2x00-usb (5.4.179+5.10.85-1-1) to root... Downloading https://downloads.openwrt.org/releases/21.02.2/targets/rockchip/armv8/packages/kmod-rt2x00-usb_5.4.179%2b5.10.85-1-1_aarch64_generic.ipk Installing kmod-rt2800-lib (5.4.179+5.10.85-1-1) to root... Downloading https://downloads.openwrt.org/releases/21.02.2/targets/rockchip/armv8/packages/kmod-rt2800-lib_5.4.179%2b5.10.85-1-1_aarch64_generic.ipk Installing rt2800-usb-firmware (20211216-1) to root... Downloading https://downloads.openwrt.org/releases/21.02.2/packages/aarch64_generic/base/rt2800-usb-firmware_20211216-1_aarch64_generic.ipkConfiguring kmod-rt2x00-lib. Configuring kmod-rt2x00-usb. Configuring kmod-rt2800-lib. Configuring rt2800-usb-firmware. Configuring kmod-rt2800-usb. |
再起動後、ログを見ながらWiFiアダプタを挿すとドライバが当たり、 wlan0 インターフェイスが現れます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
root@R2S:~#logread -f Thu Jun 16 15:06:58 2022 kern.info kernel: [ 85.810054] usb 1-1: new high-speed USB device number 2 using ehci-platform Thu Jun 16 15:06:59 2022 kern.info kernel: [ 86.120448] usb 1-1: reset high-speed USB device number 2 using ehci-platform Thu Jun 16 15:06:59 2022 kern.info kernel: [ 86.285490] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3593, rev 0402 detected Thu Jun 16 15:06:59 2022 kern.info kernel: [ 86.316135] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 000d detected Thu Jun 16 15:06:59 2022 kern.debug kernel: [ 86.317225] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' root@R2S:~# ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 20:AA:4B:##:##:## BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
SSIDを同じように設定後、速度計測をしてみるのですが、やはり802.11nと言う世代の古さは否めません。
次ページでは最後にもう一つMediaTek系のWiFiアダプタを試してみます。