You are not logged in.

#1 2023-02-18 15:58:01

UnknownError
Member
Registered: 2022-08-10
Posts: 3

[SOLVED] IPV4 connections stopped working. Routing table empty

Hello,

Since a few days I can't connect over ipv4 anymore, but ipv6 still works. In my dual booted windows everything works fine, so it is probably not a problem with my home network.

Some command outputs

When I run networkctl I get

DX LINK   TYPE     OPERATIONAL SETUP      
  1 lo     loopback carrier     unmanaged
  2 enp7s0 ether    routable    configuring
  3 wlp5s0 wlan     off         unmanaged

3 links listed.

When I run ip link I get

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: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether a8:a1:59:2d:2c:4c brd ff:ff:ff:ff:ff:ff
3: wlp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether e8:94:f6:a6:19:24 brd ff:ff:ff:ff:ff:ff

When I run ip route I get an empty output but when I run ip -6 route I get

2a02:a45b:6687:1::/64 dev enp7s0 proto ra metric 1024 expires 249394sec pref medium
fe80::/64 dev enp7s0 proto kernel metric 256 pref medium
default via fe80::36da:b7ff:fede:4420 dev enp7s0 proto ra metric 1024 expires 1518sec pref medium

Does anyone know how I can fix this? Any help is appreciated smile
Just let me know if you need more info

Last edited by UnknownError (2023-02-18 18:10:30)

Offline

#2 2023-02-18 17:09:29

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [SOLVED] IPV4 connections stopped working. Routing table empty

As a sanity check, what is the output of ip a    ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2023-02-18 17:11:32

seth
Member
Registered: 2012-09-03
Posts: 50,006

Re: [SOLVED] IPV4 connections stopped working. Routing table empty

In my dual booted windows

3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

When I run ip link I get

"ip a" would be way more interesting.

And obligatory:
Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

And in case that doesn't lead anywere either:
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

(requires you to be online)

Online

#4 2023-02-18 18:02:23

frostschutz
Member
Registered: 2013-11-15
Posts: 1,409

Re: [SOLVED] IPV4 connections stopped working. Routing table empty

Offline

#5 2023-02-18 18:05:04

UnknownError
Member
Registered: 2022-08-10
Posts: 3

Re: [SOLVED] IPV4 connections stopped working. Routing table empty

seth wrote:

Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.

I did this, but did not fix.

seth wrote:

"ip a" would be way more interesting.

I ran "ip a" and got

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether a8:a1:59:2d:2c:4c brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.80/32 scope global enp7s0
       valid_lft forever preferred_lft forever
    inet6 2a02:a45b:6687:1:aaa1:59ff:fe2d:2c4c/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 242322sec preferred_lft 155922sec
    inet6 fe80::aaa1:59ff:fe2d:2c4c/64 scope link 
       valid_lft forever preferred_lft forever
3: wlp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether e8:94:f6:a6:19:24 brd ff:ff:ff:ff:ff:ff
seth wrote:

Please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

I ran this command and got

cups.path                                | multi-user.target.wants
cups.service                             | multi-user.target.wants
cups.service                             | printer.target.wants
cups.socket                              | sockets.target.wants
dbus-org.freedesktop.network1.service    | system
dbus-org.freedesktop.resolve1.service    | system
dbus-org.freedesktop.timesync1.service   | system
getty@tty1.service                       | getty.target.wants
p11-kit-server.socket                    | sockets.target.wants
pipewire-media-session.service           | pipewire.service.wants
pipewire-session-manager.service         | user
pipewire.socket                          | sockets.target.wants
powertop.service                         | multi-user.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-networkd.service                 | multi-user.target.wants
systemd-networkd.socket                  | sockets.target.wants
systemd-networkd-wait-online.service     | network-online.target.wants
systemd-network-generator.service        | sysinit.target.wants
systemd-resolved.service                 | multi-user.target.wants
systemd-timesyncd.service                | sysinit.target.wants
xdg-user-dirs-update.service             | default.target.wants

The system journal for boot can be found here https://0x0.st/HsoT.txt.

Offline

#6 2023-02-18 18:09:40

UnknownError
Member
Registered: 2022-08-10
Posts: 3

Re: [SOLVED] IPV4 connections stopped working. Routing table empty

frostschutz wrote:

I just tried that fix and yeah that worked! Thank you!

Offline

Board footer

Powered by FluxBB