Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 detail

73 bytes removed, 16:39, 21 April 2023
查询 AP6275P PCIe 网卡使用方法
|}
=== 查询 How to use AP6275P PCIe 网卡使用方法 network card ===1) 首先需要购买一个下图所示的 First, you need to purchase an AP6275P PCIe 网卡network card as shown in the figure below<br><br>
[[Image:Pi-5-details-pic87.png]]<br><br>
2) 然后将 Then insert the AP6275P PCIe 网卡插入开发板的 network card into the M.2 接口中并固定好interface of the development board and fix it<br><br>
[[Image:Pi-5-details-pic88.png]]<br><br>
3) 然后在 linux 系统中打开 Then open the configuration of the AP6275P PCIe 网卡的配置,步骤如下所示:network card in the linux system, the steps are as follows:<br>a. 首先运行下 First run '''orangepi-config''',普通用户记得加 ''', normal users remember to add sudo''' 权限permission<br>
{| class="wikitable" style="width:800px;"
|-
|orangepi@orangepi:~$ '''sudo orangepi-config'''
|}
b. 然后选择 Then select '''System'''<br><br>
[[Image:Pi-5-details-pic89.png]]<br><br>
c. 然后选择 Then select '''Hardware'''<br><br>
[[Image:Pi-5-details-pic90.png]]<br><br>
d. 然后使用使用键盘的方向键定位到 Then use the arrow keys on the keyboard to navigate to '''wifi-ap6275p''',再使用空格选中<br>{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <br><big>, and then use the '''请不要同时选中 ssd-sata。space'''</big><br>to select<br>|}
[[Image:Pi-5-details-pic91.png]]<br><br>
e. 然后选择Then select '''<Save>'''保存to save<br><br>
[[Image:Pi-5-details-pic92.png]]<br><br>
f. 然后选择Then select '''<Back>'''<br><br>
[[Image:Pi-5-details-pic93.png]]<br><br>
g. 然后选择Then select '''<Reboot>'''重启系统使配置生效to restart the system to make the configuration take effect<br><br>
[[Image:Pi-5-details-pic94.png]]<br><br>
{| class="wikitable" style="background-color:#ffffdc;width:800px;"
|-
|上面的设置最终会在'''/boot/orangepiEnv.txt''' 中加入 '''The above settings will eventually add the configuration of <span style="color:#FF0000">overlays=wifi-ap6275p</span>to /boot/orangepiEnv.txt. After setting, you can check it first. If this configuration does not exist, then there is a problem with the settings.''' 这句配置。设置完后可以先检查下。如果不存在这句配置,那么设置就是有问题。<br>如果觉得使用 '''If you find it troublesome to use orangepi-config''' 比较麻烦,也可以打开''', you can also open /boot/orangepiEnv.txt''',然后加入 ''', and then add the configuration of overlays=wifi-ap6275p''' 这句配置也是可以。<br><br>orangepi@orangepi:~$ '''cat /boot/orangepiEnv.txt | grep “ap6275p”'''
|}
4) 重启系统后如果一切正常,此时使用下面的命令就能看到 If everything is normal after restarting the system, use the following command to see the device nodes of WIFI 和蓝牙的设备节点了and Bluetooth<br>a. 查看 The command to view the WIFI 设备节点的命令如下所示:device node is as follows:<br>
{| class="wikitable" style="width:800px;"
|-
|orangepi@orangepi:~$ '''ip addr show wlan0'''<br>
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500<br>
qdisc fq_codel state DORMANT group default qlen 1000 <br>link/ether 70:f7:54:b8:b3:17 brd ff:ff:ff:ff:ff:ff
|}
b. 查看蓝牙设备节点的命令如下所示:The command to view the Bluetooth device node is as follows:<br>
{| class="wikitable" style="width:800px;"
|-
|rangepiorangepi@orangepi:~$ '''hciconfig -a'''<br>
hci0: Type: Primary Bus: UART<br>
BD Address: 82:CC:AE:62:CE:3E ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING<br>
RX bytes:958 acl:0 sco:0 events:73 errors:0<br>
TX bytes:5544 acl:0 sco:0 commands:73 errors:0<br>Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87<br>
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3<br>
Link policy: RSWITCH SNIFF Link mode: SLAVE ACCEPT Name: 'orangepi5'<br>
Class: 0x1c0000<br>
Service Classes: Rendering, Capturing, Object Transfer Device Class: Miscellaneous,<br>
HCI Version: 5.1 (0xa) Revision: 0x3f9 <br>LMP Version: 5.1 (0xa) Subversion: 0x1111Manufacturer: Broadcom Corporation (15)
|}
5) For the wifi 的连接和测试方法请参看 <span style="color:#0066CC;">[[Orange Pi 5 detail#查询 connection and test method, please refer to the section of WIFI 连接测试 | WIFI 连接测试]]</span>一节,这里不再赘述connection test, which will not be repeated here<br><br>6) 蓝牙的测试方法请参看<span style="color:#0066CC;">[[Orange Pi 5 detail#蓝牙使用方法 | 蓝牙使用方法]]</span>一节,这里不再赘述For the test method of Bluetooth, please refer to the section on Bluetooth usage, so I won’t go into details here<br><br>
=== 查询 AP6275P PCIe 网卡通过 create_ap 创建 WIFI 热点的方法 ===