Not able to disable ipv6 from boot

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
knightfury

Not able to disable ipv6 from boot

Post by knightfury »

Hello i want to disable the whole ipv6 stack. viewtopic.php?t=156754#p812117
I tried "gedit /etc/default/grub" and editing - "GRUB_CMDLINE_LINUX="ipv6.disable=1"
Also tried- Adding "ipv6.disable=1" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ipv6.disable=1"
Tried- grub-mkconfig -o /boot/grub/grub.cfg after making and saving the changes.
The method is working when i press "e" in boot menu and add ipv6.disable=1 (which removes the "inet6 fe80::1e1b:dff:fe15:6ffa/64 scope link" part from 'ip a' command).
But i am not able make this change persistent.

PS:UEFI boot, Dual booting with opensuse (where this same setting has been made to work persistent)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Networking”