![]() |
"dbus-send" command doesn't work
I work on N800
I input command "dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true" it does work! And then I input command "dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"WLAN_AP" uint32:0" But it doesn't work and have not any reponse at all. I want to connect the IAP named "WLAN_AP" which can be seen in the connection manager. Why doesn't the command work? |
Re: "dbus-send" command doesn't work
Connection is not done by name, but by id in diablo. See here, for example:
http://talk.maemo.org/showpost.php?p=276108&postcount=3 |
Re: "dbus-send" command doesn't work
Quote:
Because the IAP which own an id is the connection which have ever been connected and saved. I want to connect a IAP that haven't connected before. Without clicking in the connection manager, is there a command to realize it? |
Re: "dbus-send" command doesn't work
It is probably possible, but I don't know if anyone actually did this before. You need, at a minimum to create a gconf directory under
/system/osso/connectivity/IAP and filling this directory with the same keys as are in some already existing directory, with correct values. You probably only need to change the values of the keys wlan_ssid, wlan_security and EAP_wpa_preshared_passphrase. |
Re: "dbus-send" command doesn't work
Quote:
I am embarrassed in this problem. Could you have other advices for me? |
All times are GMT. The time now is 18:04. |
vBulletin® Version 3.8.8