Comment 13 for bug 82335

Revision history for this message
digger vermont (digver) wrote :

<rant>
I think a lot of us have NM installed, whether or not we need or want it installed because ubuntu-desktop depends on it. This problem becomes more and more annoying as more programs check dbus for the network status as set by NM.
</rant>

A quick solution would be to have a script in /etc/network/if-up.d and if-down.d use dbus-send to set the network status. Unfortunately I haven't been able to figure out how to do it correctly.

I believe NM in Debian and Ubuntu is set to run the scripts in the /etc/network/if-updown directories. Since NM seems to be unaware of anything but itself, can it (NM) be configured or patched to NOT set the network status and instead use if-updown scripts send the message to dbus?