RE: How to get the ESSID of the active wifi network?



Hello,

I believe that "the current network" is the one which is Active.

Replace /org/freedesktop/NetworkManager/Devices/eth1 with the object path of the ActiveAccessPoint. Then get the Ssid property of that ActiveAccessPoint.

Regards,
Jos Collin
________________________________________
From: networkmanager-list-bounces gnome org [networkmanager-list-bounces gnome org] On Behalf Of Jonathan Haug [jonathanhaug wolke7 net]
Sent: Tuesday, March 22, 2011 5:38 PM
To: networkmanager-list gnome org
Subject: How to get the ESSID of the active wifi network?

Hi there,

I'm looking for a bash command to get the ESSID of the current network
via d-bus.

I tried

dbus-send --system --dest=org.freedesktop.NetworkManager
--print-reply /org/freedesktop/NetworkManager/Devices/eth1
org.freedesktop.NetworkManager.getActiveNetwork

but this one seems a bit outdate. Im using Network Manager 0.8.1.

Any help for me?

Thanks in advance

Jonathan

_______________________________________________
networkmanager-list mailing list
networkmanager-list gnome org
http://mail.gnome.org/mailman/listinfo/networkmanager-list

::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]