[HELP]How to get TP-Link WN822N working?



  • Hello! Guys, I am new to pfsense and I need help from you for usb wifi adapter.

    I am setting up a pfsense 2.0 RC3 based machine with 2 LAN ports + 1 usb wifi adapter as

    AP/router/firewall. The installer correctly detected two lan ports but without usb wifi adapter, which is

    TP-Link WN822N. I checked the adapter is AR9170+AR9102 based. Do anyone get such adapter working

    on 2.0 RC3? How to do it?

    Thank you so much!



  • Based on the chipset used in other TP-Link devices I would guess the WN822N uses an Atheros chipset. The only Atheros USB chipset supported in FreeBSD 8.1 (and pfSense 2.0) probably does not support AP mode see the uath man page at http://www.freebsd.org/cgi/man.cgi?query=uath&apropos=0&sektion=0&manpath=FreeBSD+8.1-RELEASE+and+Ports&format=html

    But lets see what the system itself says. Please post the output of the pfSense shell command usbconfig show_ifdrv



  • trying usbconfig show_ifdrv :

    ugen4.2: <usb2.0 wlan="" ather="">at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON</usb2.0>



  • Since you didn't show the whole output I can't be certain you didn't inadvertently leave out something important.

    On my system:

    usbconfig show_ifdrv

    ugen0.1: <uhci root="" hub="" via="">at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
    ugen0.1.0: uhub0: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">ugen1.1: <uhci root="" hub="" via="">at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
    ugen1.1.0: uhub1: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">ugen2.1: <uhci root="" hub="" via="">at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
    ugen2.1.0: uhub2: <via 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">ugen3.1: <ehci root="" hub="" via="">at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
    ugen3.1.0: uhub3: <via 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">ugen3.2: <802.11 n WLAN Ralink> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
    ugen3.2.0: run0: <1.0>
    #</via></ehci></via></uhci></via></uhci></via></uhci>

    Note the last two lines say the device ugen3.2 has been recognised by the run driver.

    If you don't see something similar then your device is not supported.

    I've had good results with the Tenda W311U USB WiFi NIC. Access Point mode is supported in pfSense 2.0 and I can get them retail for under the local equivalent of US$20.



  • Hello! Wallabybob:

    Thanks your great information.

    WN822N is not recognized by system. I got a new USB wifi adaptor Edimax EW-7711USn, RT3070 based, which shall be the

    same with Tenda W311U. The new one is recognized on pfsense 2.0 correctly.

    Thank you so much!


Locked