@@ -37,7 +37,7 @@ net.ipv6.conf.default.accept_dad=0
net.ipv6.conf.default.accept_ra=0
net.ipv6.conf.default.accept_redirects=0
net.ipv6.conf.all.accept_dad=0
-net.ipv6.conf.all.accept_ra=1
+net.ipv6.conf.all.accept_ra=0
net.ipv6.conf.all.accept_redirects=0
# Number of Router Solicitations to send until assuming no routers are present.
@@ -47,19 +47,19 @@ net.ipv6.conf.all.router_solicitations = 0
# Accept Router Preference in RA?
net.ipv6.conf.default.accept_ra_rtr_pref = 0
-net.ipv6.conf.all.accept_ra_rtr_pref = 1
+net.ipv6.conf.all.accept_ra_rtr_pref = 0
# Learn Prefix Information in Router Advertisement
net.ipv6.conf.default.accept_ra_pinfo = 0
-net.ipv6.conf.all.accept_ra_pinfo = 1
+net.ipv6.conf.all.accept_ra_pinfo = 0
# Setting controls whether the system will accept Hop Limit settings from a router advertisement
net.ipv6.conf.default.accept_ra_defrtr = 0
-net.ipv6.conf.all.accept_ra_defrtr = 1
+net.ipv6.conf.all.accept_ra_defrtr = 0
#router advertisements can cause the system to assign a global unicast address to an interface
net.ipv6.conf.default.autoconf = 0
-net.ipv6.conf.all.autoconf = 1
+net.ipv6.conf.all.autoconf = 0
#how many neighbor solicitations to send out per address?
net.ipv6.conf.default.dad_transmits = 3
@@ -35,6 +35,7 @@ setAutoConf() {
local on=$2
echo "# Generated from configurenetwork" > /etc/sysctl.d/51-fff-network-wan.conf
+ echo "net.ipv6.conf.$iface.accept_ra = $on" >> /etc/sysctl.d/51-fff-network-wan.conf
echo "net.ipv6.conf.$iface.accept_ra_defrtr = $on" >> /etc/sysctl.d/51-fff-network-wan.conf
echo "net.ipv6.conf.$iface.accept_ra_pinfo = $on" >> /etc/sysctl.d/51-fff-network-wan.conf
echo "net.ipv6.conf.$iface.autoconf = $on" >> /etc/sysctl.d/51-fff-network-wan.conf
Just disable autoconf. Some sysctl's are currently not available due some missing kernel features. Maybe some day they reappear. Signed-off-by: Tim Niemeyer <tim@tn-x.org> --- .../fff/fff-network/files/etc/sysctl.d/50-fff-network.conf | 10 +++++----- src/packages/fff/fff-network/files/usr/sbin/configurenetwork | 1 + 2 files changed, 6 insertions(+), 5 deletions(-)