Wired Interface (enp5s0) IP configuration was unavailable

I've just done a fresh install of Garuda and despite the internet working just fine on the USB stick, the actual install is unable to connect to the internet. I'm getting a:

Wired Interface (enp5s0)
IP configuration was unavailable

error and it keeps trying but failing to connect. Any idea what's going on?

Welcome to the Garuda Community!

Without significantly more information no one will be able to help you with that. Which DE are you on? What kind of computer are we looking at?

please post output of inxi -Fzxxxa

Please read how to report bugs

2 Likes

I'm not sure what "DE" is.

Here's the FZXXXA output.

System:    Kernel: 5.10.4-107-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.0
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq
           root=UUID=328298ae-2aaa-498b-b0f7-d8b429022ec8 rw [email protected] quiet splash
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3
           Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM
           Distro: Garuda Linux
Machine:   Type: Desktop System: Gigabyte product: AB350M-D3H v: N/A serial: <filter>
           Mobo: Gigabyte model: AB350M-D3H-CF v: x.x serial: <filter> UEFI: American Megatrends v: F2
           date: 04/07/2017
CPU:       Info: Quad Core model: AMD Ryzen 5 1400 bits: 64 type: MT MCP arch: Zen family: 17 (23) model-id: 1
           stepping: 1 microcode: 800111C L2 cache: 2 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 51156
           Speed: 2853 MHz min/max: 1550/3200 MHz boost: disabled Core speeds (MHz): 1: 2853 2: 2800 3: 2770
           4: 2911 5: 2908 6: 2616 7: 2649 8: 2561
           Vulnerabilities: Type: itlb_multihit status: Not affected
           Type: l1tf status: Not affected
           Type: mds status: Not affected
           Type: meltdown status: Not affected
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
           Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
           Type: srbds status: Not affected
           Type: tsx_async_abort status: Not affected
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
           vendor: Micro-Star MSI driver: amdgpu v: kernel bus ID: 09:00.0 chip ID: 1002:67df
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: amdgpu,ati unloaded: modesetting
           alternate: fbdev,vesa display ID: :0 screens: 1
           Screen-1: 0 s-res: 3440x1440 s-dpi: 96 s-size: 910x381mm (35.8x15.0") s-diag: 987mm (38.8")
           Monitor-1: DisplayPort-2 res: 3440x1440 hz: 144 dpi: 109 size: 800x335mm (31.5x13.2")
           diag: 867mm (34.1")
           OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.40.0 5.10.4-107-tkg-bmq LLVM 11.0.0)
           v: 4.6 Mesa 20.3.2 direct render: Yes
Audio:     Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: Micro-Star MSI
           driver: snd_hda_intel v: kernel bus ID: 09:00.1 chip ID: 1002:aaf0
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel
           v: kernel bus ID: 12:00.3 chip ID: 1022:1457
           Device-3: Blue Microphones Yeti Stereo Microphone type: USB
           driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-3:2 chip ID: b58e:9e84 serial: <filter>
           Device-4: Kingston HyperX Cloud Flight S type: USB driver: hid-generic,snd-usb-audio,usbhid
           bus ID: 1-2:2 chip ID: 0951:16ea serial: <filter>
           Sound Server: ALSA v: k5.10.4-107-tkg-bmq
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169
           v: kernel port: f000 bus ID: 05:00.0 chip ID: 10ec:8168
           IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    Local Storage: total: 689.33 GiB used: 13.76 GiB (2.0%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST240HM000-1G5152 size: 223.57 GiB block size:
           physical: 4096 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: C675
           ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB block size:
           physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: 3B6Q
Partition: ID-1: / raw size: 232.57 GiB size: 232.57 GiB (100.00%) used: 13.73 GiB (5.9%) fs: btrfs
           dev: /dev/sdb5 maj-min: 8:21
           ID-2: /boot/efi raw size: 100 MiB size: 96 MiB (96.00%) used: 25.5 MiB (26.6%) fs: vfat
           dev: /dev/sdb2 maj-min: 8:18
           ID-3: /home raw size: 232.57 GiB size: 232.57 GiB (100.00%) used: 13.73 GiB (5.9%) fs: btrfs
           dev: /dev/sdb5 maj-min: 8:21
           ID-4: /var/log raw size: 232.57 GiB size: 232.57 GiB (100.00%) used: 13.73 GiB (5.9%) fs: btrfs
           dev: /dev/sdb5 maj-min: 8:21
           ID-5: /var/tmp raw size: 232.57 GiB size: 232.57 GiB (100.00%) used: 13.73 GiB (5.9%) fs: btrfs
           dev: /dev/sdb5 maj-min: 8:21
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
           ID-1: swap-1 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram0
           ID-2: swap-2 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram1
           ID-3: swap-3 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram2
           ID-4: swap-4 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram3
           ID-5: swap-5 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram4
           ID-6: swap-6 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram5
           ID-7: swap-7 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram6
           ID-8: swap-8 type: zram size: 1.96 GiB used: 0 KiB (0.0%) priority: 32767 dev: /dev/zram7
Sensors:   System Temperatures: cpu: 70.2 C mobo: N/A gpu: amdgpu temp: 48.0 C
           Fan Speeds (RPM): N/A gpu: amdgpu fan: 1129
Info:      Processes: 291 Uptime: 1m wakeups: 0 Memory: 15.64 GiB used: 2.37 GiB (15.2%) Init: systemd v: 247
           Compilers: gcc: 10.2.0 clang: 11.0.0 Packages: pacman: 1574 lib: 494 Shell: fish v: 3.1.2
           running in: alacritty inxi: 3.2.01

can you give the output of

ifconfig enp5s0

I'll also note that the internet connects some of the time when on boot, and then other times I get these repeating error of failing to get an IP address? Could it be trying to request an already in use IP and something is wrong with my Garunda's DHCP settings? No other device on my network gets IP conflicts.

Here's an export of that command when it fails to connect on boot and keeps trying over and over.

 enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::a4b:fe89:a3b2:3c8c  prefixlen 64  scopeid 0x20<link>
        ether 1c:1b:0d:e4:d5:e6  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Here's an export of the ifconfig command when it does connect.

enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.7.20  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::a4b:fe89:a3b2:3c8c  prefixlen 64  scopeid 0x20<link>
        inet6 fd0e:bf5b:ba2b:1:2a2:22ce:ba20:6582  prefixlen 64  scopeid 0x0<global>
        ether 1c:1b:0d:e4:d5:e6  txqueuelen 1000  (Ethernet)
        RX packets 5697  bytes 5764888 (5.4 MiB)
        RX errors 0  dropped 14  overruns 0  frame 0
        TX packets 4212  bytes 415247 (405.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Can you try another cable and port on your router/switch?

Just tried that and it doesn't seem to change anything. I'm dual booting windows on this machine and windows itself has no issues grabbing an IP and never fails to connect to the network, so I don't think it's a hardware issue.

Is there some sort of log I can get on all the stuff it's doing when it's getting these errors that I can post?

It could be the driver that you are using. You can try

sudo pacman -Syu r8618-dkms

I get this when I try that:

╰─λ sudo pacman -Syu r8618-dkms
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur is up to date
error: target not found: r8618-dkms

Doh my bad in a typo

sudo pacman -Syu r8168-dkms

Not likely. Have you rebooted your router already? If not, do it.
I suspect a DNS problem.
Check for errors

systemctl status systemd-resolved
systemctl --failed
journalctl -b -p3 --no-pager --no-hostname

I did this and rebooted several times and no longer have issues. I'm going to leave this unresolved for a day and continue doing periodic sleep/resets to see if it returns but if it doesn't come back I'll mark this as resolved.

1 Like