![]() |
[Solved] How do I prevent N900 from connecting to my Dummy Network?
Hello peeps,
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. |
Re: [Help Needed] How do I prevent N900 from connecting to my Dummy Network?
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.
|
Re: [Help Needed] How do I prevent N900 from connecting to my Dummy Network?
Quote:
I'll try what you suggested and report back. Cheers! |
Re: [Help Needed] How do I prevent N900 from connecting to my Dummy Network?
Quote:
1. I can't find the list, are you sure it's supposed to be here : Code:
Nokia-N900:~# gconftool-2 -g /system/osso/connectivity/network_type/auto_connect Edit : hmm, ok I found some info, using gconftool -R, but I am having problems deleting or changing, the key just stays there even though I am trying to remove it. To me it looks like there is a rule with priority 90 that says autoconnect * wildcards, I wanna delete it. So I tried : Code:
Nokia-N900:~# gconftool -R /system/osso/connectivity/ui/auto_connect Code:
Nokia-N900:~# gconftool -R /system/osso/connectivity/ui/auto_connect |
Re: [Help Needed] How do I prevent N900 from connecting to my Dummy Network?
The * means any network type. Replace it with a list of types you want, such as [WLAN_INFRA,GPRS].
|
Re: [Help Needed] How do I prevent N900 from connecting to my Dummy Network?
Quote:
Code:
gconftool-2 -s /system/osso/connectivity/network_type/auto_connect "[WLAN_INFRA,GPRS]" I inspected to values when setting wifi / gprs via UI, and the values are correct, is there a chance it is not expecting more then 1 value in the backend? |
Re: [Help Needed] How do I prevent N900 from connecting to my Dummy Network?
Ok! Solved it!
Thanks Matan! your help was awesome. The exact command is : Code:
gconftool -s /system/osso/connectivity/network_type/auto_connect -t list --list-type string "[WLAN_INFRA,GPRS]" Updating the 1st post now. Cheers mate! |
Re: [Solved] How do I prevent N900 from connecting to my Dummy Network?
Hi everybody!
One question, is there any way to tell it to use WLAN_INFRA + only one gprs-ap??... The problem is that there are more grps aps (ie MMS) and it tries to connect to anyone randomly and the idea is to exclude those. any help? thanks!!! |
All times are GMT. The time now is 19:37. |
vBulletin® Version 3.8.8