Need help with Edimax EW-7811UN WiFi Adapter

Hello,

I am new to FreeBSD and need help with a WiFi adapter. I have the Edimax EW-7811UN V2 Nano adapter, and I don't think FreeBSD is recognizing it. I ran dmesg, and it outputs:
Code:
ugen1.6: <Realtek Edimax N150 Adapter> at usbus1

However when I run sysctl net.wlan.devices, it outputs nothing.

I've added these lines to /boot/loader.conf:

Code:
if_urtwn_load="YES"
legal.realtek.license_ack=1

And these to /etc/rc.conf

Code:
wlans_rtwn0="wlan0"
ifconfig_wlan0="WPA channel 6 DHCP"

The rtwn(4) driver is loader because I have both loaded it as a module and compiled the kernel with it. I assume I am doing something wrong, but I don't know what. I apologize if this is a simple problem but can anyone help me?
 
Last edited by a moderator:
Hello,

at first glance it looks like rtwn() does not support your device.

Your device uses the Realteak rtl8192cu driver while rtwn() only comes with the similar driver rtl8192cfxx.

BTW urtwn() dont exists anymore its should be now everything in rtwn().
 
Hrm, that adapter has always worked for me. Can't find one now to test though. I wasn't aware about rtwn replacing urtwn, but maybe follow the man page for rwtn, load the suggested modules and see?
 
Back
Top