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

From: Martin Wegner martinator.de at arcor.de
Date: Thu Nov 27 01:56:58 EET 2008
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.

Thanks a lot!

Greetings, Martin


More information about the maemo-developers mailing list