How to get the ESSID of the current network
jonathanhaug at wolke7.net
Tue Mar 22 03:07:37 PDT 2011
> > Dear dbus-list!
> > I'm trying to get the name / essid of the current (wifi-) network via dbus.
> DBus by itself won't tell you that. You need to look at connman, networkmanager and wicd for their respectives DBus interfaces. d-feet may be of help here.
Ok, I'm using NetworkManager and found
dbus-send --system --dest=org.freedesktop.NetworkManager
but get the follwing error:
Error org.freedesktop.DBus.Error.UnknownMethod: Method
"getActiveNetwork" with signature "" on interface
"org.freedesktop.NetworkManager" doesn't exist
Thanks for your help!
More information about the dbus