Aircrack-ng forum
rtl8812au and rtl8188eus => General help => Topic started by: mt on June 09, 2022, 05:14:12 pm
-
Dear Aircrack-ng Forum,
I have been using an internal Wi-Fi card and external Wi-Fi adapters with the Ubuntu 20.04.4 LTS release. The kernel version I have been using is 5.13.0-44-generic. The driver for the internal Wi-Fi card is rtw_8822ce and for the external Wi-Fi adapters is rtl8812au. I had not observed any issues with this configuration.
A clean install was performed on the desktop computer. The kernel version had gotten upgraded to 5.13.0-48-generic. When I connected the external Wi-Fi adapter to the desktop computer and installed the driver, it could no longer associate with the router. Once I checked the Wi-Fi adapters in the 'Settings' menu of the Ubuntu desktop environment, the name of the external Wi-Fi adapter had gotten corrupted. I did not observe any issues with the operation of the internal Wi-Fi card when the kernel had gotten upgraded to 5.13.0.48-generic.
I appreciate it if you can provide any insight into the problem I am observing. Thank you.
-
I'm a bit confused. What does the internal adapter with rtw_8822cw have to do with this?
What github and what branch of rtl8812au are you using?
Have you checked dmesg/journalctl for issues?
-
Dear misterx,
Thank you for your help. I included the information for the internal Wi-Fi card with driver rtw_8822ce for informational purposes. I wanted to indicate that a device using a driver other than the rtl8812au does not have an issue when the kernel is upgraded to 5.13.0-48-generic.
Below is the procedure I have followed to install the rtl8812au driver:
sudo rm -rf rtl8812au
sudo apt install dkms build-essential git -y
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au/
make && sudo make install
I have checked the content of dmesg. I used the command 'sudo dmesg | grep -i 88XXau'. Below is the output of the message:
[sudo] password for wtap-sd1:
[ 5.948689] 88XXau: loading out-of-tree module taints kernel.
[ 5.949679] 88XXau: module verification failed: signature and/or required key missing - tainting kernel
[ 14.217528] usb 1-2: 88XXau 9c:c9:eb:2c:fd:21 hw_info[d8]
[ 14.218451] usbcore: registered new interface driver rtl88XXau
Thank you for your help. I appreciate it.
-
You'd have to see what changed exactly between these 2 kernel versions.
Another thing you can do is running a memtest overnight to check if you don't have any issue with the RAM (which could explain the corruption).
-
Dear misterx,
Thank you for your suggestions. I would like to indicate that the issue I reported occurred on two different platforms. I performed a memtest on both of these platforms and the test passed without any issues. I used a memory block size of 10 GB with 10 iterations on one platform and a memory block size of 2 GB with 10 iterations on the other platform.
One of the colleagues with whom I work in the industry indicated to me that as per his investigation a change in the rtl8812au driver in the github directory was causing the corruption issue. The path for the link is 'https://github.com/aircrack-ng/rtl8812au.git'. To overcome the issue, he used the previously loaded rtl8812au driver from the same 'https://github.com/aircrack-ng/rtl8812au.git' link.
I used the procedure he provided. Now, the Wi-Fi adapter associates with the router on both of the platforms.
Thank you for the help you have provided. I appreciate it.
-
What change?
-
Dear misterx,
I could not get a plausible response from my colleague in the industry. Thank you for the help you have provided.