I am currently using Ubuntu 10.04 LTS and I have a problem with auto connecting to my network.

The problem occurs sometimes when my wireless network drops out - which happens at least 3 times a day. Usually there is no problem, but from time to time the system doesn't want to connect to the network. It just shows a connect dialogue with the password already in it (I could click on connect button and it would connect - but as I do not have keyboard or monitor connected to the computer I can't do this without a hassle).