I am looking for someone who has access to (i.e. can connect to and join with his N900) 2 different wireless networks. One of the networks must be one that you can enable and disable.

You will not be using any actual data during this test (other than what your phone may use for other reasons)

What I need done is this:
1.Download the code from here
http://code.google.com/p/icd-policy/source/browse/#svn%2Ftrunk
2.Compile it (you will need icd2-dev package installed). It will produce a libicd_policy_log.so file.
3.Copy the libicd_policy_log.so file to your phone in /usr/lib/icd2
4.Run gconftool-2 -s -t list --list-type string /system/osso/connectivity/policy/modules [libicd_policy_log.so,libicd_policy_merge.so,libicd_policy_ask.so,libicd_policy_any.so,libicd_policy_change.so,libicd_policy_add.so,libicd_policy_always_online.so,libicd_policy_one.so,libicd_policy_restart.so,libicd_policy_nw_disconnect.so]
5.Connect to the wireless network you have control over
6.Run /etc/init.d/icd2 restart to load the new plugin
7.Switch off the wireless network you have control over (make a note of what network the phone switches to, the other wireless network or the cellular data) 7a.If it switched to the cellular data, switch to the second wireless network via the UI. 8.Switch the wireless network you switched off back on (does it reconnect to the wireless network that just reappeared or stay on the other wireless network)
9.On your phone, choose the other wireless network and connect to it
10.Move out of range of both wireless networks (your phone should switch straight from network #2 to the cellular data connection) 11.Move into range of the wireless networks (and make a note of which network it connects to) 12.Having done that, run gconftool-2 -s -t list --list-type string /system/osso/connectivity/policy/modules [libicd_policy_merge.so,libicd_policy_ask.so,libicd_policy_any.so,libicd_policy_change.so,libicd_policy_add.so,libicd_policy_always_online.so,libicd_policy_one.so,libicd_policy_restart.so,libicd_policy_nw_disconnect.so]
13.Run /etc/init.d/icd2 restart
14.Copy the /var/log/icdpolicy.log file from your phone.
15.You may now delete /var/log/icdpolicy.log and /usr/lib/icd2/libicd_policy_log.so

What I am looking for is details of the steps you took (e.g. connected to network #1, turned network #1 off, turned network #1 back on), what network the phone switched to at these points and the contents of the /var/log/icdpolicy.log file.

If you are concerned about personal information, you can study the source code in policy_log.c and you can obfuscate any names (network names, cellular carrier names etc) that you dont feel comfortable sharing. I just need to know the sequence of events, not actual names.

This information will help me produce what I am calling libicd_policy_wlan_home.so which will (if I can make it work the way I want to) always connect to a "home" wireless network when that network comes in range, regardless of if its connected to a different wireless network.

I am unable to do this test as I only have the one wireless network that I have access to.
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to