[Bug 247528] rtwn(4) RTL8192EU usb wifi dongle can't connect to AP

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Jul 2022 14:57:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247528

--- Comment #16 from Rich Reamer <richr410@yahoo.com> ---
@Cy....

Summation: yeah its a driver issue -- "rtwn" does not work with RTL8192EU.

Did the "open network" (ie. no wpa_supplicant usage) tests -- using my phone as
an open wifi hotspot called "Blacklisted".

Tested with RTL8188EU (as a control, which worked) and RTL8192EU (which did
not)

This same "rc.conf" config used in both tests.
   /etc/rc.conf
      wlans_rtwn0="wlan0"
      ifconfig_wlan0="SYNCDHCP"
-----------
Tested with RTL8188EU.. (test performed by reboot, rtwn connected to
Blacklisted automagically - you can see it got and pings, browsing worked)

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

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 6c:5a:b0:de:c3:62
        inet 192.168.43.174 netmask 0xffffff00 broadcast 192.168.43.255
        groups: wlan
        ssid Blacklisted channel 1 (2412 MHz 11g ht/20) bssid ba:d7:af:21:34:be
        regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
        scanvalid 60 protmode CTS ht20 ampdulimit 64k ampdudensity 8 shortgi
        -stbc -ldpc -uapsd wme
        parent interface: rtwn0
        media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
        status: associated
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
----------
Tested with RTL8192EU.. (test performed by reboot, rtwn attempted to connect to
Blacklisted automagically -- but never could or did. Never acquired an IP, it
would continually cycle between trying to connect and drop, as seen below. Even
forcing connect via "ifconfig" failed as well)

dmesg:
   rtwn0 on uhub0
   rtwn0: <802.11n NIC > on usbus0
   rtwn0: MAC/BB RTL8192EU, RF 6052 2T2R

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 6c:5a:b0:6d:62:d8
        groups: wlan
        ssid "" channel 9 (2452 MHz 11g)
        regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
        scanvalid 60 protmode CTS wme
        parent interface: rtwn0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 6c:5a:b0:6d:62:d8
        groups: wlan
        ssid Blacklisted channel 1 (2412 MHz 11g ht/20)
        regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
        scanvalid 60 protmode CTS ht20 ampdulimit 8k ampdudensity 16 shortgi
        -stbc -ldpc -uapsd wme
        parent interface: rtwn0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

ifconfig wlan create wlandev rtwn0 ssid Blacklisted up (failed as well)

-- 
You are receiving this mail because:
You are on the CC list for the bug.