MiSTer-devel / Linux-Kernel_MiSTer

Other
14 stars 19 forks source link

Wifi RTL8812BU does not work #12

Closed sonik-br closed 3 years ago

sonik-br commented 3 years ago

I've got this Comfast CF-812AC (RTL8812BU) wifi dongle and it works fine under windows. O mister it cant connect. Sometimes it lists the ssids, sometimes not. But even when it lists, I cant connect to the network. Tested with latest update from today and with the previous one. Adapter is listed on the wiki as working and it's on the changelog since Aug 25. Driver problem?

sorgelig commented 3 years ago

I don't know who listed this dongle as "tested". Probably you need to ask that person. I don't have this dongle to test. Issues may happen if 2.4GHz and 5GHz bands have the same SSID. In this case giving different SSID solves the issue.

sonik-br commented 3 years ago

Different SSIDs for my networks. A friend have one of the same model and it works. There's anything I can do to debug it and try to fix? I might have plugged it once in the mister before the support for it was added. Would it load and "cache" the wrong driver?

sorgelig commented 3 years ago

I'm not a driver developer, so i'm afraid debug data from driver won't help me. Since it's working for your friend, then either: 1) try to plug it into other USB port and remove other USB devices while testing. 2) May be signal isn't strong enough for this module.

sonik-br commented 3 years ago

Tested without other devices connected. Signal is good. Device is like 2 meters away from router with direct clean sight.

Also tested again with a clean install on another sd card. Same problem. Log shows:

nl80211: kernel reports: Authentication algorithm number required

Leaving it here in hope of some help.

sorgelig commented 3 years ago

may be check encryption algo on router. Some routers has mixed authentication 802.11n/a/ac on 5GHz. If you have such option, then try 802.11ac only

sonik-br commented 3 years ago

I entered the router setup to look at those settings. They are correct. But then I saw an fixed Channel Number at 11. Changed to Automatic and now it works! Thanks for the help.

sorgelig commented 3 years ago

Especially 5GHz channels are starting from some ~50 numbers if i remember correct. It's good you fixed the problem.