Android and ad-hoc
Hi, today i will talk about connecting your mobile/tablet Android device to the wireless in ad-hoc (decentralized wireless network) node. Actually ad-hoc mode is not supported by wpa_supplicant (or in configurations) in some Android based devices to connect to ad-hoc wireless nodes, but it's possible to resolve this problem very easily. For this job I will use cheap "Ainol Novo 7 Paladin" tablet with Android Ice Cream sandwich (4.0.3) - "with no ad-hoc support by default". Ok, lets begin, first of all you will need adb tool with debugging mode enabled in Android. If you are using Microsoft Windows you can simply download my simple Windows vbs script and use this wpa_supplicant.conf configuration file (just put these files altogether with adb in the same directory). Commands in the script also can be used on any Android development compatible operating system such as GNU/Linux, Apple Mac OSX, etc... Before you run script (or commands in other os'es) be sure that wifi is turned off on your device. After applying changes to the Android, shutdown it. After Android startup you can turn on wifi wait a little bit and it will connect to the wifi ad-hoc device.
Other side! GNU/Linux users i think will know how to make a simple ad-hoc node on their machines. For Windows users i recommend to use "Connectify" tool for doing this job, it's easy to use and very simple just specify hotspot name to - "adhoc", Internet - "Automatic". On the bottom of the window "advanced" you must specify wireless network device for using to create ad-hoc and specify Security Mode - "Ad-Hoc, Open". Of course you can do changes for your needs if you want (make wep security, etc...), this is just a sample. If you have any questions please ask them here by posting a comment.
Have a good ad-hoc wirelessing, this is for sharing internet using wireless adapter from computer to a handled device, by the way! ;-)
Other side! GNU/Linux users i think will know how to make a simple ad-hoc node on their machines. For Windows users i recommend to use "Connectify" tool for doing this job, it's easy to use and very simple just specify hotspot name to - "adhoc", Internet - "Automatic". On the bottom of the window "advanced" you must specify wireless network device for using to create ad-hoc and specify Security Mode - "Ad-Hoc, Open". Of course you can do changes for your needs if you want (make wep security, etc...), this is just a sample. If you have any questions please ask them here by posting a comment.
Have a good ad-hoc wirelessing, this is for sharing internet using wireless adapter from computer to a handled device, by the way! ;-)
Sorry I follow carefully all your instructions but I can't connect to my adhoc acces point created by Joikuspot on my Nokia C7.
ReplyDeleteAccording to my opinion the problem is wpa_supplicant in system/bin. Could you pls help to patch it.
Android version is 4.0.4 and kernel 3.0.8+
Pls help me.
THKS
Try editing scripts that i'm provided, try to change path'es or maybe this android modification for nokia c7 does not support ad-hoc connection feature at all by default.. I prefer you to deeply investigate this.
ReplyDeleteI've already changed the path and the scripts you provided but without no succeding in establishing connection. All other devices (laptop, netbook) can tether to Joikuspot (hotspot made by Nokia C7) in adhoc mode except for my tablet.
ReplyDeleteI try to explain: the tablet recognize the adhoc network (marked with *) but can't connect. The network is saved but tablet can't acquire an ip.
I think that we need to change wpa_supplicant (without any extension) in system/bin not wpa_supplicant.conf
Pls help me.
THKS THKS a lot,
Andrea