On 2016-10-13 08:54, Per Jessen wrote:
Carlos E. R. wrote:
On 2016-10-12 16:41, Per Jessen wrote:
Carlos E. R. wrote:
In 13.1, it's 2 with ifconfig method. When the network manager is used, it's 2 when the interface is up and 0, when down.
I have 0. This is 13.1, with ifup.
Maybe it's because you don't have any IPv6? Going back to e.g. 10.x and 11.x, the default was also '0', but I'm sure '2' was the default as of 12.1. If you google it, you'll find some discusion on opensuse-factory in late 2011 and early 2012.
Rather because this is an upgraded system.
I think the kernel parameters are upgraded too, it's set in /lib/sysctl.d/sysctl.conf
Telcontar:~ # l /lib/sysctl.d/sysctl.conf ls: cannot access /lib/sysctl.d/sysctl.conf: No such file or directory Telcontar:~ #
which used to be provided by "procps". If that is upgraded, so is your default use_tempaddr setting. If course, it can still be overriden by /etc/sysctl.conf.
In Leap, the defaults are in /usr/lib/sysctl.d/50-default.conf (from aaa_base).
It used to be an item on my post-install checklist -
update /etc/sysctl.conf with: net.ipv6.conf.default.use_tempaddr = 1
I do not have that var at all in the file. I just wrote it there.
Right, normally you wouldn't override it, the default ought to be right for most systems. With Leap42x, maybe someone who is aware and keen would set use_tempaddr=2 in /etc/sysctl.conf.
You can check all the sysctl files to see where your use_tempaddr is being set to 0 -
grep tempaddr /boot/sysctl.conf* /lib*/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /usr/local/lib/sysctl.d/*.conf /etc/sysctl.d/*.conf /run/sysctl.d/*.conf /etc/sysctl.conf
grep: /lib*/sysctl.d/*.conf: No such file or directory /usr/lib/sysctl.d/50-default.conf:net.ipv6.conf.default.use_tempaddr = 2 grep: /usr/local/lib/sysctl.d/*.conf: No such file or directory /etc/sysctl.d/99-sysctl.conf:net.ipv6.conf.default.use_tempaddr = 1 grep: /run/sysctl.d/*.conf: No such file or directory /etc/sysctl.conf:net.ipv6.conf.default.use_tempaddr = 1 Telcontar:~ # The last line is there because I wrote it. And the other values are obviously not used, as "cat /proc/sys/net/ipv6/conf/eth0/use_tempaddr" said 0. Still does. Telcontar:~ # cat /proc/sys/net/ipv6/conf/eth0/use_tempaddr 0 Telcontar:~ # Go figure... -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)