There are no drivers for the RTL8852BE for intel i7-(idk)P. There is one in the Wifibox but that's AMD ryzen.
sys/modules/rtw89 # make install
# cd /usr/src/sys/modules/rtw89
# make && make install
# cd /usr/src/sys/modules/rtw89fw
# make && make install
No problem here. Did you fetch the right FreBSD source (releng/14.1)?I tried to build rtw89 on a fresh install of 14.1-RELEASE, and the build immediately failed,
If you don't mind occupying a USB port and spend a few bucks you could use a supported wifi nano USB adapter, or, if possible, change the pci wifi card.I have an HP14 i3 with RTL8852BE (a low-end, lightweight notebook), which would be great to use for travel due to its portability, but only if Wifi is supported since it doesn't have an RJ45 port.
apropos wireless
will show (mostly) information about wireless driver manuals. Those manual have (non-exhaustive) model listings.Wifibox deploys a Linux guest (in bhyve(8)) to drive a wireless networking card on
the FreeBSD host system with the help of PCI pass-through.
# cd /usr/ports/net/wifibox
# make install clean FLAVOR=rtw89
Yes - on the notebook computer, I selected to install source from the installation media. On a development box, I used git to pull releng/14.1-RELEASE. Both failed, but with different error messages.No problem here. Did you fetch the right FreBSD source (releng/14.1)?
I also tried finding rtw89 in ports and tried both locations:I forgot to mention, driver firmware are needed as well ( sys/modules/rtw89fw # make install ) or net/wifi-firmware-rtw89-kmod
#cd /usr/src/sys/modules/rtw89 && make install
install -T release -o root -g wheel -m 444 if)rtw89.ko /boot modules/
install: if_rtw89.ko: no such file or directory
*** Error code 71
Stop.
make: stopped in /usr/src/sys/modules/rtw89
#cd /usr/src/sys/contrib/dev/rtw89 && make install
make: don't know how to make install. Stop.
Thanks - This is a much better option for me - it looks like there are supported chipsets in PCI and USB forms for <= USD$30. It is much easier to get a device with a supported chipset than troubleshooting a driver for firmware that isn't expected to work yet.If you don't mind occupying a USB port and spend a few bucks you could use a supported wifi nano USB adapter, or, if possible, change the pci wifi card.
USB adapters search model name or device ID in sys/dev/usb/usbdevs.apropos wireless
will show (mostly) information about wireless driver manuals. Those manual have (non-exhaustive) model listings.
This sounds like a great option if the notebook also had a wired connection handy to bootstrap it (otherwise, installing a package on an air-gapped system is more effort, especially compared to getting a PCI/USB with a chipset that is supported).Another option is net/wifibox
Package name: wifi-firmware-rtw89-kmodCode:Wifibox deploys a Linux guest (in bhyve(8)) to drive a wireless networking card on the FreeBSD host system with the help of PCI pass-through.
Build from ports:
Code:# cd /usr/ports/net/wifibox # make install clean FLAVOR=rtw89
I myself use a spare wifi adapter I have laying around, can't use wifibox running in bhyve(8). The bhyve(8) kernel module (vmm(4)) interferes with VirtualBox kernel modules.
The command should have been#cd /usr/src/sys/modules/rtw89 && make install
# cd /usr/src/sys/modules/rtw89
# make && make install
# cd /usr/src/sys/modules/rtw89fw
# make && make install
Right, forgot about that.This sounds like a great option if the notebook also had a wired connection
# sysrc kld_list="${kld_list} if_rtw89"
rtw89_8852be0: <rtw89_8852be> port 0x3000-0x30ff mem 0x80500000-0x805fffff at device 0.0 on pci1
rtw89_8852be0: <rtw89_8852be> could not load firmware image 'rtw89/rtw8852b_fw-1.bin'
rtw89_8852be0: <rtw89_8852be> could not load firmware image 'rtw89/rtw8852b_fw.bin'
# find / -iname rtw8852*fw*
I can't tell, I haven't looked into the issue for a while.The result was that there was "8852a" and "8852c" firmware, but not "8852b"
There are 8852b files in the source directories, but it might just not be fully connected for testing.
You could try the rtw89 firmware from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtw89 (use "plain" link at end of line for download, place fw under /boot/modules).rtw89_8852be0: <rtw89_8852be> could not load firmware image 'rtw89/rtw8852b_fw-1.bin'
rtw89_8852be0: <rtw89_8852be> could not load firmware image 'rtw89/rtw8852b_fw.bin'
pciconf -lv | grep -A1 -B3 network
re0@pci0:2:0:0: class=0x020000 rev=0x15 hdr=0x00 vendor=0x10ec device=0x8168 subvendor=0x10ec subdevice=0x0123
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller'
class = network
subclass = ethernet
none2@pci0:3:0:0: class=0x028000 rev=0x00 hdr=0x00 vendor=0x10ec device=0xb852 subvendor=0x10ec subdevice=0xb852
vendor = 'Realtek Semiconductor Co., Ltd.'
device = 'RTL8852BE PCIe 802.11ax Wireless Network Controller'
class = network
vgapci0@pci0:4:0:0: class=0x030000 rev=0xc2 hdr=0x00 vendor=0x1002 device=0x1638 subvendor=0x1002 subdevice=0x0123