N

netlocator

Finds out the current network location and provides that information via dbus (and dispatcher scripts).