helloSystem / ISO

helloSystem Live and installation ISO
https://github.com/helloSystem/
BSD 3-Clause "New" or "Revised" License
807 stars 58 forks source link

DWA131 USB wireless Support #543

Open louies0623 opened 1 year ago

louies0623 commented 1 year ago

When I plug in the hardware, the system wireless network does not detect any networks. https://man.freebsd.org/cgi/man.cgi?query=rtwn_usb&apropos=0&sektion=4&manpath=FreeBSD+12.0-RELEASE&arch=default&format=html

probonopd commented 1 year ago

Thanks for reporting. Unfortunately we cannot fix this in helloSystem. It seems like the official FreeBSD kernel (which we are using) is not built with support for this device.

https://man.freebsd.org/cgi/man.cgi?query=rtwn_usb&apropos=0&sektion=4 says that rtwn_usb must be compiled into the kernel.

Apparently this is not the case for the official FreeBSD kernel binary:

% sysctl kern.conftxt | grep rt  
device  uart_ns8250
device  smartpqi
device  uart
device  rtsx
device  virtio
device  virtio_pci
device  virtio_blk
device  virtio_scsi
device  virtio_balloon

So you either need to compile your own kernel or convince the FreeBSD developers to build rtwn_usb support into the official kernel.

Does it work on GhostBSD? They are building their own kernel instead of using the one provided by FreeBSD.

louies0623 commented 1 year ago

It can be used normally on GhostBSD 23.06.01 Maybe we can use their drivers?

probonopd commented 1 year ago

On GhostBSD, please run:

sysctl kern.conftxt | grep rt  

and post the result here. Maybe they configured their kernel differently.

louies0623 commented 1 year ago

20230926_210857

probonopd commented 1 year ago

Interesting. So their kernel also doesn't show rtwn_usb but it works.

If you can find out what we need to change, I am happy to make the change.

louies0623 commented 1 year ago

Hardware Probe https://bsd-hardware.info/?id=usb:2001-3319