Quantcast
Viewing all articles
Browse latest Browse all 4000

Troubleshooting • RPi 5 and wi-fi adapter detected as mass storage

Hello,

Due to poor wifi on onboard antenna I would like to use external usb dongle as wifi adapter. I bought adapter based on: RTL8812CU.

After connection to RPI is detected as mass storage (there are drivers for Windows)

Code:

Bus 003 Device 002: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)
When RPi is started is enough to unplug and plug dongle and then is detected as it should be and connecting to network and works fine.

Code:

Bus 001 Device 004: ID 0bda:c812 Realtek Semiconductor Corp. 802.11ac NIC
I tried also use usb_modeswitch but doesnt work ( not switching automatically from mass storage to normal mode)

Code:

sudo apt updatesudo apt install usb-modeswitchsudo nano /etc/usb_modeswitch.d/0bda:1a2b
add to file

Code:

DefaultVendor=0x0bdaDefaultProduct=0x1a2b# Target modeTargetVendor=0x0bdaTargetProduct=0x818bMessageContent="55534243123456780000000080000c85010101180101010101000000000000"
then

Code:

sudo usb_modeswitch -c /etc/usb_modeswitch.d/0bda:1a2b
and after reboot still is detected like before

Code:

Bus 003 Device 002: ID 0bda:1a2b Realtek Semiconductor Corp. RTL8188GU 802.11n WLAN Adapter (Driver CDROM Mode)
Any idea how to force connecting only in normal wifi mode not mass storage mode?
Im not able each time manually unplug and plug module.

Thank you in advance for your help!

Statistics: Posted by Asica10 — Wed Dec 11, 2024 6:59 pm



Viewing all articles
Browse latest Browse all 4000

Trending Articles