Lost WiFi with latest update {SOLVED}
-
@Addison said in Lost WiFi with latest update:
pi@retropie:~ $ dkms status
[...]I see that
xpad
has been added for the latest kernel, but the8812au
has not.
Remove the driver:sudo dkms remove 8812au/5.6.4.2_35491.20191025 --all
and then try to re-install it again. If you get an error during installation, then post the log file from the build -
dkms
will show you where it is. -
sudo dkms remove 8812au/5.6.4.2_35491.20191025 --all
-------- Uninstall Beginning --------
Module: 8812au
Version: 5.6.4.2_35491.20191025
Kernel: 5.10.60-v7+ (armv7l)Status: Before uninstall, this module version was ACTIVE on this kernel.
88XXau.ko:
- Uninstallation
- Deleting from: /lib/modules/5.10.60-v7+/updates/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
Deleting module version: 5.6.4.2_35491.20191025
completely from the DKMS tree.Done.
sudo apt install git dkms
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sudo make dkms_installpi@retropie:~ $ sudo apt install git dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version (2.6.1-4).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@retropie:~ $ git clone https://github.com/aircrack-ng/rtl8812au.git
fatal: destination path 'rtl8812au' already exists and is not an empty directory.
pi@retropie:~ $ cd rtl8812au
pi@retropie:~/rtl8812au $ sudo make dkms_install
mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->
/usr/src/8812au-5.6.4.2_35491.20191025DKMS: add completed.
dkms build -m 8812au -v 5.6.4.2_35491.20191025
Error! echo
Your kernel headers for kernel 5.10.103-v8+ cannot be found at
/lib/modules/5.10.103-v8+/build or /lib/modules/5.10.103-v8+/source.
make: *** [Makefile:2304: dkms_install] Error 1The preview for this post seems to show extra large fonts a few times for some reason.
That wasn't from me.
No idea how that came to be.
My apologies ahead for any unnecessary font weirdness on this site. :P
- Uninstallation
-
"and then try to re-install it again. If you get an error during installation, then post the log file from the build - dkms will show you where it is."
I don't know what that means.
I need something to copy and paste because I am too stupid to live.
-
@Addison said in Lost WiFi with latest update:
DKMS: add completed. dkms build -m 8812au -v 5.6.4.2_35491.20191025 Error! echo Your kernel headers for kernel 5.10.103-v8+ cannot be found at /lib/modules/5.10.103-v8+/build or /lib/modules/5.10.103-v8+/source. make: *** [Makefile:2304: dkms_install] Error 1
OK, so it fails here and it's probably why it was not automatically installed during the kernel upgrade.
Try running
dkms install -m 8812au -v 5.6.4.2_35491.20191025 --all
from the source folder and see if it gets installed.
-
Okay.
dkms install -m 8812au -v 5.6.4.2_35491.20191025 --all
pi@retropie:~ $ dkms install -m 8812au -v 5.6.4.2_35491.20191025 --all
Error! You must be root to use this command.
pi@retropie:~ $ sudo dkms install -m 8812au -v 5.6.4.2_35491.20191025 --all
pi@retropie:~ $Nothing seemed to have happened unless I phrased the terming wrong.
-
I can only upvote 6 posts per day here?
Well that's just hot garbage. :/
-
Ah nuts.
Just realized you requested to install that from the source folder.
Sorry.
pi@retropie:~ $ cd rtl8812au
pi@retropie:~/rtl8812au $ sudo dkms install -m 8812au -v 5.6.4.2_35491.20191025 --all
pi@retropie:~/rtl8812au $Have I done that correctly?
-
@Addison said in Lost WiFi with latest update:
Just realized you requested to install that from the source folder.
Yes, but I think it doesn't matter. Is the wireless driver still not installed ? You can check with
sudo dkms status
to see if it was installed for the current kernel (5.10.103). -
Unsure what this all means.
pi@retropie:~ $ sudo dkms status
8812au, 5.6.4.2_35491.20191025: added
xpad, 0.4, 5.10.103-v7l+, armv7l: installed (original_module exists)
xpad, 0.4, 5.10.60+, armv7l: installed (original_module exists) (WARNING! Diff between built and installed module!)
xpad, 0.4, 5.10.60-v7+, armv7l: installed (original_module exists) (WARNING! Diff between built and installed module!)
xpad, 0.4, 5.10.60-v7l+, armv7l: installed (original_module exists) (WARNING! Diff between built and installed module!)EDIT:
Also....
pi@retropie:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 054c:09cc Sony Corp. DualShock 4 [CUH-ZCT2x]
Bus 001 Device 003: ID 2357:011e TP-Link
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub -
It's still not installed. I wander though if you're not actually seeing the same issue with https://retropie.org.uk/forum/topic/34200/.
Addarm_64bit=0
to your/boot/config.txt
, reboot and then try again installing the driver. -
At the end of /boot/config.txt (currently showing with your suggested update):
[all]
#dtoverlay=vc4-fkms-v3d
#overscan_scale=1
arm_64bit=0
dtoverlay=disable-wifi
dtoverlay=disable-btREBOOTED
pi@retropie:~ $ sudo apt install git dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version (2.6.1-4).
git is already the newest version (1:2.20.1-2+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
pi@retropie:~ $ git clone https://github.com/aircrack-ng/rtl8812au.git
fatal: destination path 'rtl8812au' already exists and is not an empty directory.
pi@retropie:~ $ cd rtl8812au
pi@retropie:~/rtl8812au $ sudo make dkms_install
mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025
Error! DKMS tree already contains: 8812au-5.6.4.2_35491.20191025
You cannot add the same module/version combo more than once.
make: *** [Makefile:2303: dkms_install] Error 3 -
Remove the module again with
sudo dkms remove 8812au/5.6.4.2_35491.20191025 --all
and re-run the installation, but just the last step. -
pi@retropie:~ $ sudo dkms remove 8812au/5.6.4.2_35491.20191025 --all
Deleting module version: 5.6.4.2_35491.20191025
completely from the DKMS tree.Done.
pi@retropie:~/rtl8812au $ sudo make dkms_install
mkdir -p /usr/src/8812au-5.6.4.2_35491.20191025
cp -r * /usr/src/8812au-5.6.4.2_35491.20191025
dkms add -m 8812au -v 5.6.4.2_35491.20191025Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->
/usr/src/8812au-5.6.4.2_35491.20191025DKMS: add completed.
dkms build -m 8812au -v 5.6.4.2_35491.20191025Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j4 KVER=5.10.103-v7l+ KSRC=/lib/modules/5.10.103-v7l+/build.............................................................
cleaning build area...DKMS: build completed.
dkms install -m 8812au -v 5.6.4.2_35491.2019102588XXau.ko:
Running module version sanity check.- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.10.103-v7l+/updates/
depmod...
DKMS: install completed.
dkms status
8812au, 5.6.4.2_35491.20191025, 5.10.103-v7l+, armv7l: installed
xpad, 0.4, 5.10.103-v7l+, armv7l: installed (original_module exists)
xpad, 0.4, 5.10.60+, armv7l: installed (original_module exists) (WARNING! Diff between built and installed module!)
xpad, 0.4, 5.10.60-v7+, armv7l: installed (original_module exists) (WARNING! Diff between built and installed module!)
xpad, 0.4, 5.10.60-v7l+, armv7l: installedREBOOT
Config WiFi
Current IP: 192.168.0.15
Wireless IP: 192.168.0.15Joy!
Think it took this time. :D
Going to unplug my ethernet cable now and do this for my other Pi as well.
Thank you so much Mitu!
- Original module
-
Other Pi is now back to faster wireless speeds as well.
Awesome! :D
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.