Where I live, there is power outage every few hours. This means my DSL WIFI routergets reset after 2-3 hours max. The network is secured and requires password to connect. So when the router resets and comes backup after a few minutes, my laptop (Ubuntu 10.04) doesnt auto reconnect to it. Instead I am presented with a password entry dialog box to connect to the network. How can this re-connection be made automatic? Is there some retry counts or timeout that I can set somewhere so that the network manager will try for at least 10 minutes to connect to this network before popping this dialog box.