You are not logged in.

#1 2025-03-05 02:12:17

mistrob
Member
Registered: 2024-09-17
Posts: 9

do-add-ip6-address[5:]: failure 13

My journal is flooded with ipv6 permission denied attempting to set ipv6 ips, I have attempted to enable ipv6 but it is disabled on boot.

`Jan 13 16:34:56 home NetworkManager[3423]: <warn>  [] platform-linux: do-add-ip6-address[5: ]: failure 13 (Permission denied - ipv6: IPv6 is disabled on this device)`

I have a sysctl file to enable ipv6

net.ipv6.conf.all.disable_ipv6=0
net.ipv6.conf.default.disable_ipv6=0

But on boot it is set to 1 (disabled).  If I manually do it with sysctl the problem goes away, IPV6 is enabled and the log spam stops.  This is all lost at boot even if I use sysctl -p or manually create a conf file.

I have looked at all other sysctl files, there is no calls to ipv6 anything.
It is not disabled by modprobe, systemd boot loader, network manager dispatcher scripts, checked dmesg logs for any mention of ipv6 being disabled.

Outside of manually re-enabling ipv6 each boot, I can't find a way to resolve this.  I don't specifically need ipv6, but I do enable it on my nics as it is the future and don't want it disabled. (edited)

───────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
       │ File: /etc/sysctl.d/20-ipv6.conf
───────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1   │ net.ipv6.conf.all.disable_ipv6=0
   2   │ net.ipv6.conf.default.disable_ipv6=0

Last edited by mistrob (2025-03-05 02:13:13)

Offline

#2 2025-03-05 07:30:16

-thc
Member
Registered: 2017-03-15
Posts: 859

Re: do-add-ip6-address[5:]: failure 13

Sanity check: Boot from a recent Arch install ISO and check the IPv6 situation in the live system.

Offline

#3 2025-03-21 06:58:51

mistrob
Member
Registered: 2024-09-17
Posts: 9

Re: do-add-ip6-address[5:]: failure 13

-thc wrote:

Sanity check: Boot from a recent Arch install ISO and check the IPv6 situation in the live system.

From CLI I didn't see errors in the logs, but I couldn't figure out how to boot a KDE session from the ISO.

Offline

#4 2025-03-21 07:32:27

-thc
Member
Registered: 2017-03-15
Posts: 859

Re: do-add-ip6-address[5:]: failure 13

If you want to check a running live OS with GUI you can use an Arch derivative like Antergos (discontinued) or EndeavorOS.

If IPv6 works in the Arch install OS environment you have to hunt for the cause in your installed system.
Double-check the boot chain (UEFI -> UEFI boot manager -> boot loader -> kernel / RAM disk).

Offline

#5 2025-03-21 09:43:12

mistrob
Member
Registered: 2024-09-17
Posts: 9

Re: do-add-ip6-address[5:]: failure 13

-thc wrote:

If you want to check a running live OS with GUI you can use an Arch derivative like Antergos (discontinued) or EndeavorOS.

If IPv6 works in the Arch install OS environment you have to hunt for the cause in your installed system.
Double-check the boot chain (UEFI -> UEFI boot manager -> boot loader -> kernel / RAM disk).

I've checked everything in the path that I can think of.
I know the bios isn't disabling it as I can manually change the sysctl to enable ipv6 and it works and errors go away immediately.
There is nothing being blacklisted in the modiules.
The systemd boot has no arguments disabling it.
There is no reference to ipv6 in any of the sysctl files except where I explicitly try to enable it to avoid this issue (unsuccessfully).

I am out of ideas where to check.

If I sysctl -a | grep net.ipv6.conf.all.disable, I can see it is in fact disabled (unless I manually change this for this session).

Yet I have both of these in sysctl.d

net.ipv6.conf.all.disable_ipv6=0
net.ipv6.conf.default.disable_ipv6=0

I know ipv6 works fully, it's just somewhere net.ipv6.conf.all.disable_ipv6 and net.ipv6.conf.default.disable_ipv6 is being set to 1 and it isn't anywhere obvious.

I scanned the entire file system for any file that includes "net.ipv6.conf.all.disable_ipv6" with nothing showing up except for the sysctl file where I disable them (to enable IPV6).

Offline

#6 2025-03-21 11:31:07

-thc
Member
Registered: 2017-03-15
Posts: 859

Re: do-add-ip6-address[5:]: failure 13

What kind of network adapter is this and which kernel module is in use?

Offline

Board footer

Powered by FluxBB