I setup adhoc connection in Ubuntu Linux. How can we connect android devices (2.3.3 and 4.0) to the adhoc wifi internet connection?
2 Answers
Simple answer: Android does not support Ad-Hoc networks by default (see also the ad-hoc-networks tag-wiki, which tells you this and more). This means, you will need to root your devices, and use an app for this specific task, which is known as reverse-tether.
Some solutions are summed up in the following questions (or rather in their answers):
- How to share internet among 2 android devices?
- Enable Adhoc on Jelly Bean
- Connect android phones through adhoc wifi network
- How can I establish an AD-HOC Wi-Fi connection on my tablet?
As I did not use this method (had no need for it), I'm not sure what "easy solutions" really do. But if I remember correctly, OpenGarden's WiFi Tethering supports this, as does MANET Manager.
Yes ad hoc isn't supported in Android OS but typing 2 lines of DOS commands should solve the problem, I tested this and it works.
Type these 2 lines on DOS command prompt:
netsh wlan set hostednetwork mode=allow ssid=NAME key=PASSWORD
netsh wlan start hostednetwork
I found it on this blog.