View Single Post
Banned | Posts: 34 | Thanked: 3 times | Joined on Jul 2011
#2
Thank you all, that seems a little progress, the HTML code is as follows, can build not to save the connection
ok成品自己写的自动 从曲美&#395.zip
此程序为n900自动备份并emial.zip
只要小九连接上了wifi就自动&#23.zip
#!/bin/sh
4th自动可执行微博sinatpy2.x.zip
sKey="55dai223-4432-6ak9-kkfs-p32xk65780h"
sSSID= "NEWAPNNAME"
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/type --type string "WLAN_INFRA"
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/name --type string "NEWAPNNAME"
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/ipv4_type --type string AUTO
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/wlan_ssid --type string $sSSID
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/proxytype --type string NONE
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/wlan_hidden --type boolean false
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/temporary --type boolean true
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/wlan_security --type string WPA_PSK
gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/EAP_wpa_preshared_passphrase --type string 1234567890
#gconftool-2 --set /system/osso/connectivity/IAP/55dai223-4432-6ak9-kkfs-p32xk65780h/
dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:${sKey} uint32:0

Last edited by xsmabbs; 2012-03-25 at 14:12.