Solved FreeBSD 13: D-Link DWA-182/TPLink-WN821N work?

Questions about a couple of wifi dongles I would like to use with FreeBSD 13.
Dongle 1: D-Link DWA-182 v2
I can't find this one on the list of supported wifi adapters
(https://www.freebsd.org/releases/13.0R/hardware/#wlan). Anyone using this adapter successfully?

Dongle 2: TPLink-WN821N
This one is on the list but seems to be based on an Atheros AR9170 chipset which apparently does not support 802.11n (from otus(4) manpage). On Slackware I use this with a 'Realtek driver' hacked a bit because Linux kernel doesn't support this. Driver from Realtek is 'rtl8192eu'
Is Atheros and Realtek the same chipset?
Anyone using this adapter successfully?
TIA
 
Last edited:
Dongle 1: D-Link DWA-182 v2
If this is D-Link DWA-182 rev B1 with a Realtek RTL8812AU chip set, then it needs a product ID added to the usb vendors source code to be recognized by the rtwn(4) driver. After that it should be supported.

Dongle 2: TPLink-WN821N
On Slackware I use this with a 'Realtek driver' ... Driver from Realtek is 'rtl8192eu'
This one is supported:

rtwn(4)
Code:
FILES
     ...
     The driver    (if not    compiled with options RTWN_WITHOUT_UCODE ) may use
     following firmware    files, which are loaded    when an    interface is brought
     up:
       ...
       /boot/kernel/rtwn-rtl8192eufw.ko
 
Thanks all for your replies. I missed the rtwn entries for both dongles. This is promising!

I have not build anything on FreeBSD yet, so "...needs a product ID added to the usb vendors source code" Is this something I would do? and then rebuild driver?
Is this done via the ports system?

(Am away for a few days then will test when I get back. Will close this then)
 
I have not build anything on FreeBSD yet, so "...needs a product ID added to the usb vendors source code"
I forgot in my previous post to mention another source code file needs also editing.
Is this something I would do? and then rebuild driver?
Is this done via the ports system?
A new kernel needs to be build from system source (not from ports). The process is quite easy. If you have decided to apply the changes just ask for assistance.
 
Back
Top