Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: Install of 20.04 disables WiFi

  1. #1
    Join Date
    Feb 2017
    Beans
    76

    Install of 20.04 disables WiFi

    I have an HP Paviliion TS11 running Lubuntu 18.04, with a dongle for WiFi access (I couldn't get the built-in RT3290 to work). A couple of years ago, a kernel upgrade disabled WiFi, but I was given assistance in https://ubuntuforums.org/showthread.php?t=2398249 by Jeremy31.

    I have now arranged for this machine to boot Lubuntu 20.04 alongside 18.04, with kernels 4.5.0-106 and 5.4.0-26 respectively. The 18.04 system works fine, but not the 20.04 system (I tried downloading the software from the same address as before, https://github.com/abperiasamy/rtl88...21AU_linux.git, but presumably this isn't suitable for a 5.4 kernel).

    I wonder if software for the series 5 kernels is available?

    Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,321
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install of 20.04 disables WiFi

    This compiles cleanly on my 5.4.0-xx system: https://github.com/gordboy/rtl8812au

    Please post back if you need a step-by-step.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  3. #3
    Join Date
    Feb 2017
    Beans
    76

    Re: Install of 20.04 disables WiFi

    Thank you. I downloaded the software and followed the instructions in the file README.md:
    Code:
    To use dkms install:
    
    ```sh
      (as root, or sudo) copy source folder contents to /usr/src/rtl8812au-5.2.20
    ```
    
    ```sh
    $ sudo dkms add -m rtl8812au -v 5.2.20
    $ sudo dkms build -m rtl8812au -v 5.2.20
    $ sudo dkms install -m rtl8812au -v 5.2.20
    ```
    There were no errors. I also noted that the README file contained a comment
    Code:
    ### NetworkManager
    
    As others have noted, people using NetworkManager need to add this stanza to /etc/NetworkManager/NetworkManager.conf
    
    ```sh
      [device]
      wifi.scan-rand-mac-address=no
    ```
    but it was already there.

    Unfortunately there's a problem. I found the following:
    Code:
    rfkill
    ID TYPE DEVICE      SOFT    HARD
     0 wlan phy1   unblocked blocked
    This was the problem I had with the built-in RT3290 adapter, and is the reason I'm using a dongle.

    I'd be grateful for further advice; wireless-info is at https://pastebin.com/RnVmGJC1.

    PS I wonder whether the comment at the top of the README file is relevant:
    Code:
    # rtl8812au
    
    ## Realtek 8812AU driver version 5.2.20.2 ** NOW OBSOLETE **
    
    **************************************************************************
    Please use 5.6.4.2 version at https://github.com/gordboy/rtl8812au-5.6.4.2
    **************************************************************************

  4. #4
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,321
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install of 20.04 disables WiFi

    0 wlan phy1 unblocked blocked
    Since there is only one entry, we don't know if it is referring to the built-in, the USB or both.

    As the wireless drivers may conflict, I suggest that we blacklist the drivers for the built-in to see if it helps.

    Code:
    sudo -i
    echo "blacklist rt2800pci"  >>  /etc/modprobe.d/blacklist.conf
    echo "blacklist rt2x00pci"  >>  /etc/modprobe.d/blacklist.conf
    exit
    Reboot and show us:

    Code:
    rfkill
    dmesg | grep -e rtl -e rtw
    PS I wonder whether the comment at the top of the README file is relevant:
    Code:
    # rtl8812au

    ## Realtek 8812AU driver version 5.2.20.2 ** NOW OBSOLETE **
    However, the 5.2.20.2 version compiles for our 5.4.0-xx kernel versions. The 5.6.4.2 version does not:

    /home/chili/Desktop/Forum/gordboy/rtl8812au-5.6.4.2/include/../hal/phydm/phydm_precomp.h:270:11: fatal error: rtl8821a/halhwimg8821a_mac.h: No such file or directory
    270 | #include "rtl8821a/halhwimg8821a_mac.h"
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  5. #5
    Join Date
    Feb 2017
    Beans
    76

    Re: Install of 20.04 disables WiFi

    The response from rfkill came from the built-in adapter: I confirmed this by removing the dongle (sorry, I should have tried that earlier).

    After blacklisting the built-in adapter, here is the response (I put the dongle back, of course):
    Code:
    ~$ rfkill
    ~$ dmesg | grep -e rtl -e rtw
    [   20.785103] rtl8812au: loading out-of-tree module taints kernel.
    [   20.787518] rtl8812au: module verification failed: signature and/or required key missing - tainting kernel
    [   20.794288] RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
    [   20.794291] RTL871X: rtl8812au BT-Coex version = BTCOEX20150128-51
    [   21.441476] Modules linked in: uvcvideo rtl8812au(OE+) videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common cfg80211 videodev amd_freq_sensitivity mc edac_mce_amd ccp snd_hda_codec_realtek kvm snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel hid_multitouch snd_intel_dspcfg snd_hda_codec joydev input_leds hp_wmi wmi_bmof sparse_keymap snd_hda_core serio_raw rtsx_pci_ms snd_hwdep memstick k10temp fam15h_power snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer snd soundcore hp_accel lis3lv02d mac_hid input_polldev hp_wireless sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log amdgpu amd_iommu_v2 gpu_sched crct10dif_pclmul crc32_pclmul ghash_clmulni_intel radeon i2c_algo_bit ttm rtsx_pci_sdmmc aesni_intel crypto_simd drm_kms_helper sdhci_pci syscopyarea cqhci cryptd glue_helper sysfillrect ahci sdhci sysimgblt i2c_piix4 libahci psmouse
    [   21.441780]  ? _rtw_malloc+0x2d/0x2f [rtl8812au]
    [   21.441856]  ? _rtw_memcpy+0x10/0x12 [rtl8812au]
    [   21.441931]  ? rtw_5g_rates_init+0x1a/0x1c [rtl8812au]
    [   21.442007]  ? rtw_spt_band_alloc+0xb0/0xb2 [rtl8812au]
    [   21.442082]  rtw_wdev_alloc+0x107/0x2ad [rtl8812au]
    [   21.442158]  rtw_usb_if1_init+0x138/0x205 [rtl8812au]
    [   21.442233]  rtw_drv_init+0x23a/0x2c5 [rtl8812au]
    [   21.442363]  rtw_drv_entry+0x86/0x1000 [rtl8812au]
    [   21.593635] usbcore: registered new interface driver rtl8812au
    ~$
    Should I follow this instruction from the README file?
    Code:
    ### Regdb files
    
    If needed, copy the regulatory database files in regdb/ to /lib/firmware/
    
    ```sh
    $ sudo cp ./regdb/* /lib/firmware/
    ```

  6. #6
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,321
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install of 20.04 disables WiFi

    RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
    I thought that you had successfully compiled version 5.2.20.2. Let's see what went wrong:

    Code:
    sudo dkms status
    Should I follow this instruction from the README file?
    Code:
    ### Regdb files

    If needed, copy the regulatory database files in regdb/ to /lib/firmware/

    ```sh
    $ sudo cp ./regdb/* /lib/firmware/
    I don't believe it is needed here.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  7. #7
    Join Date
    Feb 2017
    Beans
    76

    Re: Install of 20.04 disables WiFi

    Code:
    rtl8812au, 4.3.14, 5.4.0-26-generic, x86_64: built
    rtl8812au, 4.3.14, 5.4.0-37-generic, x86_64: installed
    rtl8812au, 5.2.20, 5.4.0-26-generic, x86_64: installed
    (The default boot is into 5.4.0-26, but that's an accidental consequence of the route I took to getting the machine to be set up as triple-boot with 18.04, 20.04 and Windows; I'll fix that in due course.)

    So I guess the problem is that I installed the old version of rtl8812au, not realising that it wouldn't work with a 5.4 kernel, and that this is now conflicting with the new version? If so, how should I remove the old version?

  8. #8
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,321
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install of 20.04 disables WiFi

    Please do:

    Code:
    sudo dkms remove rtl8812au/4.3.14 --all
    Reboot into 5.4.0-26 and let us see:

    Code:
    rfkill
    dmesg | grep -e rtl -e rtw
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

  9. #9
    Join Date
    Feb 2017
    Beans
    76

    Re: Install of 20.04 disables WiFi

    I've done that, and rebooted into 5.4.0-26; here's the result.
    Code:
    ~$ sudo dkms status
    rtl8812au, 5.2.20, 5.4.0-26-generic, x86_64: installed
    ~$ rfkill
    ~$ dmesg | grep -e rtl -e rtw
    [   19.542194] rtl8812au: loading out-of-tree module taints kernel.
    [   19.544771] rtl8812au: module verification failed: signature and/or required key missing - tainting kernel
    [   19.551427] RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
    [   19.551430] RTL871X: rtl8812au BT-Coex version = BTCOEX20150128-51
    [   20.188688] Modules linked in: snd_hda_intel videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_intel_dspcfg videobuf2_common snd_hda_codec rtl8812au(OE+) videodev snd_hda_core snd_hwdep snd_pcm mc amd_freq_sensitivity cfg80211 edac_mce_amd snd_seq_midi snd_seq_midi_event ccp snd_rawmidi kvm snd_seq k10temp fam15h_power joydev hid_multitouch input_leds serio_raw hp_wmi snd_seq_device wmi_bmof rtsx_pci_ms snd_timer sparse_keymap memstick snd soundcore hp_accel lis3lv02d hp_wireless input_polldev mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log amdgpu amd_iommu_v2 gpu_sched crct10dif_pclmul crc32_pclmul ghash_clmulni_intel radeon aesni_intel i2c_algo_bit rtsx_pci_sdmmc crypto_simd ttm drm_kms_helper cryptd sdhci_pci syscopyarea sysfillrect psmouse cqhci glue_helper sysimgblt fb_sys_fops rtsx_pci sdhci drm i2c_piix4 ahci r8169 libahci realtek wmi video hid_logitech_hidpp hid_logitech_dj
    [   20.188986]  ? _rtw_malloc+0x2d/0x2f [rtl8812au]
    [   20.189062]  ? _rtw_memcpy+0x10/0x12 [rtl8812au]
    [   20.189137]  ? rtw_5g_rates_init+0x1a/0x1c [rtl8812au]
    [   20.189213]  ? rtw_spt_band_alloc+0xb0/0xb2 [rtl8812au]
    [   20.189288]  rtw_wdev_alloc+0x107/0x2ad [rtl8812au]
    [   20.189364]  rtw_usb_if1_init+0x138/0x205 [rtl8812au]
    [   20.189439]  rtw_drv_init+0x23a/0x2c5 [rtl8812au]
    [   20.189570]  rtw_drv_entry+0x86/0x1000 [rtl8812au]
    [   20.339676] usbcore: registered new interface driver rtl8812au
    ~$

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    25,321
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Install of 20.04 disables WiFi

    RTL871X: rtl8812au v4.3.14_13455.20150212_BTCOEX20150128-51
    A very interesting but puzzling result. May we see:

    Code:
    modinfo rtl8812au | grep version
    modinfo 8812au | grep version
    lsmod | grep 8812
    sudo updatedb
    locate 8812au.ko
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D., Sc.D.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •