Score:0

How can I receive dhcp6-change action by NetworkManager dispatcher

aq flag
L G

I add a shell in /etc/NetworkManager/dispatcher.d/networkmanagerdispatcher.sh

cat networkmanagerdispatcher.sh

#!/bin/sh

echo "iface=$1 action=$2" >> /data/dispatcher.log exit 0

then I modify nmcli; /usr/bin/nmcli connection modify port1 ipv4.method auto /usr/bin/nmcli connection modify port1 ipv6.method auto /usr/bin/nmcli device reapply port1

I can only receive dhcp4-change action; no dhcp6-change;

cat /data/dispatcher.log

iface=port1 action=dhcp4-change

get the ipv6 add and dns from dhcpv6 server. but no dhcp6-change notify. :# nmcli con show port1 |grep IP6 IP6.ADDRESS[1]: 1510::424d:cb01:2b5c:7e6f/64 IP6.ADDRESS[2]: fe80::416d:63ce:8439:4d53/64 IP6.GATEWAY: -- IP6.ROUTE[1]: dst = fe80::/64, nh = ::, mt = 1024 IP6.DNS[1]: 2001:4860:4860::8888

nmcli version

nmcli -v

nmcli tool, version 1.36.2

Score:0
aq flag
L G

must use:

nmcli connection modify port1 ipv6.method dhcp

ipv6.method need to choose dhcp, not auto.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.