2

I have no wired network connection running Ubuntu 24.04 on a new system with a GIGABYTE X870 EAGLE WIFI7 (AM5, DDR5, M.2 PCIe 5.0, Wi-Fi 7) motherboard.

Bluetooth seems to be available but the Bluetooth 'dialogue' in settings doesn't find any devices, despite the phone I'm typing this on having Bluetooth enabled.

There was no network during installation. So I'm running whatever comes with 24.04.1 - no updates done.

Windows 11 was installed on the new machine and it had a connection, so I'm guessing the hardware is OK.

Help.


Output from wireless info script: https://pastebin.ubuntu.com/p/dJJ8vvVc5W/

AlanQ
  • 115
  • 1
    This question is similar to: My wireless/WiFi connection does not work. What information is needed to diagnose the issue?. If you believe it’s different, please [edit] the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem. – waltinator Feb 16 '25 at 00:01
  • Thank you @waltinator. I have run the script and added a link to the output. – AlanQ Feb 16 '25 at 14:13
  • 1
    Can you use USB tethering to install updates? Check apt policy linux-generic-hwe-24.04 and see if that is installed as the newer kernel might support the Reatek ethernet better – Jeremy31 Feb 16 '25 at 15:55
  • Thank you @Jeremy31. USB tethering worked and I was able to perform a package update. Now I seem to have wireless networking. But Ubuntu keeps saying a password is needed even though I've given it the correct WPA/WPA2 password. Still no wired connection... :( – AlanQ Feb 16 '25 at 18:31
  • The answer here https://askubuntu.com/a/1534024/592679 suggests that the needed driver is (?) available in the 6.12 kernel. The latest in 24.04 is the 6.11 kernel. Can I install 6.12 ? – AlanQ Feb 16 '25 at 19:21
  • In terminal do sudo modprobe r8169 and then sudo dmesg | grep r8169 then edit the question to include results. That answer you linked to is not for your bluetooth device but I might be able to look at the newest kernel and patch the bluetooth code to fix that – Jeremy31 Feb 16 '25 at 21:17
  • Thank you again @Jeremy31. I've solved the problem. I'm typing up the answer now... – AlanQ Feb 17 '25 at 00:12

1 Answers1

0

Intro

The necessary driver for wired networking is available in kernel 6.13.2-061302-generic
I didn't check any earlier kernels.

Detail

USB tethering

To get a temporary network connection, @Jeremy31's suggestion in the question comments of USB tethering worked very easily from my Samsung Android phone. This allowed downloading and updating.
Connect the phone to the PC using a USB cable.
In Android: Settings > Connections > Mobile Hotspot and Tethering > USB tethering ON

Adjust GRUB

You will probably want GRUB to show kernel options (Advanced Options for Ubuntu) in case the new kernel causes problems with your system:

The answer to How to get the GRUB menu to show up at boot-time in Ubuntu 24.04 has the detail: https://askubuntu.com/a/1521908

Install newer Kernel

The program 'mainline' makes this easy:
It's installation and use is described under 'Method 3: Manually Update the Kernel (Advanced Procedure)' in How to Update Linux Kernel In Ubuntu
sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update
sudo apt install mainline

For me, 'mainline' came up as a terminal application (non-GUI).

mainline help shows the options.
sudo mainline list shows the Kernel versions available for install.
sudo mainline install-latest installs the latest version (in my case 6.13.2).

Then simply re-boot. The new, most recent, kernel is chosen by default. But 'Advanced Options for Ubuntu' can be selected so as to choose another kernel if the new one causes problems.

Almost certainly 'Secure Boot' in the BIOS will complain about the unsigned kernel. You'll have to disable secure boot until the official kernel version gets past the one you just installed.

AlanQ
  • 115