Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 11:01:31 +0100 (CET)
From:      Wojciech Puchar <wojtek@puchar.net>
To:        freebsd-hackers@freebsd.org
Subject:   RTL8188EU Wifi adapter - what i am missing
Message-ID:  <e5eeaba-ef1f-264e-e41c-12f9a11e01c@puchar.net>

next in thread | raw e-mail | index | archive | help
FreeBSD 12.2-STABLE

in kernel config:
device          wlan                    # 802.11 support
options         IEEE80211_DEBUG         # enable debug msgs
options         IEEE80211_AMPDU_AGE     # age frames in AMPDU reorder q's
options         IEEE80211_SUPPORT_MESH  # enable 802.11s draft support
device          wlan_wep                # 802.11 WEP support
device          wlan_ccmp               # 802.11 CCMP support
device          wlan_tkip               # 802.11 TKIP support
device          wlan_amrr               # AMRR transmit rate control algorithm
device          uether
device          rtwn
device          rtwn_usb
device          rtwnfw
device          firmware



in dmesg:

rtwn0: <Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 2> on usbus4
rtwn0: MAC/BB RTL8188EU, RF 6052 1T1R


ifconfig wlan0 create wlandev rtwn0

then
wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf

results in:
Successfully initialized wpa_supplicant
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
wlan0: Trying to associate with 00:21:29:8a:26:af (SSID='linksysd' freq=2432 MHz)
Failed to add supported operating classes IE
wlan0: Authentication with 00:21:29:8a:26:af timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:21:29:8a:26:af reason=3 locally_generated=1
wlan0: Trying to associate with 00:21:29:8a:26:af (SSID='linksysd' freq=2432 MHz)
Failed to add supported operating classes IE
wlan0: Authentication with 00:21:29:8a:26:af timed out.
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:21:29:8a:26:af reason=3 locally_generated=1
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="linksysd" auth_failures=1 duration=10 reason=CONN_FAILED
wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="linksysd"
wlan0: Trying to associate with 00:21:29:8a:26:af (SSID='linksysd' freq=2432 MHz)
Failed to add supported operating classes IE
wlan0: CTRL-EVENT-DISCONNECTED bssid=00:21:29:8a:26:af reason=3 locally_generated=1
wlan0: CTRL-EVENT-TERMINATING


wpa_supplicant.conf contains:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
fast_reauth=1
network={
         scan_ssid=1
 	ssid="linksysd"
         psk="passwordhere"
}


thank you for help



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e5eeaba-ef1f-264e-e41c-12f9a11e01c>