Re: Modifying properties of connections on Ubuntu



Hello,

Thanks for the quick response. I am creating my custom network control panel from where user can create / delete / modify network configurations. When creating new wireless connection, if a user provides wrong password, I want to show my own applications screen to re-enter the password. I have registered following signals, but when DBus throws these signals these doesn't reach to my application (I have verified with dbus-monitor, NM throws this signal). My application has registered following signals

org.gnome.NetworkManager: PropertiesChanged
org.gnome.NetworkManager.Device.Wireless: PropertiesChanged

but when thrown, these doesn't reach to my application. 

Regards,
Farrukh Arshad



On Sun, Jan 12, 2014 at 5:31 PM, Ritesh Khadgaray <khadgaray gmail com> wrote:

Hi

Nm applet uses glib binding, which uses dbus to talk to nm. Your app is probably calling policykit dialog. Have  you configured your app to watch the property change ?

What are you trying to do ?

- ritz

On 12 Jan 2014 17:51, "Farrukh Arshad" <farrukh arshad gmail com> wrote:
Greetings All,

I am creating my own client application for all network settings for Ubuntu (13.10) based on Qt. I am using NM Dbus interface to do all the good work. My problem is 

1) When I create a new wireless connection (using AddAndActivateConnection) and if I provide wrong security settings, I want a good signal reported back to my application against which I can tell user to provide good password, but instead Ubuntu dialog box appears asking me good password. 

2) The same happens if for existing connection, the Access Point change the security key, so my application when go to connect, does not ask me to provide new password, instead Ubuntu dialog box appears to ask me the password. 

In both cases a connection is there, but its properties has changed so NM throws signal PropertiesChanged on the Wireless Device interface. My application is also registering for this signal but still it is not receiving it instead it is being passed to Ubuntu NM applet. 

My question is how can I change this behavior in a way when a connection has been changed for a given AP, my application receives the signal instead being passed to Ubuntu NM applet. 

Thank you for your time.

--
Regards,
Farrukh Arshad.

++++++++++++

"There are 10 types of people in the world: those who understand binary, and those who don’t"

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




--
Regards,
Farrukh Arshad.

++++++++++++

"There are 10 types of people in the world: those who understand binary, and those who don’t"


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