How to use AP6275P PCIe network card

From Wiki-Orange Pi
Jump to: navigation, search

1) First, you need to purchase an AP6275P PCIe network card as shown in the figure below

Pi-5-details-pic87.png

2) Then insert the AP6275P PCIe network card into the M.2 interface of the development board and fix it

Pi-5-details-pic88.png

3) Then open the configuration of the AP6275P PCIe network card in the linux system, the steps are as follows:
a. First run orangepi-config, normal users remember to add sudo permission

orangepi@orangepi:~$ sudo orangepi-config

b. Then select System

Pi-5-details-pic89.png

c. Then select Hardware

Pi-5-details-pic90.png

d. Then use the arrow keys on the keyboard to navigate to wifi-ap6275p, and then use the space to select
Pi-5-details-pic91.png

e. Then select <Save> to save

Pi-5-details-pic92.png

f. Then select <Back>

Pi-5-details-pic93.png

g. Then select <Reboot> to restart the system to make the configuration take effect

Pi-5-details-pic94.png

The above settings will eventually add the configuration of overlays=wifi-ap6275p 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.

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.

rangepi@orangepi:~$ cat /boot/orangepiEnv.txt | grep “ap6275p”
overlays=wifi-ap6275p

4) If everything is normal after restarting the system, use the following command to see the device nodes of WIFI and Bluetooth
a. The command to view the WIFI device node is as follows:

orangepi@orangepi:~$ ip addr show wlan0

3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc fq_codel state DORMANT group default qlen 1000

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:

orangepi@orangepi:~$ hciconfig -a

hci0: Type: Primary Bus: UART

BD Address: 82:CC:AE:62:CE:3E ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:958 acl:0 sco:0 events:73 errors:0
TX bytes:5544 acl:0 sco:0 commands:73 errors:0
Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH SNIFF
Link mode: SLAVE ACCEPT
Name: 'orangepi5'
Class: 0x1c0000
Service Classes: Rendering, Capturing, Object Transfer
Device Class: Miscellaneous,
HCI Version: 5.1 (0xa) Revision: 0x3f9
LMP Version: 5.1 (0xa) Subversion: 0x1111
Manufacturer: Broadcom Corporation (15)

5) For the wifi connection and test method, please refer to the section of WIFI connection test, which will not be repeated here

6) For the test method of Bluetooth, please refer to the section on Bluetooth usage, so I won’t go into details here