Open main menu

Wiki-Orange Pi β

Changes

USB wireless network card test

739 bytes added, 20:57, 24 April 2023
no edit summary
|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: 150px;">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:~$ '''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: 150px;">8821cu || </span><span style="margin-right: 50px;">1839104 || </span><span style="margin-right: 50px;">0</span><br>|<span style="margin-| right: 140px;">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>