[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian 11: How to disable IPv6



Hello,

On Sat, Jul 09, 2022 at 03:52:03PM +0200, Roger Price wrote:
> I would like to disable IPv6 adapters in order to persuade
> fetchmail to talk to exim4.

Sounds like you have a misconfiguration that should be fixed, rather
than disabling IPv6 to work around it.

>  net.ipv6.conf.all.disable_ipv6 = 1
> 
> and run sysctl -p as root.  With Debian 11 this generates the error message
> 
>  sysctl: cannot stat /proc/sys/net/ipv6/conf/all/disable_ipv6: No such file or directory
> 
> because directory /proc/sys/net/ipv6 doesn't exist. What is the new way of
> disabling IPv6?

That directory exists for me on all of my Debian 11 machines, so I
guess you have something else wrong. Or maybe have already disabled
IPv6 on the kernel command line (don't know if that removes the
net.ipv6 sysfs tree as well).

Cheers,
Andy

-- 
https://bitfolk.com/ -- No-nonsense VPS hosting


Reply to: