Possible to set passhrase in gconf



Hi,

I am looking at ways to pre-configure via a panel on initial login Wireless. For testing is it still possible to add the password/passphrase in wireless gconf file. If so what is the corect option I should use.

Also is there also any documentation anywhere for the options available?


i.e. Using gconftool-2 I have created the following network file ...

gconftool-2 -t string --set /system/networking/wireless/networks/ATMEL/essid "ATMEL" gconftool-2 -t int --set /system/networking/wireless/networks/ATMEL/timestamp 1178104046 gconftool-2 -t bool --set /system/networking/wireless/networks/ATMEL/fallback 0 gconftool-2 -t list --list-type string --set /system/networking/wireless/networks/ATMEL/bssids ["00:00:00:00:00:00"] gconftool-2 -t int --set /system/networking/wireless/networks/ATMEL/we_cipher 0 gconftool-2 -t int --set /system/networking/wireless/networks/ATMEL/wpa_psk_wpa_version 2 gconftool-2 -t int --set /system/networking/wireless/networks/ATMEL/wpa_psk_key_mgt 2 gconftool-2 -t string --set /system/networking/wireless/networks/ATMEL/wpa_psk_key "96038d57c5e67f2baaadbcc8e1a3d7c5976ace82b92bd6f5fe851ca8226ebd3d"

Looks like this ..
cat %gconf.xml
<?xml version="1.0"?>
<gconf>
       <entry name="wpa_psk_key" mtime="1178131289" type="string">
<stringvalue>96038d57c5e67f2baaadbcc8e1a3d7c5976ace82b92bd6f5fe851ca8226ebd3d</stringvalue>
       </entry>
<entry name="wpa_psk_key_mgt" mtime="1178131289" type="int" value="2">
       </entry>
<entry name="wpa_psk_wpa_version" mtime="1178131289" type="int" value="2">
       </entry>
       <entry name="we_cipher" mtime="1178131289" type="int" value="0">
       </entry>
       <entry name="bssids" mtime="1178131289" type="list" ltype="string">
               <li type="string">
                       <stringvalue>00:00:00:00:00:00</stringvalue>
               </li>
       </entry>
       <entry name="fallback" mtime="1178131289" type="bool" value="false">
       </entry>
<entry name="timestamp" mtime="1178131289" type="int" value="1178104046">
       </entry>
       <entry name="essid" mtime="1178131289" type="string">
               <stringvalue>ATMEL</stringvalue>
       </entry>
</gconf>




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