Wireless
This section describes how to use the wireless network card function on the Raspberry Pi (as used below), laying the foundation for subsequent project development.
Note: The PCIe interface must be enabled before using this function.
Enable PCIe Interface
- Enabling the PCIe gen3 interface (PCIe gen2 is enabled by default)
- Edit the config.txt file
sudo nano /boot/firmware/config.txt
- PCIe defaults to gen2. To enable PCIE gen3, add the following to config.txt
dtparam=pciex1_gen=3
- After modification, reboot the Raspberry Pi to recognize the device
sudo reboot
- After reboot, check the PCIe recognition status (the output may vary depending on the module)
lspci
- Edit the config.txt file
Wireless Network Card Operations
- If the PCIe interface is not enabled, enable the PCIe interface first