[maemo-developers] How I can deploy an Ad-Hoc WLAN connection with terminal commands?

From: Matan Ziv-Av matan at svgalib.org
Date: Sat Dec 13 09:52:13 EET 2008
On Sat, 13 Dec 2008, Martin Wegner wrote:

> Hello,
>
> the "dbus-send --type=method_call --system --dest=com.nokia.icd
> /com/nokia/icd com.nokia.icd.connect..." command works only if there is
> no active connection :(
>
> Can someone tell me the disconnect command, please?

It is

dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true


> And is there a command which tell me the "network id" when I know the
> "network name" or SSID?

If you have egrep installed, run the command:

gconftool-2 -R /system/osso/connectivity/IAP | egrep IAP\|name

Otherwise, just run gconftool-2 -R /system/osso/connectivity/IAP and 
look at the output.


-- 
Matan Ziv-Av.                         matan at svgalib.org


More information about the maemo-developers mailing list