Wifi Tether

In this example, we'll create 2 tasks that will control your Android Wireless Tether (on and off).

REQUIREMENTS

  1. Rooted Android Phone (tested on rooted EVO 4G & EVO 3D)
  2. Tasker
  3. Locale Execute Plug-In
  4. Wireless Tether for Root - adjust your Wireless Tether settings to your liking before using these tasks

Important Note

Wifi Tether will not show any indication that it is working when you use the Start and Stop commands. If you run the app it will also act like it is turned off. However, it does work in the background and you can connect to it. One thing you can do (in Tasker) is add an Alert within each Start / Stop task so you can see it in the notification bar.

The Steps

Wifi Tether On

  1. Click Tasks
  2. Click the New button
  3. Enter Wifi Tether On for the name and click OK
  4. The Action Category dialog should automatically pop up. Select Plugin and then Execute
  5. Click Edit and enter the following into the Execute configuration: !/data/data/android.tether/tether start 1 (the ! at the front is VERY IMPORTANT)
  6. Save the configuration to get back to Tasker
  7. Click Done

Wifi Tether Off

  1. Click Tasks
  2. Click the New button
  3. Enter Wifi Tether Off for the name and click OK
  4. The Action Category dialog should automatically pop up. Select Plugin and then Execute
  5. Click Edit and enter the following into the Execute configuration: !/data/data/android.tether/tether stop 1 (the ! at the front is VERY IMPORTANT)
  6. Save the configuration to get back to Tasker
  7. Click Done

Now that you have the tasks, you can attach them to any context that you'd like, whether it be location, widget, time, or wifi state.

Hope you enjoy!

Amended for Android Wifi Tether 3.1-beta14 and ICS.

After having some trouble with the directions above on my ICS phone and the latest wifi tether, I toyed with the Terminal Emulator and discovered the binary had moved. This may also apply to other versions of Android with the newer Android Wifi Tether.

REQUIREMENTS

  1. Rooted Android Phone running ICS (tested on rooted Galaxy Nexus on Verizon)
  2. Tasker
  3. Locale Execute Plug-In
  4. Wireless Tether for Root - adjust your Wireless Tether settings to your liking before using these tasks

The Steps

Wifi Tether On

  1. Click Tasks
  2. Click the New button
  3. Enter Wifi Tether On for the name and click OK
  4. The Action Category dialog should automatically pop up. Select Plugin and then Execute
  5. Click Edit and enter the following into the Execute configuration: !/data/data/com.googlecode.android.wifi.tether/bin/tether start 1 (the ! at the front is VERY IMPORTANT)
  6. Save the configuration to get back to Tasker
  7. Click Done

Wifi Tether Off

  1. Click Tasks
  2. Click the New button
  3. Enter Wifi Tether Off for the name and click OK
  4. The Action Category dialog should automatically pop up. Select Plugin and then Execute
  5. Click Edit and enter the following into the Execute configuration: !/data/data/com.googlecode.android.wifi.tether/bin/tether stop 1 (the ! at the front is VERY IMPORTANT)
  6. Save the configuration to get back to Tasker
  7. Click Done

I then use NFC Task Launcher Google Play Market Link to embed the Tasker task Wifi Tether On and Wifi Tether Off as a "switch" into a little NFC tag that I keep with my iPad. I can then start tethering when I need it on the iPad simply by touching my phone to the back of the iPad case. I plan on doing this with an NFC sticker on the wrist rest area of my laptop as well.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License