|
NAMErtwn —
Realtek IEEE 802.11 wireless network driver
SYNOPSISoptions RTWN_DEBUG
options RTWN_WITHOUT_UCODE
To compile this driver into the kernel, place the following lines in your kernel configuration file: device rtwn
device rtwnfw
device rtwn_usb
device rtwn_pci
device wlan
device firmware Alternatively, to load the driver as a module at boot time, place following lines in loader.conf(5): if_rtwn_pci_load="YES" if_rtwn_usb_load="YES" DESCRIPTIONThertwn driver provides support for wireless network
devices based on the Realtek RTL8192C, RTL8188E, RTL8192E, RTL8812A and
RTL8821A programming APIs. These APIs are used by a wide variety of chips;
most chips with USB and some with PCI interface are supported.
To enable use for PCI/PCIe systems, see the rtwn_pci(4) driver; for USB devices, use the rtwn_usb(4) driver. The driver supports All chips have hardware support for WEP, AES-CCM and TKIP encryption. The FILES
The driver (if not compiled with
EXAMPLESJoin an existing BSS network (i.e., connect to an access point):ifconfig wlan create wlandev rtwn0 inet 192.168.0.20 \ netmask 0xffffff00 Join a specific BSS network with network name
“ ifconfig wlan create wlandev rtwn0
ssid my_net up Join a specific BSS network with 64-bit WEP encryption: ifconfig wlan create wlandev rtwn0 ssid my_net \ wepmode on wepkey 0x1234567890 weptxkey 1 up Create an IBSS network with 128-bit WEP encryption on the channel 4: ifconfig wlan create wlandev rtwn0 wlanmode adhoc ssid my_net \ wepmode on wepkey 0x01020304050607080910111213 weptxkey 1 \ channel 4 Join/create an 802.11b IBSS network with network name
“ ifconfig wlan0 create wlandev rtwn0 wlanmode adhoc ifconfig wlan0 inet 192.168.0.22 netmask 0xffffff00 ssid my_net \ mode 11b Create a host-based access point: ifconfig wlan0 create wlandev rtwn0 wlanmode hostap ifconfig wlan0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap LOADER TUNABLESTunables can be set at the loader(8) prompt before booting the kernel or stored in loader.conf(5).
DIAGNOSTICS
SEE ALSOintro(4), netintro(4), rtwn_pci(4), rtwn_usb(4), rtwnfw(4), wlan(4), wlan_amrr(4), wlan_ccmp(4), wlan_tkip(4), wlan_wep(4), wlan_xauth(4), hostapd(8), ifconfig(8), wpa_supplicant(8)HISTORYTheurtwn driver first appeared in
OpenBSD 4.9 and FreeBSD 10.0;
the rtwn driver first appeared in
OpenBSD 5.8.
AUTHORSThertwn driver was initially written by
Stefan Sperling
<stsp@openbsd.org> and
ported by Kevin Lo
<kevlo@freebsd.org>.
It was based on the urtwn driver written by
Damien Bergamini
<damien.bergamini@free.fr>.
BUGSThertwn driver currently does not implement
firmware-based rate control.
Visit the GSP FreeBSD Man Page Interface. |