0

How do i disable system wide IPv6 within ubuntu?

I know so many answers in here about this but situation is different. This is an embedded device.

Here is my conditions:

  • IPv6 disabled in kernel to gain some space
  • Bootloader is u-boot

According to here >> How to dynamically enable and disable ipv6 on an interface here is what i tried:

  1. *net.ipv6.conf.** was not worked in sysctl.conf because there is no /proc/sys/net/ipv6/ folder
  2. Could not configure from grub because there is no grub (:

Digging within google gave me the same solutions. And still IPv6 couses problems with my wireless.

Any idea how to do?

obayhan
  • 279

2 Answers2

-1

I think that if you worry about the little space that the IPv6 kernel module takes then you should probably be compiling your own kernel...

-1

The easiest way I found was to edit /etc/default/grub with sudo powers and change the kernel command line with:

GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash"

Then save the file, followed by the customary:

sudo update-grub