WLAN Access Point (TP-Link TL-WN822N) mit FreeBSD

Aus Port23Wiki
Wechseln zu: Navigation, Suche

Konfiguration von FreeBSD als WLAN Access Point

Wichtig: Ein von FreeBSD unterstützter WLAN Adapter (auch als Host AP). In diesem Fall ein TP-Link TL-WN822N V4, dieser hat einen Realtek RTL8192EU WLAN-Controller.

root@fbsd-ap:~ # usbconfig
ugen2.2: <Realtek 802.11n NIC> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
root@fbsd-ap:~ # ifconfig wlan0 list caps
drivercaps=591c541<STA,FF,IBSS,HOSTAP,SHSLOT,SHPREAMBLE,MONITOR,WPA1,WPA2,WME>
cryptocaps=b<WEP,TKIP,AES_CCM>
htcaps=7002c<SHORTGI20>

Auszug aus /etc/rc.conf fuer WLAN:

# WLAN
if_rtwn_usb_load="YES"
wlans_rtwn0="wlan0"
create_args_wlan0="wlanmode hostap"
hostapd_enable="YES"
ifconfig_wlan0="ssid freebsd-ap country DE mode 11ng"
# Bridge
cloned_interfaces="br0"
ifconfig_br0="addm re0 addm wlan0 up"
Meine Werkzeuge