[maemo-developers] How I can deploy an Ad-Hoc WLAN connection with terminal commands?
From: Matan Ziv-Av matan at svgalib.orgDate: Thu Nov 27 20:04:24 EET 2008
- Previous message: How I can deploy an Ad-Hoc WLAN connection with terminal commands?
- Next message: How I can deploy an Ad-Hoc WLAN connection with terminal commands?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 27 Nov 2008, Martin Wegner wrote: > Hello, > > I have a Nokia N800 Device and currently I use iwconfig to deploy an > Ad-Hoc WLAN connection with this commands: > > /sbin/ifconfig wlan0 up > /sbin/ifconfig wlan0 192.168.1.1 netmask 255.255.255.0 > /sbin/iwconfig wlan0 mode Ad-Hoc essid Kopan key s:blablub > > This works but the Maemo GUI and some internals don't recognize this > connection. > The Maemo GUI implementation don't use iwconfig. > I know that I can use the Maemo GUI to deploy this connection but I need > a way to do this with and only with terminal commands. > > It would be very great if someone can say me which commands I need to > deploy this Ad-Hoc WLAN connection so that there is no difference to a > "GUI made connection". > > I searched in the internet and find the information that the GUI > connection settings are saved in XML files in > /var/lib/gconf/system/osso/connectivity/IAP/My_Connection so that I can > generate the correct XML file. > But the big question is how to deploy this connection. If by deploy you mean activate the connection after you set it up correctly (using GUI or gconf), then you can use dbus for that: dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:$NET uint32:0 where $NET is the network name (that appears in the connect dialog) before diablo, and network id since diablo. -- Matan.
- Previous message: How I can deploy an Ad-Hoc WLAN connection with terminal commands?
- Next message: How I can deploy an Ad-Hoc WLAN connection with terminal commands?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]