View previous topic :: View next topic |
Author |
Message |
xevra n00b
Joined: 04 Feb 2025 Posts: 4 Location: United States
|
Posted: Wed Feb 05, 2025 12:48 am Post subject: Installing Ethernet Drivers on Installation Media |
|
|
Hello!
I have thusfar been unsuccessful in accessing the internet on any bootable media from my new computer.
I have installed gentoo on a few broken laptops in the past month or two (from the minimum install CD), but am otherwise fairly new. I had no trouble configuring dhcpcd, sshd, or openRC on those devices.
This computer is a newly assembled a desktop computer, and I think the problem is that I am missing a driver for Ethernet connection.
The machine is connected to the same ethernet cable these other machines were connected to, and to the same port on the router.
My motherboard did not come with a manual, so I am never buying from Gigabyte again, but moreover: here's what I have tried so far (also apologies; I cannot copy/paste, so I am copying these by hand):
-------------------------------------------------------------------------------
Running displays:
Code: |
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
|
As there are no devices aside from the loopback, my next search was:
The two entries I thought were relevant were:
Code: |
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 0c)
Subsystem: Gigabyte Technology Co., Ltd Device e000
Kernel modules: r8169
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8922AE 802.11be PCIe Wireless Network Adapter (rev 01)
Subsystem: Realtek Semiconductor Co., Ltd RTL8922AE 802.11be PCIe Wireless Network Adapter
|
This is why I assume that the issue is with the drivers; the Ethernet controller shows up in lspci.
The next thing I tried to do was download the driver for the RTL8125. It is the second file here: https://www.realtek.com/Download/List?cate_id=584
It comes as a file.tar.bz2
I copied it onto a second flash drive, and copied it onto the filesystem for the minimum install cd, only to discover that make and gcc are not included.
Following this thread: https://forums.gentoo.org/viewtopic-t-1005562-start-0.html I attempted to install Gentoo from SystemRescue as well, but encountered the exact same issue at the exact same time.
I also tried the Gentoo liveCD with the plasma GUI. This has make and gcc. From the liveCD, I could still not connect to the internet without fixing anything (I did try).
After copying the files and unpacking the tarball, I attempted:
Code: |
cd ~/Desktop/r8125-9.014.01
sudo su
./autorun.sh
|
However, this time I got the following errors:
Code: |
Check the old driver and unload it.
rmmod r8169
Build the module and install
make[2]: *** /lib/modules/6.6.74-gentoo-dist/build: No such file or directory. Stop.
make[1]: *** [Makefile:201: clean] Error 2
make: ** [Makefile:48: clean] Error 2
|
This is a freshly loaded liveCD, so if there's anything I need to do first, assume I haven't done it.
Finally, I gave up and tried to install debian. I downloaded and installed the latest bookworm iso, and Debian also couldn't find a network driver. This is my best indication that something is wrong, because Debian has never failed me like this before.
I compiled the driver on my other debian computer, and loaded it onto a USB, and Debian says:
Code: |
Cannot read removable media, or no drivers found
|
So I'm clearly missing something here, and I could use some assistance. |
|
Back to top |
|
|
bent Tux's lil' helper
Joined: 26 Mar 2003 Posts: 95 Location: New Zealand
|
Posted: Wed Feb 05, 2025 1:45 am Post subject: |
|
|
try and
and see if your ethernet card shows in `ip link` _________________ Back on the G after 15 years on the Cupertino Kool-aid |
|
Back to top |
|
|
xevra n00b
Joined: 04 Feb 2025 Posts: 4 Location: United States
|
Posted: Wed Feb 05, 2025 2:12 am Post subject: |
|
|
Thanks for the suggestion,
I tried this on both the minimal install and the liveCD. No new devices appear in `ip link`
Also, on a fresh boot of the minimal install, I ran:
It comes up with:
This indicates to me that r8169 was already running in the kernel. |
|
Back to top |
|
|
bent Tux's lil' helper
Joined: 26 Mar 2003 Posts: 95 Location: New Zealand
|
Posted: Wed Feb 05, 2025 2:13 am Post subject: |
|
|
Hm, I saw somewhere the 8125 should work under the 8169 driver. Sorry, that's all I've got. _________________ Back on the G after 15 years on the Cupertino Kool-aid |
|
Back to top |
|
|
xevra n00b
Joined: 04 Feb 2025 Posts: 4 Location: United States
|
Posted: Wed Feb 05, 2025 2:28 am Post subject: |
|
|
Ah, that's okay. Thanks for trying to help!
Maybe someone else will come along. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23081
|
Posted: Wed Feb 05, 2025 2:53 am Post subject: |
|
|
Welcome to the forums. I think it is unusual for lspci to report the kernel module for a network device, but then ip link not to show it. Is there anything relevant in dmesg noting that the kernel found your card? I wonder if your card needs firmware, and without the firmware, is not functional enough for ip link to report it. |
|
Back to top |
|
|
xevra n00b
Joined: 04 Feb 2025 Posts: 4 Location: United States
|
Posted: Wed Feb 05, 2025 3:22 am Post subject: |
|
|
Hi, and thank you!
I'm not sure how to interpret *dmesg*, but here are some lines I think are relevant (because the numbers 8125 and 8922 match the ethernet and network devices, and because 6:00 and 7:00 match those devices in the *lspci* call):
Code: |
[ 0.451186] pci 0000:04:00.0: PCI bridge to [bus 05]
[ 0.451235] pci 0000:06:00.0: [10ec:8125] type 00 class 0x020000
[ 0.451254] pci 0000:06:00.0: reg 0x10: [io 0xd000-0xd0ff]
[ 0.451280] pci 0000:06:00.0: reg 0x18: [mem 0xdeb00000-0xdeb0ffff 64bit]
[ 0.451297] pci 0000:06:00.0: reg 0x20: [mem 0xdeb10000-0xdeb13fff 64bit]
[ 0.451413] pci 0000:06:00.0: supports D1 D2
[ 0.451414] pci 0000:06:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.451648] pci 0000:04:02.0: PCI bridge to [bus 06]
[ 0.451651] pci 0000:04:02.0: bridge window [io 0xd000-0xdfff]
[ 0.451653] pci 0000:04:02.0: bridge window [mem 0xdeb00000-0xdebfffff]
[ 0.451698] pci 0000:07:00.0: [10ec:8922] type 00 class 0x028000
[ 0.451715] pci 0000:07:00.0: reg 0x10: [io 0xc000-0xc0ff]
[ 0.451735] pci 0000:07:00.0: reg 0x18: [mem 0xdea00000-0xdeafffff 64bit]
[ 0.451846] pci 0000:07:00.0: PME# supported from D0 D3hot D3cold
[ 0.452042] pci 0000:04:03.0: PCI bridge to [bus 07]
|
If you're wondering how I copied and pasted this without internet, I copied /var/log/dmesg to a flash drive.
Also, this is the motherboard: https://www.aorus.com/en-us/motherboards/x870-aorus-elite-wifi7-ice/Key-Features
Thanks for taking the time to help! |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 5372 Location: Bavaria
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|