Le 08/01/2026 à 13:44, Michael P. Soulier a écrit :
Hello,
Is there a way to run a script when an interface comes up when using
NetworkManager? The post-up hook in interfaces is great, but I'm trying to run
an ethtool command when I plug into my docking station and suddenly it's
ethernet interface is available.
Mike
Hello,
I don't use it so I don't now if it can be what you need, but perhaps
take a look at NetworkManager-dispatcher:
https://manpages.debian.org/trixie/network-manager/NetworkManager-dispatcher.8.en.html