Per Jessen wrote:
James Knott wrote:
On 02/02/2015 03:51 AM, Per Jessen wrote:
Per Jessen wrote:
James Knott wrote:
On 02/01/2015 01:54 PM, Per Jessen wrote:
> Is there any way to enable this in 13.1, without using the >> NetworkManager? echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ :
net.ipv6.conf.all.use_tempaddr=2 That command doesn't appear to have done anything. However, I have added that line to sysctl.conf, so I'll have to see what happens the next time I reboot the computer. I wouldn't expect any significant change on a reboot - amending net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w". I just made this change on my laptop, then cycled the wlan interface up/down. Got me a random address.
I added that line to sysctl.conf on my firewall computer & rebooted it. Again no difference. The command doesn't work either. I still only get the MAC based address.
Weird. My laptop is running 12.3, I'll try it out on a 13.1/2 machine and see what happens.
On my laptop running openSUSE 12.3 plus updates:
/proc/sys/net/ipv6/conf/*/use_tempaddr = 0
(except conf/lo/use_tempaddr)
A desktop running openSUSE 13.1 plus updates:
/proc/sys/net/ipv6/conf/all/use_tempaddr = 0
/proc/sys/net/ipv6/conf/default/use_tempaddr = 2
/proc/sys/net/ipv6/conf/enp0s25/use_tempaddr = 2
/proc/sys/net/ipv6/conf/lo/use_tempaddr = -1
Same for another desktop with 13.2.
My laptop does see more experimentation than the other two, I may well
have been fiddling with use_tempaddr before.
On the desktop with 13.2:
2: enp0s25: