You are not logged in.
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
Sanity check: Boot from a recent Arch install ISO and check the IPv6 situation in the live system.
Offline
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
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
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
What kind of network adapter is this and which kernel module is in use?
Offline
What kind of network adapter is this and which kernel module is in use?
Sorry, I never got a notification.
I am using an Intel X520-DA2 (10G SFP+), although it shows up in Plasma as a X540.
6.14.4-arch1-2 #1 SMP PREEMPT_DYNAMIC
Offline
The driver module should be "ixgbe" - look for all corresponding messages during boot.
Offline
I have a sysctl file to enable ipv6
net.ipv6.conf.all.disable_ipv6=0
net.ipv6.conf.default.disable_ipv6=0But 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.
doesn't sound very NIC specific, though.
And for clarification, it's *not* set to 1 on the install iso either?
What if you're only booting the rescue.target? Then start the multi-user.target and check again (2nd link below)
Did you maybe add sth. like https://wiki.archlinux.org/title/IPv6#systemd_unit ?
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Offline
The driver module should be "ixgbe" - look for all corresponding messages during boot.
Nothing from dmesg outside of it just coming up and showing capabilities.
Offline
I have a sysctl file to enable ipv6
net.ipv6.conf.all.disable_ipv6=0
net.ipv6.conf.default.disable_ipv6=0But 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.
doesn't sound very NIC specific, though.
And for clarification, it's *not* set to 1 on the install iso either?
What if you're only booting the rescue.target? Then start the multi-user.target and check again (2nd link below)Did you maybe add sth. like https://wiki.archlinux.org/title/IPv6#systemd_unit ?
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
I know I can do things to "force it" like set these sysconf after boot, but I'd just be bandaiding the problem.
Something is disabling IPV6, even though I specifically set it to enable in sysconf. I can't see anything ipv6 specifically disabling it, I looked all over the place.
Offline
for clarification, it's *not* set to 1 on the install iso either?
What if you're only booting the rescue.target? Then start the multi-user.target and check again (2nd link below)Did you maybe add sth. like https://wiki.archlinux.org/title/IPv6#systemd_unit ?
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Offline
I noticed identical messages in my logs today. For what it's worth, NordVPN seems to set net.ipv6.conf.all.disable_ipv6 = 1 when it's connected. Apparently that's to prevent identity leaks by IPv6 (https://support.nordvpn.com/hc/en-us/ar … th-NordVPN). If you happen to use Nord and have auto-connect enabled, that could explain why you're seeing IPv6 disabled on boot.
Offline
I noticed identical messages in my logs today. For what it's worth, NordVPN seems to set net.ipv6.conf.all.disable_ipv6 = 1 when it's connected. Apparently that's to prevent identity leaks by IPv6 (https://support.nordvpn.com/hc/en-us/ar … th-NordVPN). If you happen to use Nord and have auto-connect enabled, that could explain why you're seeing IPv6 disabled on boot.
I think you are on to something, I use Nord as well.
Offline