Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Realtek b851 WiFi Card doesn't work in Ubuntu

  1. #1
    Join Date
    Aug 2024
    Beans
    9

    Realtek b851 WiFi Card doesn't work in Ubuntu

    Hello,

    My wife recently bought a new computer (ASUS X1504VAP-NJ815W) and I tried to install Kubuntu LTS on it. Originally after installation the computer would go to a blank screen after reboots, however I fixed this fault by updating to the latest packages using a USB to Ethernet adapter. I am now trying to get the inbuilt WiFi card up and running but am running into issues. lspci reports the card as:

    0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b851

    I then googled this b851 and it seems that it should be part of the rtw89 driver found here:

    https://github.com/lwfinger/rtw89

    So I followed the installation instructions. However, when I run "make" as recommended in the readme, I get the following error:

    /home/XXXX/rtw89/core.c: In function ‘rtw89_core_register_hw’:
    /home/XXXX/rtw89/core.c:4678:37:error: WIPHY_FLAG_DISABLE_WEXT’ undeclared (first use in this function)
    4678 | hw->wiphy->flags |= WIPHY_FLAG_DISABLE_WEXT;
    | ^~~~~~~~~~~~~~~~~~~~~~~
    /home/XXXX/rtw89/core.c:4678:37:note: each undeclared identifier is reported only once for each function it
    appears in
    make[3]: *** [scripts/Makefile.build:243: /home/XXXX/rtw89/core.o] Error 1
    make[2]: *** [/usr/src/linux-headers-6.8.0-31-generic/Makefile:1926: /home/XXXX/rtw89] Error 2
    make[1]: *** [Makefile:240: __sub-make] Error 2
    make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-31-generic'
    make: *** [Makefile:104: all] Error 2

    Any help would be greatly appreciated.

    Cheers.

  2. #2
    Join Date
    May 2014
    Location
    /home
    Beans
    11,164
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    See the wireless script link in my signature and post results

  3. #3
    Join Date
    Aug 2024
    Beans
    9

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    Hi,

    Thanks for the instruction. Was busy over the last week but I'm now I'm working on this issue again. I just did a fresh install of Kubuntu LTS 24.04.1 and although most issues I had seem to have now been fixed, the Wifi is still not working correctly. As requested I have run the Wireless Info Script you suggested (On the latest 24.04.1 LTS and the following is a link to the results on Pastebin:

    https://pastebin.com/x0SAGqty

    Cheers

  4. #4
    Join Date
    May 2014
    Location
    /home
    Beans
    11,164
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    What happens if you
    Code:
    sudo modprobe -v rtw89_8851be

  5. #5
    Join Date
    Aug 2024
    Beans
    9

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    No change. I thought I seen something move for a split second in the tray, but I checked network connections after running this command and only the USB Ethernet connection is there.

  6. #6
    Join Date
    May 2014
    Location
    /home
    Beans
    11,164
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    I think something very strange is happening and not sure of the cause. It shows the correct kernel drivers were loaded at some point but they aren't in use, so it might take a kernel update to fix

  7. #7
    Join Date
    Aug 2024
    Beans
    9

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    Should I raise a bug report on launchpad with this information or is there anything else I can try?

  8. #8
    Join Date
    May 2014
    Location
    /home
    Beans
    11,164
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    A bug report would be helpful, please post a link here

  9. #9
    Join Date
    Aug 2024
    Beans
    9

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu


  10. #10
    Join Date
    May 2014
    Location
    /home
    Beans
    11,164
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Realtek b851 WiFi Card doesn't work in Ubuntu

    Is there any way to get dmesg logs or something on the bug report? I see you had issues with apport not wanting to do anything

Page 1 of 2 12 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
  •