[Android Software/Hacking General [Developers Only]] fbelleri:
Hi Derock533,

Here it is your file. It is really simple.

Generally works without problems, assuming you have rooted your tablet.

But start from the beginning.

When the system enables the wifi, it reads the network configuration specified in the file \system\etc\wifi\wpa_supplicant.conf.

This configuration file would provide the use of adhoc networks (derived from linux), but is not permitted by the policies of Android.

Enabling adhoc networks is obtained by adding the instruction "ap_scan = 2" (look for all types of access point) and the instruction "mode = 1" (which identifies adhoc networks).

To complicate things, they made ​​sure that if is done a manually scan, system will automatically delete the line "ap_scan = 2" from the file.

So for our convenience we will use two files, one for the networks 'normal' and one for the network 'adhoc'.

The attached file does not require a network password, then disable the password in the options Jouikuspot (Cripto = none). This configuration is useful for testing, then we will add support for WEP encryption.

From post#4 *-*-*-*

Step2:

Copy "wpa_supplicant.conf.adhoc" file to the folder /system/etc/wifi/.

Step3:

Assuming that you already have at least one 'normal' wifi network running, using RootExplorer go to the folder /system/etc/wifi/ and make a copy of your file wpa...conf in use and rename the copy "wpa_supplicant.conf.normal" in the same folder. Why? Because this file contains your update normal wifi networks configuration and passwords.

It is all.

So, what I have to do when I want switch from NORMAL to ADHOC network?

1 Disable the wifi network in settings.

2 With RootExplorer,

2.1 go to folder /system/etc/wifi/

2.2 long press on file wpa_supplicant.conf, when menu pop up, delete this file.

2.3 long press on file wpa_supplicant.conf.adhoc, when menu pop up, copy and paste.

2.4 long press on file "wpa_supplicant.conf.adhoc - Copy" and rename it to wpa_supplicant.conf

2.9 Start Joiku on your phone and wait 5 seconds

3 Enable the wifi network in settings.

4 After 2 seconds, your tablet should connect to the adhoc ap of your phone.

5 DO NOT use scan for netwoks in settings because it will auto modify your wpa..conf file.

What I have to do when I want change the network from ADHOC to NORMAL?

1 Disable the wifi network in settings

2 With RootExplorer,

2.1 go to folder /system/etc/wifi/

2.2 long press on file wpa_supplicant.conf, when menu pop up, delete this file.

2.3 long press on file wpa_supplicant.conf.normal, when menu pop up, copy and paste.

2.4 long press on file "wpa_supplicant.conf.normal - Copy" and rename it to wpa_supplicant.conf

3 Enable the wifi network in settings.

4 After 1/2 seconds, your tablet should connect to the ap of your wifi network..

5 You can use/modify/add netwoks in settings because it will correctly modify your wpa..conf 'normal' file. If you add/modify anything make a copy of your updated wpa..conf to "wpa_supplicant.conf.normal" erasing old one.

*-*-*-*

When in adhoc mode, if it does not work, try to change the channel on Jouikuspot. (disable wifi on tablet - disable joiku - modify joiku - enable joiku - enable wifi on tablet)

Best regards (and excuse me for my english). Ciao!