The Following User Says Thank You to eitama For This Useful Post: | ||
|
2010-08-22
, 14:31
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#2
|
|
2010-08-22
, 14:32
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#3
|
There is no way to achieve what you want with the GUI. But with the command line you can select any subset of connection types. The gconv key /system/osso/connectivity/network_type/auto_connect contains the list connection types that N900 connects automatically to. Just remove DUMMY from that list.
|
2010-08-22
, 14:35
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#4
|
There is no way to achieve what you want with the GUI. But with the command line you can select any subset of connection types. The gconv key /system/osso/connectivity/network_type/auto_connect contains the list connection types that N900 connects automatically to. Just remove DUMMY from that list.
Nokia-N900:~# gconftool-2 -g /system/osso/connectivity/network_type/auto_connect [*]
Nokia-N900:~# gconftool -R /system/osso/connectivity/ui/auto_connect /system/osso/connectivity/ui/auto_connect/60_wlan: network_types = [WLAN_INFRA] label = conn_set_fi_conn_set_wlan not_found_banner = conn_ib_net_no_saved_wlan_iaps gettext_catalog = osso-connectivity-ui /system/osso/connectivity/ui/auto_connect/65_gprs: network_types = [GPRS] label = %s /system/osso/connectivity/ui/auto_connect/90_any: network_types =[*] label = conn_set_fi_conn_set_any not_found_banner = conn_ib_net_no_saved_iaps gettext_catalog = osso-connectivity-ui /system/osso/connectivity/ui/auto_connect/01_always_ask: network_types = [] label = conn_set_fi_conn_set_always_ask gettext_catalog = osso-connectivity-ui Nokia-N900:~# gconftool --recursive-unset /system/osso/connectivity/ui/auto_connect/90_any Nokia-N900:~#
Nokia-N900:~# gconftool -R /system/osso/connectivity/ui/auto_connect /system/osso/connectivity/ui/auto_connect/60_wlan: network_types = [WLAN_INFRA] label = conn_set_fi_conn_set_wlan not_found_banner = conn_ib_net_no_saved_wlan_iaps gettext_catalog = osso-connectivity-ui /system/osso/connectivity/ui/auto_connect/65_gprs: network_types = [GPRS] label = %s /system/osso/connectivity/ui/auto_connect/90_any: network_types =[*] label = conn_set_fi_conn_set_any not_found_banner = conn_ib_net_no_saved_iaps gettext_catalog = osso-connectivity-ui /system/osso/connectivity/ui/auto_connect/01_always_ask: network_types = [] label = conn_set_fi_conn_set_always_ask gettext_catalog = osso-connectivity-ui Nokia-N900:~#
|
2010-08-22
, 14:45
|
Posts: 1,224 |
Thanked: 1,763 times |
Joined on Jul 2007
|
#5
|
|
2010-08-22
, 15:08
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#6
|
The * means any network type. Replace it with a list of types you want, such as [WLAN_INFRA,GPRS].
gconftool-2 -s /system/osso/connectivity/network_type/auto_connect "[WLAN_INFRA,GPRS]"
|
2010-08-22
, 15:21
|
|
Posts: 702 |
Thanked: 334 times |
Joined on Feb 2010
@ Israel.
|
#7
|
gconftool -s /system/osso/connectivity/network_type/auto_connect -t list --list-type string "[WLAN_INFRA,GPRS]"
The Following User Says Thank You to eitama For This Useful Post: | ||
|
2010-10-23
, 13:20
|
Posts: 58 |
Thanked: 28 times |
Joined on Aug 2007
@ Buenos Aires, Argentina
|
#8
|
Tags |
dummy, sharing, usb networking |
|
Edit : Solved the problem with Matan's help and some gconfing...
Updated the WIKI, and the solution is also here.
I have configured a dummy network with gconftool-2 as explained in the wiki.
Everything is working great, when I plug the USB, I have internet via my Windows PC, and the dummy network gets connected so apps realize they have internet.
When I Disconnect USB, the Dummy network disconnects, so far, so good.
The problem : The phone is set to Connect Automatically to "Any Connection" and I want to keep it that way, but I want it to skip using the Dummy Network.
I tried setting it as "auto_connect = false" but to no avail.
Any ideas?
Cheers,
Eitam.
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
Last edited by eitama; 2010-08-22 at 15:24. Reason: Added wiki link