You are not logged in.

#1 2021-04-18 13:48:31

Allexj
Member
Registered: 2015-07-11
Posts: 73

Wifi usb dongle driver makes my laptop freeze

This morning I installed this driver: https://github.com/Mephysto666/rtl8822bu
I edited a Makefile line to make it support monitor mode and installed it worked and I was able to use the dongle...  but I noticed that if I use airodump-ng it didn't capture wpa handshakes, so I decided to remove it and install another driver.

I tried this: https://github.com/cilynx/rtl88x2bu
but still I wasn't able to capture handshakes, so I removed it.

Then I tried these: https://github.com/aircrack-ng/rtl8812au , https://aur.archlinux.org/packages/rtl8 … -dkms-git/ , https://github.com/EntropicEffect/rtl8822bu
but they did not install.

After all this, I decided to come back to the first driver (Mephysto666 rtl8822bu), that at least allowed me to recognize and use the dongle.
But after I install the driver and do "sudo modprobe 88x2bu"  the entire system freeze. I can't even reboot, so I'm forced to shut down manually with the power button. If I power on again (with usb dongle plugged in) and log in the desktop the system doesn't even show the main panel (with all the applets)... it only shows the desktop and freezes again. The only way to "unlock" the situation is to unplug the dongle and power on again the computer.

Why? What could have happened? This morning the drivers worked, but something happened in all the tests and installations that I did... what could it be? How could I fix?

Last edited by Allexj (2021-04-18 13:50:56)

Offline

#2 2021-04-18 14:59:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: Wifi usb dongle driver makes my laptop freeze

but they did not install

I would elaborate on this.

Also:

I installed this driver: https://github.com/Mephysto666/rtl8822bu

another driver.
I tried this: https://github.com/cilynx/rtl88x2bu

decided to come back to the first driver (Mephysto666 rtl8822bu)

and do "sudo modprobe 88x2bu"

I know nothing about those drivers but the distribution of the "x" is kinda suspicious here - are you trying to load a "bad" module?

Offline

#3 2021-04-18 16:10:50

Allexj
Member
Registered: 2015-07-11
Posts: 73

Re: Wifi usb dongle driver makes my laptop freeze

Thanks for answer!

seth wrote:

but they did not install

I would elaborate on this.

basically if I try to load them with modprobe, it says that it can't find them (even if the installation seemed to be successful, no errors reported by dkms).

seth wrote:

Also:

I installed this driver: https://github.com/Mephysto666/rtl8822bu

another driver.
I tried this: https://github.com/cilynx/rtl88x2bu

decided to come back to the first driver (Mephysto666 rtl8822bu)

and do "sudo modprobe 88x2bu"

I know nothing about those drivers but the distribution of the "x" is kinda suspicious here - are you trying to load a "bad" module?

what do you mean for "bad" module? Like I said they worked at the beginning... but then maybe something went wrong with all the installation/reinstallation of these drivers and now it doesn't work anymore.

Last edited by Allexj (2021-04-18 16:11:29)

Offline

#4 2021-04-18 16:16:15

lgomes
Member
Registered: 2010-12-01
Posts: 9

Re: Wifi usb dongle driver makes my laptop freeze

Check the comments on https://aur.archlinux.org/packages/rtl8822bu-dkms-git/ with linux 5.11.x seems that this module doesn't work anymore.

I'm trying to downgrade to linux 5.10.6 to make my Archer T4U(v3) work again.

=======EDIT=======

After downgrade to linux 5.10.6, the AUR package module above make work again Archer T4U(v3)

Last edited by lgomes (2021-04-18 16:40:42)

Offline

#5 2021-04-18 16:18:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: Wifi usb dongle driver makes my laptop freeze

Your first attempt was rtl8822bu
Then you tried rtl88x2bu
You wanted to go back to rtl8822bu, but you're attempting to load rtl88x2bu

On top of that there's probably at least a collision w/ https://github.com/EntropicEffect/rtl8822bu so if "the installation seemed to be successful" it maybe was)?

=> Are you absolutely sure rtl88x2bu is (the one) provided by https://github.com/Mephysto666/rtl8822bu ?
md5sum the module in /usr/lib/modules against the one you built in the git or AUR path.

Offline

#6 2021-04-18 18:58:02

Allexj
Member
Registered: 2015-07-11
Posts: 73

Re: Wifi usb dongle driver makes my laptop freeze

seth wrote:

On top of that there's probably at least a collision w/ https://github.com/EntropicEffect/rtl8822bu so if "the installation seemed to be successful" it maybe was)?

how could I know if there is this collision? how could I fix it?

seth wrote:

=> Are you absolutely sure rtl88x2bu is (the one) provided by https://github.com/Mephysto666/rtl8822bu ?
md5sum the module in /usr/lib/modules against the one you built in the git or AUR path.

just did the md5sum, and of course they are different. why should they be the same?


EDIT
I just installed this: https://github.com/cilynx/rtl88x2bu
and now it works again.... but now I'm curious about why Mephysto666/rtl8822bu used to work and now it doesn't anymore...

Last edited by Allexj (2021-04-18 19:09:47)

Offline

#7 2021-04-18 20:06:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: Wifi usb dongle driver makes my laptop freeze

just did the md5sum, and of course they are different. why should they be the same?

What?
Like, what?

If you intend to use the Mephysto666/rtl8822bu module but the module you're trying to load is different from the Mephysto666/rtl8822bu one, you're most likely not using the Mephysto666/rtl8822bu module. "Of course they're different" means that "of course you're not loading the module you intended to".

Offline

#8 2021-04-18 20:52:33

Allexj
Member
Registered: 2015-07-11
Posts: 73

Re: Wifi usb dongle driver makes my laptop freeze

seth wrote:

just did the md5sum, and of course they are different. why should they be the same?

What?
Like, what?

If you intend to use the Mephysto666/rtl8822bu module but the module you're trying to load is different from the Mephysto666/rtl8822bu one, you're most likely not using the Mephysto666/rtl8822bu module. "Of course they're different" means that "of course you're not loading the module you intended to".

I think I misunderstood what you asked. I did the md5sum of Mephysto666/rtl8822bu and cilynx/rtl88x2bu. I thought you were asking to do this, but I think I have misunderstood.


Anyway, now I installed this: https://github.com/cilynx/rtl88x2bu and now it works again.... but now I'm curious about why Mephysto666/rtl8822bu used to work and now it doesn't anymore...

Offline

#9 2021-04-18 22:14:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,009

Re: Wifi usb dongle driver makes my laptop freeze

https://github.com/Mephysto666/rtl8822b … /dkms.conf - the built module name is actually 88x2bu so it's less likely that you were simply loading a different module.

To understand what fails, you'd have to install it again, run eg. "dmesg -w" and load it to freeze the system.
If that prevents even dmesg from posting messages, you'd have to go for https://wiki.archlinux.org/index.php/Kdump

Offline

#10 2021-04-24 20:29:29

Allexj
Member
Registered: 2015-07-11
Posts: 73

Re: Wifi usb dongle driver makes my laptop freeze

seth wrote:

https://github.com/Mephysto666/rtl8822b … /dkms.conf - the built module name is actually 88x2bu so it's less likely that you were simply loading a different module.

To understand what fails, you'd have to install it again, run eg. "dmesg -w" and load it to freeze the system.
If that prevents even dmesg from posting messages, you'd have to go for https://wiki.archlinux.org/index.php/Kdump

ok,thanks!

Offline

Board footer

Powered by FluxBB