@JohnLF Hum yes, I'm more a perl guy but that's a good idea, I could try to do that in python. Could be fun. And to add a GUI, you can just create a conf file and the script called by dbus-scripts can read that file
[w32g] ### the comment reflect the default configuration ### true is true (case insensitive), everything else is false ### the command used to test the wifi connection before downgrading to 2g ### if you don't want to do test just delete after = connection_test = sudo /bin/ping -c 1 www.google.com ### notification message when going to 3g message_on_idle = 3G cellular mode set ### notification message when going to 2g message_on_connected = 2G (GSM) cellular mode set ### shall we go back to 3g when wlan disconnect ? #### if you want to have false just delete after = change_on_idle = true ### shall we go back to dual or 3g ? change_to_dual = true ### if you want go to 2g only when connected to some wlan you can add their wlan id here ### you can find the wlan id using the command ### gconftool-2 -R /system/osso/connectivity/IAP ### For example : ### wifi = 91f493fb-7c89-4fc6-ac2c-b822923dde45 9ee5dd55-9a32-4ee9-9131-c464ad31d907 # wifi =