You are not logged in.

#1 2022-07-14 00:40:29

Cookie23
Member
Registered: 2018-10-24
Posts: 11

[solved] Unable to connect through USB Ethernet

I'm on a fresh install of Archlinux (new PC), and I cannot connect to Internet via USB ethernet. On my previous PC, I used wifi with wpa_supplicant and I didn't have those problems. I'm definitely not an expert on networks.

So I first tried to find the name of my ethernet interface :

ip link show
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
2: enp8s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 18:c0:4d:dc:3e:0e brd ff:ff:ff:ff:ff:ff
3: enp9s0f3u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 6e:e1:14:a2:51:fb brd ff:ff:ff:ff:ff:ff

I see two interfaces, enp8s0 and enp9s0f3u1 (a very long and weird name, but anyway).
So I instead run dmseg with the name of my ethernet driver, r8169

sudo dmesg | grep r8169
[    9.559141] r8169 0000:08:00.0 eth0: RTL8168h/8111h, 18:c0:4d:dc:3e:0e, XID 541, IRQ 74
[    9.559149] r8169 0000:08:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[   10.193430] r8169 0000:08:00.0 enp8s0: renamed from eth0

So it uses enp8s0 instead of eth0 from what I understand. Ok, so I run :

sudo ip link set dev enp8s0 up

It is up now. Then :

sudo dhcpcd enp8s0

That last command throws "waiting for carrier", then "timed out". And I don't know what to do next.

Last edited by Cookie23 (2022-07-14 02:43:33)

Offline

#2 2022-07-14 01:30:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,671

Re: [solved] Unable to connect through USB Ethernet

wpa_supplicant is really for use by wireless networks. 

As to the weird names:  https://access.redhat.com/documentation … vice_names

enp8s0 means Wired Ethernet, someplace on the PCI bus.
enp9s0f3u1 means Wired Ethernet on on USB device.

I imagine you have the cable attached to enps0f3u1 as we are discussing a USB interface.  You tried to bring up the other interface that is somewhere on the PCI bus (probably intrinsic to your motherboard)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2022-07-14 02:42:16

Cookie23
Member
Registered: 2018-10-24
Posts: 11

Re: [solved] Unable to connect through USB Ethernet

"wpa_supplicant is really for use by wireless networks." -> I've said it was for my wifi

Thanks ! I should have tried enp9s0f3u1, maybe I shouldn't install arch in the middle of the night instead of sleeping.

Offline

Board footer

Powered by FluxBB