目录
1.树莓派版本
2.无线网卡
查询无线网卡
1.如果为 Bus 001 Device 005: ID 0bda:b711 Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (After Modeswitch)
2.如果为 Bus 001 Device 007: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
150M高增益无线USB网卡
MW150UH
150M高增益无线USB网卡
MW150UH(免驱版)
目前针对USB接口处写有MW150UH的无线网卡,在树莓派4B上使用。
1.树莓派版本
树莓派版本:4B
树莓派系统内核:Linux raspberrypi 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
uname -a
树莓派系统:PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"、
cat /etc/os-release
2.无线网卡
查询无线网卡
lsusb|grep WLAN
1.如果为 Bus 001 Device 005: ID 0bda:b711 Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (After Modeswitch)
使用以下仓库为驱动GitHub - wandercn/RTL8188GU: Realtek RTL8188GU Driver for TP-link TL-WN725N USB wifiRealtek RTL8188GU Driver for TP-link TL-WN725N USB wifi - GitHub - wandercn/RTL8188GU: Realtek RTL8188GU Driver for TP-link TL-WN725N USB wifihttps://github.com/wandercn/RTL8188GU
推荐使用deb安装方法,避免自己编译,速度快。
- 安装所需的软件包并重新启动
sudo apt install -y dkms raspberrypi-kernel-headers raspberrypi-kernel raspberrypi-bootloader bc build-essential git dh-make
sudo reboot
- dkms deb 安装(提前将该deb下载到树莓派中) 资源在下面https://download.csdn.net/download/goolete/87325565https://download.csdn.net/download/goolete/87325565
dpkg -i 8188gu-dkms_1.0.1_armhf.deb
- 出现以下说明安装完成
DKMS: install completed.
Module build for kernel 5.10.103-v8+ was skipped since the
kernel headers for this kernel does not seem to be installed.
- 检查状态
sudo dkms status
8188gu, 1.0.1, 5.10.103+, arm: installed
至此,该驱动成功安装,输入
iwconfig
wlan1 IEEE 802.11bgn ESSID:"*******" Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency:2.452 GHz Access Point: 5C:A5:A4:7E:F5:C4
Bit Rate:72.2 Mb/s Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:****-****-****-****-****-****-****-**** Security mode:open
Power Management:off
Link Quality=98/100 Signal level=46/100 Noise level=0/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
树莓派板载wifi为wlan0,出现wlan1代表usb无线网卡。
2.如果为 Bus 001 Device 007: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
树莓派4B直接免驱,插上即可使用。