This is a simple and effective way to do this without any connection to PC and shell programming. Tutorial is done with Zenithink ZT-180 Android 2.1 tablet and Nokia E66 phone as AdHoc AP, using JoikuSpot tethering program.Should work with other AdHoc access points.(Successfully tested on Motorola Milestone with Android 2.1 and Barnacle tethering app)You need a
rooted tablet and
Root Explorer app. No need to adb connect your tablet with PC.
All is done from the tablet!------------------------- START ---------------------------------- Install Universal Androot, root your device and reboot- Install Root Explorer (
You need Open in Text edit option on long-pressing files. RootExplorer 2.10.3 has this option)- Make sure to allow Root Explorer superuser rights!- In Root Explorer
click on mount r/w button- Go to /data/misc/wifi folder (you can add a bookmark to this folder for later fast access - long-press on folder)-
Create a copy of wpa_supplicant.conf and name it wpa_supplicant.conf.adhoc- Open wpa_supplicant.conf.adhoc in text editor (long press -
scroll down - Open in Text Edit)- Configure your AdHoc access point wpa_supplicant.conf.adhoc (
remove all other networks):wpa_supplicant.conf.adhoc should look like this:
ctr_interface=ra0update_config=0ap_scan=2network={ssid=YOUR-AP-SSID-HEREscan_ssid=1mode=1key_mgmt=NONE}- Now you should have:
- wpa_supplicant.conf (original file with all saved networks)
- wpa_supplicant.conf.adhoc (adhoc file with tethering AP configuration)
-
Rename wpa_supplicant.conf to wpa_supplicant.conf.orig-
Rename wpa_supplicant.conf.adhoc to wpa_supplicant.conf- Go to Settings - Wireless & networks and
turn OFF and back ON your WiFi- Thats it! ------------------------- END ---------------------------------It should now connect to your tethering device without any shell programming and permission/ownership settings.
No need to edit RT2870STA.dat file.Just toggle back the original wpa_supplicant.conf file and rename current to wpa_supplicant.conf.adhoc when you don't need adhoc tethering connection any more.I hope you find it useful ;)Ales