Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

How it is possible to enable portable Wi-Fi hotspot from ADB shell or by editing some configuration files on Android Jelly Bean? I need to do it interactive for automatic test server

share|improve this question
2  
What's wrong with Settings > More... (underneath Wi-fi) > Tethering and Portable hotspot > Portable Wifi hotspot? –  t0mm13b Jan 3 '13 at 18:10
    
I need to do it interactive (using ADB) - need it for automatic test server –  Dima Jan 3 '13 at 19:11
add comment

3 Answers

There is an app called FoxFi that lets you tether your phone's internet over bluetooth or wifi. There is no need for adb etc.

It is compatible with Jellybean because I use it too Here is the link: https://play.google.com/store/apps/details?id=com.foxfi

share|improve this answer
    
I need to do it interactive (using ADB) - need it for automatic test server –  Dima Jan 3 '13 at 19:12
add comment

If you have root on your phone, you can use Wifi Tether for Root Users. I have a Droid4 with Jellybean and got it working after installing the latest version.

For my Droid4, the following settings worked:

Device-Profile: Generic ICS/JB (wlan1)
Setup-Method: Netd-Ndc (master)

share|improve this answer
    
I need to enable Wi-Fi hotspot from ADB shell, not from GUI –  Dima May 3 '13 at 10:27
add comment

You could trigger that using Tasker:

WiFi Tether: Turn on sharing of the device's Internet connection via wifi.

You just need to pick a fitting trigger -- I picked File Events for this example:

  • Condition: File Events
  • Task: WiFi Tether

So with that set up (specifying the parameters of course), you should be able to trigger your WiFi hotspot (aka "WiFi Tether", as the Tasker manual names it) by placing a file -- and trigger it off again by removing the file. Did not try that myself -- but that's how I understand it :)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.