Realtek RTL8192EU on FreeBSD 11.1

Peter Ankerstål peter at pean.org
Thu Oct 5 17:12:04 UTC 2017


Hi!

I recently bought a noname usb wifi card to use in my gateway but I fail to get it to work. It seems to work out of the box on my NanoPI running CURRENT:

root at nanopi:~ # uname -a
FreeBSD nanopi.pean.org 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r320481: Sat Jul  1 13:10:46 CEST 2017     peter at torus.pean.org:/usr/local/crochet/work/obj/arm.armv6/usr/src12/sys/GENERIC  arm

root at nanopi:~ #
[…]
ugen0.2: <Realtek 802.11n NIC> at usbus0
rtwn0 on uhub0
rtwn0: <802.11n NIC> on usbus0
rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R

My other machine:
root at gw:~ # uname -a
FreeBSD gw.pean.org 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321606: Thu Jul 27 10:27:02 CEST 2017     root at gw.pean.org:/usr/obj/usr/src/sys/SOEKRIS  i386

I did follow the instructions here:
https://github.com/s3erios/rtwn

I have built and installed the modules, and loaded them into kernel:
root at gw:~ # kldstat
Id Refs Address    Size     Name
 1   21 0xc0400000 9ae080   kernel
[…]
11    2 0xc9f29000 18000    if_rtwn.ko
12    1 0xc59f3000 10000    if_rtwn_usb.ko

but the card is not recognised:

root at gw:~ # dmesg
[…]
ugen3.2: <Realtek 802.11n NIC> at usbus3

Any pointers to what I could be missing? 

/Peter.


More information about the freebsd-stable mailing list