On 08/01/2026 7:44 pm, Michael P. Soulier wrote:
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.
I am unsure if you really need a hook. Have you had a look into nm-settings(5)?
In addition I would evaluate if it can be done by setting driver parameters or by a udev rule.

