You are not logged in.
Pages: 1
Finally I managed to get ipv6 stable-privacy SLAAC address with network-manager on Devuan
NM generates them from /var/lib/NetworkManager/secret_key and /etc/machine-id << which is missing on Devuan as non-systemd distro (and present on my arm64-board with Armbian).
So NM takes /var/lib/dbus/machine-id instead, which is set to random on boot, and I got random ipv6 address.
After commenting IDTYPE="RANDOM"
cat /etc/default/dbus
...
#IDTYPE="RANDOM"
I get stable ipv6 address.
I'm using multibootusb, it still works but looks unmaintained...
https://github.com/mbusb/multibootusb
Hello.
I'm using Devuan as main desktop for several years, but still don't have much experience in linux-administration because mostly it just works
But now after upgrade from Beowulf to Chimaera I have problems with network ipv6 setup, address changes on every boot.
Devuan-system is wired-connected by UTP to home router and recieves ipv4(dhcp) and ipv6(router-advertisements) on eth0 from home router.
I need ipv6 address to be Stable private, as described here https://superuser.com/questions/243669/ … 713#243713
On Beowulf I used Linux kernel SLAAC (/etc/network/interfaces), and all worked fine, eth0 always had the same public ipv6.
Router config did not change.
Now I'm using network-manager 1.30.0-2+devuan1, I commented entries in "/etc/network/interfaces", and by default there is "ipv6.addr-gen-mode: stable-privacy" in /etc/NetworkManager/system-connections/'Wired connection 1.nmconnection'
cat /etc/network/interfaces
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
###allow-hotplug eth0
#auto eth0
#iface eth0 inet dhcp
# This is an autoconfigured IPv6 interface
#iface eth0 inet6 auto
/etc/NetworkManager/system-connections# cat 'Wired connection 1.nmconnection'
[connection]
id=Wired connection 1
uuid=48c5b0e7-ff8e-3fa2-804c-b9e0387dd3f2
type=ethernet
autoconnect-priority=-999
interface-name=eth0
permissions=
timestamp=1637396292
[ethernet]
auto-negotiate=true
mac-address-blacklist=
[ipv4]
dns-search=
method=auto
[ipv6]
addr-gen-mode=stable-privacy
dns-search=
method=auto
Also I checked uuid of connection and secret key "/var/lib/NetworkManager/secret_key" are the same upon reboots, but ipv6-global and link-local addresses still changes after every reboot
~$ ip -6 addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
inet6 2002:5158:d15a:0:bd20:87c3:96ed:4ce5/64 scope global dynamic noprefixroute
valid_lft 5379sec preferred_lft 5379sec
inet6 fe80::6fbf:aad6:9f1c:5d70/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Reboot
~$ ip -6 addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
inet6 2002:5158:d15a:0:4d79:3873:178:795d/64 scope global dynamic noprefixroute
valid_lft 5354sec preferred_lft 5354sec
inet6 fe80::f5f5:c928:231:5dee/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Checked also
cat /proc/sys/net/ipv6/conf/default/use_tempaddr
0
I would assume it's a bug in network-manager, but on my arm64-board on the same network running Armbian-10(buster) and network-manager 1.14.6-2+deb10u1 and same [ipv6] config, ipv6 addresses remains the same over reboots, as expected.
I tried to compare network-manager configs from Devuan and Armbian systems with no luck...they are almost the same... May be there are some settings in system unknown to me...
%-(
How can I make ipv6 addresses stable over reboots with network-manager on Devuan?
P.S. Sorry for not-always-good-english
EDIT
I tried setting connection.stable-id=${CONNECTION}
~$ nmcli conn show Wired1
connection.id: Wired1
connection.uuid: 48c5b0e7-ff8e-3fa2-804c-b9e0387dd3f2
connection.stable-id: ${CONNECTION}
tried connection.stable-id=connection.uuid
~$ nmcli conn show Wired1
connection.id: Wired1
connection.uuid: 48c5b0e7-ff8e-3fa2-804c-b9e0387dd3f2
connection.stable-id: 48c5b0e7-ff8e-3fa2-804c-b9e0387dd3f2
But no luck, every time after reboot i get new ipv6 address...
Excellent! Thank you.
I had this issue after Jessie > ASCII Beta dist-upgrade using Xfce desktop.
Could not mount disks and reboot/shutdown from xfce menu.
I think this info should be added to documentation "Upgrade from Devuan Jessie to Ascii"
Pages: 1