Download Corresponding Image
Use Network Disk🚀 to download our provided .img image file from the System Image/Buildroot/ directory.
The image used in this document is: TaishanPi-3M-RK3576_Buildroot_RTL8852BE.img
Download the image containing the corresponding model.
| # | Model Name | Purchase Link | Remarks |
|---|---|---|---|
| 1 | RTL8852BE | Link | Testing&Reference&No cooperation only (if purchasing, ask the merchant to give a metal extension plate to secure the module) |
| 2 |
Connect PCIe WiFi Module
Flash Image to Development Board
Reference Finished Image Flashing to flash the downloaded image file to the development board.
Test Network Connection
Check if the wlan0 device exists:
bash
ifconfig1
Check if the wlan0 device is using the RTL8852BE chip driver:
bash
readlink -f /sys/class/net/wlan0/device/driver1
If the wlan0 device exists, it means the WiFi driver is loaded successfully. We proceed to connect to the WiFi network:
- Open the
/etc/wpa_supplicant.conffile and modifyssidandpsk:
ssidis the WiFi name, andpskis the WiFi password.
For example:
conf
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
update_config=1
network={
ssid="tspi-wifi-test_5G"
psk="www.lckfb.com"
key_mgmt=WPA-PSK
}1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
- Create a
/var/run/wpa_supplicantdirectory:
bash
mkdir -p /var/run/wpa_supplicant1
- Kill any possibly running
wpa_supplicantprocess:
bash
killall wpa_supplicant1
- Use the
wpa_supplicantcommand to connect to the WiFi network:
bash
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf1
- Obtain IP address (optional step, if IP address is not automatically obtained):
bash
udhcpc -i wlan01
After successful connection, you can use the ping command to test if the network is connected: