Open main menu

Wiki-Orange Pi β

Changes

USB wireless network card test

3,145 bytes added, 17:20, 25 April 2023
no edit summary
{| class="wikitable" style="width:800px;"
|-
|orangepi@orangepi:~$ '''lsmod'''<br>{| class<span style="wikitablemargin-right: 150px;" >Module</span><span style="widthmargin-right:800px50px;"|>Size </span><span style="margin-| Module || Size || right: 45px;">Used by</span><br>|<span style="margin-| right: 145px;">rfcomm || </span><span style="margin-right: 50px;">57344 || </span><span style="margin-right: 50px;">16</span><br>|<span style="margin-| right: 140px;">rtl8xxxu || </span><span style="margin-right: 50px;">106496 || </span><span style="margin-right: 30px;">0</span><br>|<span style="margin-| right: 135px;">rtk_btusb || </span><span style="margin-right: 50px;">61440 || </span><span style="margin-right: 30px;">0|}</span><br>
|}
3) Through the dmesg command, you can see the loading information of the RTL8723BU module<br>
{| class="wikitable" style="width:800px;"
|-
|orangepi@orangepi:~$ '''dmesg'''<br>......<br>[ 83.438901] usb 2-1: new high-speed USB device number 2 using ehci-platform<br>[ 83.588375] usb 2-1: New USB device found, idVendor=0bda, idProduct=b720, bcdDevice= 2.00<br>[ 83.588403] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 <br>[ 83.588422] usb 2-1: Product: 802.11n WLAN Adapter<br>[ 83.588443] usb 2-1: Manufacturer: Realtek<br>[ 83.588460] usb 2-1: SerialNumber: 00e04c000001<br>[ 83.601974] Bluetooth: hci0: RTL: examining hci_ver=06 hci_rev=000b lmp_ver=06 lmp_subver=8723<br>[ 83.603894] Bluetooth: hci0: RTL: rom_version status=0 version=1 <br>[ 83.603920] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_fw.bin<br>[ 83.610108] Bluetooth: hci0: RTL: loading rtl_bt/rtl8723b_config.bin <br>[ 83.611274] Bluetooth: hci0: RTL: cfg_sz 68, total sz 22564<br>[ 83.658494] rtk_btusb: Realtek Bluetooth USB driver ver 3.1.6d45ddf.20220519-142432<br>[ 83.658651] usbcore: registered new interface driver rtk_btusb<br>[ 83.667124] usb 2-1: This Realtek USB WiFi dongle (0x0bda:0xb720) is untested! <br>[ 83.667137] usb 2-1: Please report results to Jes.Sorensen@gmail.com<br>[ 83.890140] usb 2-1: Vendor: Realtek<br>[ 83.890153] usb 2-1: Product: 802.11n WLAN Adapter<br>[ 83.890159] usb 2-1: rtl8723bu_parse_efuse: dumping efuse (0x200 bytes):<br>......<br>[ 83.890412] usb 2-1: RTL8723BU rev E (SMIC) 1T1R, TX queues 3, WiFi=1, BT=1, GPS=0, HI PA=0<br>[ 83.890417] usb 2-1: RTL8723BU MAC: 00:13:ef:f4:58:ae<br>[ 83.890421] usb 2-1: rtl8xxxu: Loading firmware rtlwifi/rtl8723bu_nic.bin <br>[ 83.895289] usb 2-1: Firmware revision 35.0 (signature 0x5301)<br>[ 84.050893] Bluetooth: hci0: RTL: fw version 0x0e2f9f73 <br>[ 84.266905] Bluetooth: RFCOMM TTY layer initialized<br>[ 84.266949] Bluetooth: RFCOMM socket layer initialized <br>[ 84.266999] Bluetooth: RFCOMM ver 1.11<br>[ 84.884270] usbcore: registered new interface driver rtl8xxxu<br>[ 84.912046] rtl8xxxu 2-1:1.2 wlx0013eff458ae: renamed from wlan0<br>
|}
4) Then you can see the device node of RTL8723BU WIFI through the '''sudo ifconfig''' command. For the connection and test method of WIFI, please refer to <span style="color:#0066CC;">[[WIFI connection test | the section of WIFI connection test]]</span>, which will not be repeated here<br>
|orangepi@orangepi:~$ '''sudo ifconfig wlx0013eff458ae'''<br>
wlx0013eff458ae: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500<br>
:ether 00:13:ef:f4:58:ae txqueuelen 1000 (Ethernet) <br>:RX packets 0 bytes 0 (0.0 B)<br>:RX errors 0 dropped 0 overruns 0 frame 0<br>:TX packets 0 bytes 0 (0.0 B)<br>:TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br>
|}
5) Then you can see the USB Bluetooth device through the '''hciconfig''' command<br>
orangepi@orangepi:~$ '''hciconfig'''<br>
hci0: Type: Primary Bus: '''<span style="color:#FF0000">USB</span>'''<br>
:BD Address: 00:13:EF:F4:58:AE ACL MTU: 820:8 SCO MTU: 255:16 <br>:DOWN<br>:RX bytes:1252 acl:0 sco:0 events:125 errors:0<br>:TX bytes:23307 acl:0 sco:0 commands:125 errors:0<br>
|}
6) You can also see the bluetooth icon on the desktop. At this time, the bluetooth is not turned on, so a red '''<span style="color:#FF0000">x</span>''' will be displayed<br><br>
{| class="wikitable" style="width:800px;"
|-
|orangepi@orangepi:~$ '''lsmod'''<br>{| class<span style="wikitablemargin-right: 150px;" >Module</span><span style="widthmargin-right:800px50px;"|>Size </span><span style="margin-| Module || Size || right: 45px;">Used by</span><br>|<span style="margin-| right: 140px;">8821cu || </span><span style="margin-right: 50px;">1839104 || </span><span style="margin-right: 50px;">0|}</span><br>
|}
3) Through the dmesg command, you can see the loading information of the RTL8811 module<br>
[ 118.767219] usb 2-1: Manufacturer: Realtek<br>
[ 118.767235] usb 2-1: SerialNumber: 123456<br>
[ 119.500530] usbcore: registered new interface driver rtl8821cu<br>[ 119.525498] rtl8821cu 2-1:1.0 wlx1cbfced9d260: renamed from wlan0
|}
4) Then, you can see the WIFI device node through the sudo ifconfig command. For the WIFI connection and test method, please refer to <span style="color:#0066CC;">[[WIFI connection test | the WIFI connection test section]]</span>, which will not be repeated here<br>
|orangepi@orangepi:~$ '''sudo ifconfig wlx1cbfced9d260'''<br>
wlx1cbfced9d260: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 <br>
:ether 1c:bf:ce:d9:d2:60 txqueuelen 1000 (Ethernet)<br>:RX packets 0 bytes 0 (0.0 B)<br>:RX errors 0 dropped 0 overruns 0 frame 0<br>:TX packets 0 bytes 0 (0.0 B)<br>:TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0<br>
|}
{| class="wikitable" style="width:800px;"
|-
|orangepi@orangepi:~$ '''lsusb | grep "Realtek"'''<br>
Bus 002 Device 003: ID 0bda:c820 Realtek Semiconductor Corp. 802.11ac NIC
|}
{| class="wikitable" style="width:800px;background-color:#ffffdc;"
|-
|orangepi@orangepi:~$ '''lsusb | grep "Realtek"'''<br>
Bus 002 Device 002: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter '''<span style="color:#0066CC;">(Driver CDROM Mode)</span>'''<br><br>
{| class="wikitable" style="width:800px;"
|-
|orangepi@orangepi:~$ '''lsmod'''<br>{| class<span style="wikitablemargin-right: 150px;" >Module</span><span style="widthmargin-right:800px50px;"|>Size </span><span style="margin-| Module || Size || right: 45px;">Used by</span><br>|<span style="margin-| right: 140px;">8821cu || </span><span style="margin-right: 50px;">1839104 || </span><span style="margin-right: 50px;">0</span><br>|<span style="margin-| right: 130px;">rtk_btusb || </span><span style="margin-right: 50px;">61440 || </span><span style="margin-right: 30px;">0|}</span><br>
|}
4) Through the dmesg command, you can see the loading information of the rtl8821cu module<br>
|orangepi@orangepi:~$ '''sudo ifconfig wlx90de80521825'''<br>
wlx90de80521825: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500<br>
:ether 00:13:ef:f4:58:ae txqueuelen 1000 (Ethernet) <br>:RX packets 0 bytes 0 (0.0 B)<br>:RX errors 0 dropped 0 overruns 0 frame 0<br>:TX packets 0 bytes 0 (0.0 B)<br>:TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|}
6) Then you can see the USB Bluetooth device through the hciconfig command<br>
orangepi@orangepi:~$ '''hciconfig'''<br>
hci0: Type: Primary Bus: '''<span style="color:#FF0000">USB</span>'''<br>
:BD Address: 00:13:EF:F4:58:AE ACL MTU: 820:8 SCO MTU: 255:16 <br>:DOWN<br>:RX bytes:1252 acl:0 sco:0 events:125 errors:0<br>:TX bytes:23307 acl:0 sco:0 commands:125 errors:0
|}
7) You can also see the bluetooth icon on the desktop. At this time, the bluetooth is not turned on, so a red '''<span style="color:#FF0000">x</span>''' will be displayed<br><br>
9) The display after turning on Bluetooth is as follows<br><br>
[[Image:Pi-5-details2-pic06.png]]<br><br>
10) For the test method of Bluetooth, please refer to <span style="color:#0066CC;">[[How to use Bluetooth | the section on Bluetooth usage]]</span>, so I won’t won't go into details here<br><br>