I like network manager, personally, but I don't think it's going to offer much of a improvement over 'post-up' calls.
Generally what you'd want to do for network-manager is to put your scripts into /etc/NetworkManager/dispatcher.d in the typical "if [ "$2" = "up" ]; then" style format.
To get the best benefits out of NetworkManager you want to disable all the 'legacy' configuration plugins and use keyfile. That way you can edit all your network configurations using a 'ini' file format in /etc/NetworkManager/system-connections/
The advantage to this is that you can support a much more diverse amount of network connection types with better granularity then you can through traditional distro-specific configs.
Thanks for that link. It really needs to be mentioned in the nmcli man pages.
Udev and systemd to merge
Posted Apr 4, 2012 17:59 UTC (Wed) by mgedmin (subscriber, #34497)
[Link]
I've attempted to use nmcli to connect to a wireless network (WPA2 encryption) in the past and failed miserably. As far as I can tell, this is simply not supported (you can only connect to a connection you've configured before).
I can barely manage to figure out how to list available networks ('nmcli dev wifi', really?).
Udev and systemd to merge
Posted Apr 4, 2012 18:43 UTC (Wed) by tzafrir (subscriber, #11501)
[Link]
That said, the full reference file is confusing without an example.