Or Continue to Thread: [FIX] AdHoc Wifi support on th…
Find Your Device:
11th December 2010, 06:36 AM   |  #21  
Senior Member
Thanks Meter: 42
 
155 posts
Join Date:Joined: Dec 2010
Exclamation
Lets try this again... Maybe I can attach a zip file...

If this works, there will be two zip files...

I have found that the Adhoc enabled wpa_supplicant file didn't play nice with respect to wifi sleep policy.

wpa_supplicant.backup.zip is the original Nook Color wpa_supplicant file.

switch-adhoc.zip contains the original wpa_supplicant, the adhoc enabled wpa_supplicant and two scripts, adhoc and infrastructure.

Instructions for using the second:

unzip the file to a work directory on your computer.

adb shell mount -o remount rw /system
adb push wpa_supplicant.infrastructure /system/bin
adb push wpa_supplicant.adhoc /system/bin
adb push adhoc /system/bin
adb push infrastructure /system/bin
adb shell chmod 755 /system/bin/wpa_supplicant.infrastructure
adb shell chmod 755 /system/bin/wpa_supplicant.adhoc
adb shell chmod 755 /system/bin/adhoc
adb shell chmod 755 /system/bin/infrastructure
adb shell mount -o remount,ro /dev/block/mmcblk0p5 /system

After this is done, you can switch back and forth between the original and the adhoc enabled wpa_supplicant by starting a shell on the Nook Color and running the following commands:

To switch to adhoc mode:
su
adhoc


To switch to infrastructure mode:
su
infrastructure

Hope this helps people out.
The Following 4 Users Say Thank You to johnopsec For This Useful Post: [ View ]