[Nexus One Themes and Apps] lionsson:
I found that turning WiFi on by location wasn't 100% reliable and it used more battery, so this profile is 100% reliable and it uses less battery.

This updated profile turns on WiFi every 4 minutes for 10 seconds and them disable it, but if connected to a know hotspot it will leave WiFi on until disconnect, once disconnected it will start the cycle again. This profile also help if your Nexus One has problem maintaining a WiFi connection.

Note: The "Flash text" is optional, but if you're new to tasker it help to flash what tasker is doing.

You can remove them once it's working for your. I tent to leave them on.

Here is a better version of my original profile. Just place this files in Tasker\profiles in your SD card and in Tasker go to Menu, Profile Data, Import One Profile. I added Discription of what each task does, If you like you can see how it's setup, so it can help you figure out how Tasker works.

Note: Names of Variable, Context, Tasks, and Profiles can be whatever you want them to be. I like using easy to understand names like %Connected2WiFi, just remember exactly the naming you choose for future executions.

PROFILE 1

Profile's Name: Checking for WiFi

Variable Value: %Connected2WiFi Doesn't Match on <----This variable will turn on search, this variable is trigger on exit tasks in profile "Wifi Connected"

ENTER TASK

Variable Set, %Checking4WiFi to on <----This variable will be use in profile "Wifi Connected" to skip steps.

Wifi set On <----This will trigger WiFi on.

Flash text, Checking for WiFi connection <----This will flash a text, it help to flash what tasker is doing.

Wait 10 seconds [If connected2WiFi Doesn't Match on] <----This is how long to search before turning WiFi off, your can add more time if necessary.

Wifi set Off [If connected2WiFi Doesn't Match on] <----This wiil trun off WiFi, if not connected successful.

Flash text No Wifi connection found [If connected2WiFi Doesn't Match on] <----This will Flash text, if not connected successful.

Wait 4 minutes [If connected2WiFi Doesn't Match on] <----This timer is for how often to check for WiFi, if not connected successful.

Goto Action Number 2 [If connected2WiFi Doesn't Match on] <----This will restart the cycle, if not connected successful.

EXIT TASK

Variable Clear, %Checking4WiFi <----It's important to clear this variable because it will cause some steps in profile 2 "WiFi Connected" to be skipped.

PROFILE 2

Profile's Name: Wifi Connected

State: Wifi Connected

ENTER TASK

WiFi On <----This will Keep WiFi on in case Profile "Checking for WiFi" tries to turn it off.

Variable Set, %Cinnected2WiFi to on <----This variable will turn off profile 1 "Checking for WiFi", and indicate when connected successfully.

Flash text, WiFi Connected <----text is optional.

EXIT TASK

Flash text, Disconnected from WiFi <----text is optional.

WiFi Off [if %Checking4WiFi Doesn't Match on] <----This will turn off WiFi, the "IF" will prevent conflict with profile 1 "Checking for WiFi"

Flash text, Turning WiFi off [if %Checking4WiFi Doesn't Match on] <----text is optional., the "IF" will prevent conflict with profile 1 "Checking for WiFi"

Variable Clear, %Connected2WiFi <----This will clear variable, and trigger profile 1 "Checking for WiFi" to start searching again.