Thread
:
I want to write about creat custom the new network connection (IAP) script, but old is not successful,
View Single Post
xsmabbs
2012-03-21 , 13:24
Banned | Posts: 34 | Thanked: 3 times | Joined on Jul 2011
#
1
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
Last edited by xsmabbs; 2012-03-21 at
13:48
.
Quote & Reply
|
xsmabbs
View Public Profile
Find all posts by xsmabbs