You are not logged in.

#1 2022-02-09 14:27:07

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

[SOLVED] Cannot get Ethernet to work.

Hi, I just got a powerline adapter and I've set it up according to the instructions. It looks however like Arch can't really see any networking.
According to lshw, ip link and dhcpcd, there is an interface named something like enp1s4u0, but I'm not sure where the problem occurs. I've tried downloading the r8169 driver but still can't detect it.
I do not use Windows at all so I can't really test out the issue, but it looks like other people have this issue as well.
I use the Zen kernel from the repos and my motherboard is a B450M DS3H (The ethernet port is along some USB ports).
The kernel version is 5.16.5 (Zen).

Last edited by AndroGR (2022-02-09 18:57:05)


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#2 2022-02-09 14:31:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,933

Re: [SOLVED] Cannot get Ethernet to work.

You have an interface, how are you trying to connect? You mention dhcpcd, how are you starting it, what do you see in it's logs? On connection attempt post

sudo journalctl -b

https://wiki.archlinux.org/title/List_o … n_services (alternatively redirect into a file and get that file somewhere you have internet access)

Offline

#3 2022-02-09 14:34:40

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] Cannot get Ethernet to work.

V1del wrote:

You have an interface, how are you trying to connect? You mention dhcpcd, how are you starting it, what do you see in it's logs? On connection attempt post

sudo journalctl -b

https://wiki.archlinux.org/title/List_o … n_services (alternatively redirect into a file and get that file somewhere you have internet access)

I do not "connect". I expect it to simply connect alone. Am I wrong here? Sorry, never used Ethernet before tongue

I also enabled dhcpcd to see if it was a NetworkManager issue but I switched back to NetworkManager again.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#4 2022-02-09 14:56:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,933

Re: [SOLVED] Cannot get Ethernet to work.

You still need to setup the interface "somehow". What NetworkManager UI are you used to and does it not have an option to set up the ethernet connection? What's your output of

nmcli device
nmcli connection

Offline

#5 2022-02-09 16:21:20

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] Cannot get Ethernet to work.

V1del wrote:

You still need to setup the interface "somehow". What NetworkManager UI are you used to and does it not have an option to set up the ethernet connection? What's your output of

nmcli device
nmcli connection

I just use KDE, whatever comes with it is my UI. I am a terminal guy tho. Posting the output in the next answer to get on my computer.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#6 2022-02-09 16:22:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,933

Re: [SOLVED] Cannot get Ethernet to work.

Well then you should be able to set up the network connection in the plasma-nm widget that normally resides in your system tray. Maybe post

sudo journalctl -b -u NetworkManager

Offline

#7 2022-02-09 16:37:46

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] Cannot get Ethernet to work.

V1del wrote:

Well then you should be able to set up the network connection in the plasma-nm widget that normally resides in your system tray. Maybe post

sudo journalctl -b -u NetworkManager

Forget about it. My interface is gone and the only ethernet interface is from the USB Tethering. Not sure what happened here. but probably the driver got unloaded.

For the output of:

nmcli device:

enp1s0f0u4  ethernet  connected               Xiaomi Mi/Redmi series (RNDIS) 
virbr0      bridge    connected (externally)  virbr0                         
wlp7s0f3u2  wifi      unavailable             --                             
lo          loopback  unmanaged               --

nmcli connection:

Xiaomi Mi/Redmi series (RNDIS)  d1becddd-4285-5cd0-d0ee-81d327489a10  ethernet  enp1s0f0u4 
virbr0                                              0dc351e2-56eb-4878-bbe5-32edf263ed07  bridge      virbr0
(And some WiFi networks i can't post publicly)

However, i watched some tutorials on YouTube and i've understood (Kinda?) how to set up the network.
I will come back when i find the interface.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#8 2022-02-09 16:45:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,933

Re: [SOLVED] Cannot get Ethernet to work.

In case this is the issue, you need to have only NetworkManager started and enabled, doing simultaneous experiments with dhcpcd while having NetworkManager running can lead to breakage/removal of the interface as a whole.

Offline

#9 2022-02-09 17:01:47

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] Cannot get Ethernet to work.

V1del wrote:

In case this is the issue, you need to have only NetworkManager started and enabled, doing simultaneous experiments with dhcpcd while having NetworkManager running can lead to breakage/removal of the interface as a whole.

I've already removed dhcpcd entirely. But I'll check into it further.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#10 2022-02-09 17:07:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,933

Re: [SOLVED] Cannot get Ethernet to work.

You'd need to reboot to repair any potential fallout from that... but seeing this other recent thread: https://bbs.archlinux.org/viewtopic.php?id=273978

Do you even have an ethernet controller on your mainboard? What's the output of

lspci -k

?

Offline

#11 2022-02-09 17:55:17

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] Cannot get Ethernet to work.

V1del wrote:

You'd need to reboot to repair any potential fallout from that... but seeing this other recent thread: https://bbs.archlinux.org/viewtopic.php?id=273978

Do you even have an ethernet controller on your mainboard? What's the output of

lspci -k

?

I've rebooted several times, mostly because I was looking around for Ethernet drivers. I think there is an Ethernet controller that's supposed to work fine, at least according to the manuals. Now I'm not sure if "Ethernet support" and "Ethernet controller" is the same, but considering I could see the interface before, the only actual issue is to find the interface again, I don't think it was a random one.
(Sorry, I can't post the lspci command right now, I will post it later).


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#12 2022-02-09 18:32:25

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] Cannot get Ethernet to work.

Little more researching, lshw claims the interface as UNCLAIMED:

doas lshw -C network

*-network UNCLAIMED       
       description: Ethernet controller
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:04:00.0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list
       configuration: latency=0
       resources: ioport:f000(size=256) memory:fcc00000-fcc00fff memory:f0300000-f0303fff

I will install the normal Linux kernel to see if it changes something.


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

#13 2022-02-09 18:56:39

AndroGR
Member
From: Athens, Greece.
Registered: 2021-10-15
Posts: 53

Re: [SOLVED] Cannot get Ethernet to work.

Fixed finally ! I reinstalled the kernel and the r8168 module. I have an issue with the IP configuration according to KDE but I'll fix it somehow I guess.
Thanks for everything smile


Arch | AMD Ryzen 5 1500X | AMD Radeon RX550 4GB | 16GB RAM (3200Mhz) | KDE Plasma | Linux Zen / Custom Kernel

Offline

Board footer

Powered by FluxBB