You are not logged in.
Pages: 1
Hello:
I do not use IPv6 and long ago (ascii) disabled it via the usual kernel command line stanza.
ie: ipv6.disable=1
I case that were not enough, I also blacklisted the module:
$ cat /etc/modprobe.d/blacklist-ipv6.conf
# Blacklist IPv6 module.
blacklist ipv6
$
My dmesg printout at boot time tells me about it ...
$ sudo dmesg | grep -i ipv6
--- snip ---
[ 2.834452] IPv6: Loaded, but administratively disabled, reboot required to enable
[ 2.834736] mip6: Mobile IPv6
---snip ---
$
... but it clearly says IPv6: Loaded, which is not what blacklisting the module should achieve.
And it seems that, as a result (?), mip6 is also loaded.
That said, neither module show up with lsmod.
What's going on here?
Am I blacklisting the wrong module?
Best,
A.
Offline
Hello.
Dmesg show that ipv6 is administratively disabled. So, if it's disabled, it means it's not being used. Isn't that enough?
Offline
Hello:
Dmesg show that ipv6 is administratively disabled.
Yes.
That is what it says.
... disabled, it means it's not being used.
One would tend to think so.
... but it clearly says IPv6: Loaded, which is not what blacklisting the module should achieve.
So ...
Why is it being reported (also by dmesg) as loaded?
The clue to my post is that (apparently) blacklsting the IPv6 module is not working.
ie: it is being loaded in spite of being blacklisted with the usual *.conf file in /etc/sudoers.d.
Very sorry for not being clear enough, English not being my mother tongue and all that.
Best,
A.
Offline
grep ipv6.ko /lib/modules/6.12.21-amd64/modules.builtin
Online
If you are using dhcpcd5, you can disable ipv6 by adding the line below to /etc/dhcpcd.conf:
# Don't solicit or accept IPv6 Router Advertisements and DHCPv6
noipv6
If you work systematically, things will come by itself (Lev D. Landau)
Offline
Hello:
... using dhcpcd5 ...
Not the case.
Thanks anyhow.
grep ipv6.ko /lib/modules/6.12.21-amd64/modules.builtin
Right ...
It's built in.
Should have remembered that. 8^°
In my case it would be:
$ grep ipv6.ko /lib/modules/6.1.0-33-amd64/modules.builtin
kernel/net/ipv6/ipv6.ko
$
Thanks for your input.
Best,
A.
Offline
Pages: 1