lsusb shows "Bus 005 Device 002: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)" but this isn't a device like that. It's a Wi-Fi 6 dongle. How can I fix it?
(答え)
The (Driver CDROM Mode) message means your USB Wi-Fi dongle is presenting itself as a CD-ROM (mass storage) device instead of a network adapter. This is a common technique manufacturers use to ship Windows drivers on the dongle itself. On Linux, you need to switch the device out of CD-ROM mode and into Wi-Fi mode, then load the correct driver.
To enable Passpoint on GL.iNet Flint 3 and Slate 7, using the factory default firmware which is based on Qualcomm SDK, do the following:
Upgrade the firmware to the latest version (4.8.4 for GL-BE9300 Flint 3, 4.8.3 for GL-BE3600 Slate 7, as of this writing).
Setup each Wi-Fi interface with "wpa3-mixed+ccmp" (WPA2 Enterprise with optional PMF) or "wpa3+ccmp" (WPA3 Enterprise). Using LuCI is recommended for the configuration.
Login the device using ssh.
Edit /etc/config/wireless and add interworking configuration like the following to each "config wifi-iface" section.
Restart wireless networks by typing "wifi".
Example options for Passpoint
Parameter values need adjustment depending on your system and environment. <...> is a place holder.
option hs20 '1' option access_network_type '3' option internet '1' option disable_dgaf '1' option asra '0' option esr '0' option uesa '0' option osen '0' option venue_group '2' option venue_type '8' option hessid '<one of the MAC addresses of the wireless device>' list roaming_consortium '<Roaming Consortium OI in 5 or 3 octets>' list venue_name 'eng:exampleLab' list venue_url '1:https://example.com/' option network_auth_type '00' option ipaddr_type_availability '0c' list domain_name 'example.com' option hs20_oper_friendly_name 'eng:exampleLabNet' option hs20_operating_class '5179'
Note: Recent Qualcomm SDK omits the leading "iw_" in the parameter names, while OpenWrt uses the names like "iw_internet", "iw_venue_name", etc.
Please see Table E-4 in IEEE Std 802.11-2020 for the Operating Class. For example, 0x51 (=81) means 1-13ch in 2.4 GHz band, and 0x79 (=121) means 100-144 ch in 5 GHz band. The 5 GHz codes for Japan are:
0x73 = 115 : W52 (36-48ch)
0x76 = 118: W53 (52-64ch)
0x79 = 121 : W56 (100-144ch)
Please refer to /etc/wifi/hostapd.sh for the parameter details.