You are not logged in.

#1 2023-04-05 10:26:49

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

[SOLVED] enp1s0 doesn't exist

$ ip link
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: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 18:1d:ea:4f:0b:19 brd ff:ff:ff:ff:ff:ff
3: br-5ca0d700f4a1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
    link/ether 02:42:af:14:ff:20 brd ff:ff:ff:ff:ff:ff
4: br-893a5492bc24: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:36:c9:41:df brd ff:ff:ff:ff:ff:ff
5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:d6:9f:a6:ee brd ff:ff:ff:ff:ff:ff
6: br-d9a49999ccb8: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:c5:f4:ab:67 brd ff:ff:ff:ff:ff:ff
8: veth4527402@if7: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-5ca0d700f4a1 state UP mode DEFAULT group default
    link/ether 32:ae:08:c8:ac:6a brd ff:ff:ff:ff:ff:ff link-netnsid 0
10: veth467925e@if9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-5ca0d700f4a1 state UP mode DEFAULT group default
    link/ether ee:14:34:7f:49:12 brd ff:ff:ff:ff:ff:ff link-netnsid 1
12: vethd6db075@if11: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-5ca0d700f4a1 state UP mode DEFAULT group default
    link/ether 4a:e9:62:dc:78:59 brd ff:ff:ff:ff:ff:ff link-netnsid 2
14: vethd3e0143@if13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-5ca0d700f4a1 state UP mode DEFAULT group default
    link/ether 62:b8:68:0a:31:ad brd ff:ff:ff:ff:ff:ff link-netnsid 3
16: veth56a93c9@if15: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-5ca0d700f4a1 state UP mode DEFAULT group default
    link/ether 32:8b:e8:16:f7:b5 brd ff:ff:ff:ff:ff:ff link-netnsid 4

Last edited by Taughtimp2786 (2023-04-07 10:11:14)

Offline

#2 2023-04-05 10:28:28

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

Re: [SOLVED] enp1s0 doesn't exist

I loaded r8169 kernel module on boot, yet the link doesnt exists.
When I try this I still get an error:

$ sudo ip link set dev enp1s0 up && sudo dhcpcd enp1s0
Cannot find device "enp1s0"

Offline

#3 2023-04-05 11:36:31

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,239

Re: [SOLVED] enp1s0 doesn't exist

2: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 18:1d:ea:4f:0b:19 brd ff:ff:ff:ff:ff:ff

Did you disable "predictable network interface names" so kernel names like eth0 & wlan1 are used ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2023-04-05 12:18:12

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,152
Website

Re: [SOLVED] enp1s0 doesn't exist

dmesg? lspci -nnk?


Inofficial first vice president of the Rust Evangelism Strike Force

Offline

#5 2023-04-05 16:28:06

seth
Member
Registered: 2012-09-03
Posts: 60,793

Re: [SOLVED] enp1s0 doesn't exist

Lone_Wolf wrote:

Did you disable "predictable network interface names" so kernel names like eth0 & wlan1 are used ?

Installing iwd implicitly disables this nonsense, but only for wifi NICs (because it doesn't work w/ iwd…)
But we're lacking any wired NIC here

Offline

#6 2023-04-06 09:26:39

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

Re: [SOLVED] enp1s0 doesn't exist

schard wrote:

dmesg? lspci -nnk?

sudo dmesg | grep "enp1s0"

comes up empty.

$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation 8th Gen Core 4-core Desktop Processor Host Bridge/DRAM Registers [Coffee Lake S] [8086:3e1f] (rev 08)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: skl_uncore
        Kernel modules: ie31200_edac
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-S GT2 [UHD Graphics 630] [8086:3e91]
        DeviceName: Onboard - Video
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: i915
        Kernel modules: i915
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
00:12.0 Signal processing controller [1180]: Intel Corporation Cannon Lake PCH Thermal Controller [8086:a379] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake PCH SATA AHCI Controller [8086:a352] (rev 10)
        DeviceName: Onboard - SATA
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #7 [8086:a33e] (rev f0)
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: pcieport
00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 [8086:a330] (rev f0)
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: pcieport
00:1e.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller [8086:a328] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a308] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
        DeviceName: Onboard - Sound
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_sof_pci_intel_cnl
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
        DeviceName: Onboard - Other
        Subsystem: Lenovo Device [17aa:3140]
        Kernel driver in use: intel-spi
        Kernel modules: spi_intel_pci
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Lenovo Device [17aa:3140]
        Kernel modules: r8169
02:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3165 Plus Bluetooth [8086:3166] (rev 99)
        Subsystem: Intel Corporation Dual Band Wireless-AC 3165 [8086:4210]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Offline

#7 2023-04-06 09:32:22

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

Re: [SOLVED] enp1s0 doesn't exist

Hmm.
I manually loaded `r8169` using `sudo modprobe r8169`, and then when I use the command `$ sudo ip link set dev enp1s0 up && sudo dhcpcd enp1s0`, the link opens up and I get a connection from my ethernet.

$ sudo modprobe r8169
$ 
$ sudo ip link set dev enp1s0 up && sudo dhcpcd enp1s0
dhcpcd-9.4.1 starting
DUID 00:04:c8:8c:77:00:02:87:11:e9:ae:fe:06:d2:5d:89:1e:00
dhcp6_openudp: Address already in use
ps_inet_listenin6: Address already in use
ps_root_recvmsg: Address already in use
enp1s0: IAID 9f:f6:d2:35
enp1s0: soliciting an IPv6 router
enp1s0: Router Advertisement from fe80::1
enp1s0: adding address 2401:4900:1c42:4455:3bba:7b49:c702:e13f/64
enp1s0: adding route to 2401:4900:1c42:4455::/64
enp1s0: adding default route via fe80::1
enp1s0: requesting DHCPv6 information
enp1s0: soliciting a DHCP lease
enp1s0: offered 192.168.1.5 from 192.168.1.1
enp1s0: leased 192.168.1.5 for 86400 seconds
enp1s0: adding route to 192.168.1.0/24
enp1s0: adding default route via 192.168.1.1
/usr/lib/resolvconf/libc: line 230: /etc/resolv.conf: Operation not permitted
forked to background, child pid 99623

Last edited by Taughtimp2786 (2023-04-06 09:32:48)

Offline

#8 2023-04-06 09:35:59

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

Re: [SOLVED] enp1s0 doesn't exist

For context, I hadn't been using my ethernet cable for around three months. But then I recently plugged it in a few days ago, but it didn't seem to be working with my Linux desktop even though it was working fine on my Windows laptop. So some blog on the internet suggested that I load the module first, then see if it comes up. And it did. So I put r8189 in /etc/default/grub and regenerated the grub config. But that doesn't work. I have to manually load the module using modprobe.

I am using the linux-zen kernel btw.

Last edited by Taughtimp2786 (2023-04-06 09:36:59)

Offline

#9 2023-04-06 11:09:16

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

Re: [SOLVED] enp1s0 doesn't exist

Check/post dmesg. Safe assumption you installed a variant of r8168 from the repos which will blacklist r8169 but are now running a kernel that's either never been built with/for that module or is incompatible with it. Check that remove r8168 if installed.

Last edited by V1del (2023-04-06 11:10:09)

Online

#10 2023-04-07 09:50:50

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

Re: [SOLVED] enp1s0 doesn't exist

V1del wrote:

Check/post dmesg. Safe assumption you installed a variant of r8168 from the repos which will blacklist r8169 but are now running a kernel that's either never been built with/for that module or is incompatible with it. Check that remove r8168 if installed.

dmesg:
https://bin.wantguns.dev/p/27Iqht.

$ pacman -Qnq | grep r8168
r8168

Your assumption was correct. I will remove it and restart.

Offline

#11 2023-04-07 10:10:37

Taughtimp2786
Member
Registered: 2021-11-03
Posts: 43

Re: [SOLVED] enp1s0 doesn't exist

omg!! thank you!!!!!
i removed r8168 and ethernet now works on boot without loading anything manually!!

Offline

Board footer

Powered by FluxBB