RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Lost WiFi with latest update {SOLVED}

    Scheduled Pinned Locked Moved Help and Support
    4.8.4wifiadapters
    21 Posts 2 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AddisonA
      Addison @mitu
      last edited by

      I updated all options through the console's menu system using just a controller.

      And yeah, that adapter driver was installed and working correctly until yesterday.

      What file or screenshot can I provide for better info on this?

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Addison
        last edited by

        @Addison said in Lost WiFi with latest update:

        And yeah, that adapter driver was installed and working correctly until yesterday.

        What happens if you install the driver again ?

        What file or screenshot can I provide for better info on this?

        Post the output of dmesg on pastebin.com.

        1 Reply Last reply Reply Quote 1
        • AddisonA
          Addison
          last edited by

          sudo apt install git dkms
          git clone https://github.com/aircrack-ng/rtl8812au.git
          cd rtl8812au
          sudo make dkms_install

          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

          dmesg that you requested:
          https://pastebin.com/mkfFKb2D

          Thank you for taking time on this. :)

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Addison
            last edited by

            @Addison said in Lost WiFi with latest update:

            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
            

            Seems like the module is already installed and the re-installation fails. What's the output of

            dkms status
            

            dmesg that you requested:
            https://pastebin.com/mkfFKb2D

            I don't see anything related to the WiFi adapter here. By default RaspiOS will disable the WiFi if the ethernet adapter is connected, which is what I see from your dmesg . Have you tried booting without the wired network connected ?

            1 Reply Last reply Reply Quote 1
            • AddisonA
              Addison
              last edited by

              dkms status

              pi@retropie:~ $ dkms status
              8812au, 5.6.4.2_35491.20191025, 5.10.60+, armv7l: installed
              8812au, 5.6.4.2_35491.20191025, 5.10.60-v7+, armv7l: installed
              8812au, 5.6.4.2_35491.20191025, 5.10.60-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: installed (original_module exists) (WARNING! Diff between built and installed module!)

              Yeah, I had to ethernet cable both Pis so I could change the config.txt file to:
              #dtoverlay=disable-wifi
              #dtoverlay=disable-bt

              I don't know what I'm doing but thought that was at least a way to get WiFi back again.

              Have you tried booting without the wired network connected ?

              Yes, and I received something like a "No wlan0 interface detected" on them both.

              I understand nothing. :D

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Addison
                last edited by

                @Addison said in Lost WiFi with latest update:

                pi@retropie:~ $ dkms status
                [...]

                I see that xpad has been added for the latest kernel, but the 8812au 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.

                AddisonA 1 Reply Last reply Reply Quote 1
                • AddisonA
                  Addison
                  last edited by

                  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_install

                  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

                  Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->
                  /usr/src/8812au-5.6.4.2_35491.20191025

                  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

                  The 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

                  mituM 1 Reply Last reply Reply Quote 0
                  • AddisonA
                    Addison @mitu
                    last edited by

                    "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.

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @Addison
                      last edited by

                      @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.

                      AddisonA 2 Replies Last reply Reply Quote 1
                      • AddisonA
                        Addison @mitu
                        last edited by

                        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.

                        1 Reply Last reply Reply Quote 0
                        • AddisonA
                          Addison @mitu
                          last edited by

                          I can only upvote 6 posts per day here?

                          Well that's just hot garbage. :/

                          1 Reply Last reply Reply Quote 0
                          • AddisonA
                            Addison
                            last edited by

                            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?

                            alt text

                            1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator
                              last edited by

                              @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).

                              1 Reply Last reply Reply Quote 1
                              • AddisonA
                                Addison
                                last edited by Addison

                                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

                                1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator
                                  last edited by

                                  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/.
                                  Add arm_64bit=0 to your /boot/config.txt , reboot and then try again installing the driver.

                                  AddisonA 1 Reply Last reply Reply Quote 1
                                  • AddisonA
                                    Addison @mitu
                                    last edited by

                                    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-bt

                                    REBOOTED

                                    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

                                    1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator
                                      last edited by mitu

                                      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.

                                      AddisonA 1 Reply Last reply Reply Quote 1
                                      • AddisonA
                                        Addison @mitu
                                        last edited by

                                        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.20191025

                                        Creating symlink /var/lib/dkms/8812au/5.6.4.2_35491.20191025/source ->
                                        /usr/src/8812au-5.6.4.2_35491.20191025

                                        DKMS: add completed.
                                        dkms build -m 8812au -v 5.6.4.2_35491.20191025

                                        Kernel 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.20191025

                                        88XXau.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: installed

                                        REBOOT

                                        Config WiFi
                                        Current IP: 192.168.0.15
                                        Wireless IP: 192.168.0.15

                                        Joy!

                                        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!

                                        1 Reply Last reply Reply Quote 0
                                        • AddisonA
                                          Addison
                                          last edited by

                                          Other Pi is now back to faster wireless speeds as well.

                                          Awesome! :D

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post

                                          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.