View Single Post
Old 10-05-2011, 01:15 PM   #100
tekknogenius
Groupie
tekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheesetekknogenius can extract oil from cheese
 
tekknogenius's Avatar
 
Posts: 198
Karma: 1118
Join Date: Jul 2011
Device: Pocket Edge
Modified wpa_supplicant to allow adhoc connections

1. Go here to xda-developers forum
2. Download wpa_adhoc-signed.zip.
3. Unzip file and extract wpa_supplicant
4. On PE rename /bin/wpa_supplicant /bin/wpa_supplicant.old (or whatever)
5. Copy new version of wpa_supplicant to /bin directory onn PE
6. Change file permissions to 755 for /bin/wpa_supplicant
7. Reboot PE
8. Start sharing wifi from your phone or whatever adhoc network you use
9. See your network name in the list with an asterisk (*)!
10. Select and connect

Now I can connect to my phone's adhoc wifi without having to use ZT-Adhoc Switcher. The phone shows up in the normal wifi access point list. This makes it so much more convinient

BTW I'm rooted and running ermine 2.2. I most likely will not work on dingo.

All thanks to the original poster/patcher!!!

Accordingly here's what it should do:
Quote:
The patch below modifies the wpa_supplicant code in the external/wpa_supplicant AOSP repo to make ad-hoc networks appear as regular APs with a (*) prefix.

The patch:

* removes the [IBSS] flag from scan results,
* masquerades and demasquerades ad-hoc ssid with (*) prefix
* sets mode 1 (ad-hoc) if the ssid is for IBSS
* permits the supplicant to select an IBSS when associating to a given ssid
tekknogenius is offline   Reply With Quote