I want to write about creat custom the new network connection (IAP) script, but old is not successful,
I want to write about a new network connection (IAP) script, but old is not successful, ask everybody to help me see this script which have a problem? Thank you thank you very much
The following is a script content #!/bin/sh sKey="1111-8888" sSSID="[88,88,88,88]" #sRoot="/system/osso/connectivity/IAP/${sKey}"---Operation tip error ---运行提示出错 sRoot="/system/osso/connectivity/IAP ${sKey}" gconftool-2 --set --type string ${sRoot}/ipv4_type AUTO gconftool-2 --set --type string ${sRoot}/name mymymy gconftool-2 --set --type list --list-type int ${sRoot}/wlan_ssid $sSSID gconftool-2 --set --type string ${sRoot}/type WLAN_INFRA gconftool-2 --set --type string ${sRoot}/wlan_security NONE gconftool-2 --set --type string ${sRoot}/proxytype NONE gconftool-2 --set --type boolean ${sRoot}/wlan_hidden false gconftool-2 --set --type boolean ${sRoot}/temporary true gconftool-2 --set --type string ${sRoot}/wlan_security WPA_PSK gconftool-2 --set --type string ${sRoot}/EAP_wpa_preshared_passphrase "333333333" sleep 1 dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:${sKey} uint32:0 ###gconftool-2 --set --type string ${sRoot}/wlan_security wep |
Re: I want to write about creat custom the new network connection (IAP) script, but old is not successful,
4 Attachment(s)
Thank you all, that seems a little progress, the HTML code is as follows, can build not to save the connection
Attachment 25585 Attachment 25586 Attachment 25587 #!/bin/sh Attachment 25584 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 |
All times are GMT. The time now is 01:31. |
vBulletin® Version 3.8.8