WLAN Access Point (TP-Link TL-WN822N) mit FreeBSD
Aus Port23Wiki
(Unterschied zwischen Versionen)
Robin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ 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…“) |
Robin (Diskussion | Beiträge) |
||
Zeile 7: | Zeile 7: | ||
root@fbsd-ap:~ # usbconfig |
root@fbsd-ap:~ # usbconfig |
||
ugen2.2: <Realtek 802.11n NIC> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) |
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 |
root@fbsd-ap:~ # ifconfig wlan0 list caps |
||
Zeile 14: | Zeile 12: | ||
cryptocaps=b<WEP,TKIP,AES_CCM> |
cryptocaps=b<WEP,TKIP,AES_CCM> |
||
htcaps=7002c<SHORTGI20> |
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" |
Version vom 15. November 2023, 12:53 Uhr
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"