User:Wizzup/HeadlessWifi

From Maemo Leste Wiki
Jump to navigationJump to search

Sometimes one might need to set up wifi over serial when there is no touchscreen or display.

This is an example on how to do it. Make sure that the wlan_ssid and name match, of course.

gconftool -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/EAP_wpa_preshared_passphrase -t string PSKHERE
gconftool -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/type -t string WLAN_INFRA
gconftool -t bool -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/wlan_hidden false
gconftool -t string -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/wlan_security WPA_PSK
gconftool -t string -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/proxytype NONE
gconftool -t string -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/name 'Het Kleine Bos'
gconftool -t string -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/ipv4_type auto
gconftool -t list --list-type int -s /system/osso/connectivity/IAP/ac257b8f-5255-4239-9123-6dfac56547c8/wlan_ssid '[72,101,116,32,75,108,101,105,110,101,32,66,111,115]'
gconftool -t list --list-type string -s /system/osso/connectivity/network_type '[WLAN_INFRA]'
gconftool -t int -s /system/osso/connectivity/search_interval 300


dbus-send --system --type=method_call --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:"ac257b8f-5255-4239-9123-6dfac56547c8" uint32:0