Android 10.
Trying to disable ipv6 (yes, I know the second line below appears redundant).
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
The values stay as long as I have wifi turned off:
# cat /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
1
But as soon as I turn wifi on, something changes (only) the wlan0 value back to 0:
# cat /proc/sys/net/ipv6/conf/wlan0/disable_ipv6
0
If I change it back to 1 again, it gets changed back to 0 within a few seconds (and in Settings / About phone, I can actually see the ipv6 addresses return). Does anyone know what causes this (and how I can prevent it)?
Asked by confused
(61 rep)
Apr 2, 2022, 04:35 AM
Last activity: Apr 2, 2022, 07:26 AM
Last activity: Apr 2, 2022, 07:26 AM