Re: Disable ipv6.......
On Thu, 2 Jan 2014 18:22:09 +1100 Charlie sent:
> On Thu, 02 Jan 2014 07:58:24 +0100 Ivan Jurišić sent:
>
> > Try this:
> >
> > 1. open file /etc/default/grub
> >
> > nano /etc/default/grub
> >
> > 2 add "ipv6.disable=1" in variable GRUB_CMDLINE_LINUX_DEFAULT,
> > example:
> >
> > GRUB_CMDLINE_LINUX_DEFAULT="quiet ipv6.disable=1"
> >
> > 3. last step, update grup and reboot PC:
> >
> > update-grub
> > reboot
>
> Thank you Ivan,
>
> Did that:
>
> But I still get the same message:
>
> # rmmod ipv6
> libkmod: ERROR ../libkmod/libkmod-module.c:1802
> kmod_module_get_holders: could not open '/sys/module/ipv6/holders': No
> such file or directory Error: Module ipv6 is in use
>
> Which I can only assume means that ipv6 is actually still in use,
> unless it's tricking me of course? [laughing]
Further to this tried:
echo 'blacklist ipv6' >> /etc/modprobe.d/blacklist
but received the same message as all the other times.
Did:
Ifdown eth0
then did:
# rmmod ipv6
Same error message:
libkmod: ERROR ../libkmod/libkmod-module.c:1802
kmod_module_get_holders: could not open '/sys/module/ipv6/holders': No
such file or directory Error: Module ipv6 is in use
Did:
net.ipv6.conf.all.disable_ipv6 = 1
in /etc/sysctl.conf
when I run:
sysctl -p
as root, I get this error message:
sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6: No
such file or directory
So it has to be tricking me, because every line in /etc/sysctl.conf
ipv4 or ipv6 is commented out?
So it's trickin' or there is another file.
[sigh]
Charlie
--
Registered Linux User:- 329524
***********************************************
The cost of a thing is the amount of what I will call life
which is required to be exchanged for it, immediately or in the
long run. ........Henry David Thoreau
***********************************************
Debian GNU/Linux - just the best way to create magic
-----------------------------------------------------
Reply to: