[SOLVED] AdHoc Wifi on LG Optimus One P500

Do you agree with this post?


  • Total voters
    6
  • Poll closed .

novas242001

Member
Sep 17, 2011
24
5
0
CLASSIFIED
http://forum.xda-developers.com/showthread.php?t=1170232

Someone needs to port this for our LG Optimus One P500.

We all know that Adhoc doesn't work on Android. I've also seen a few thread recommending the use of alternative software on the PC. But one must understand that these software do not support all WiFi adapters and/or need specific OS in order to operate.

If one of our dev can port or make a fresh one, we could vote to make it a "Sticky".

I request you comment your opinion about this.
--------------------------------------------------------------------------
Download the "wpa_supplicant" from the link below and replace it with the one in your rom. It should work.

www.mediafire.com/?939dy6dzmmc2vkp
[Thanks to seriousia for the link]
--------------------------------------------------------------------------
Please click "Thanks" if it works for you.
 
Last edited:
  • Like
Reactions: rikipy

novas242001

Member
Sep 17, 2011
24
5
0
CLASSIFIED
Maybe this can help you as it is xp compatible.
http://www.virtual-ap.com/
Will definitely give it a try :). Anyway, about the "G3 AdHoc Wifi Thread" by "jinxskore", it supports even old onboard laptop adapters which is why we definitely need this. You don't need to download any additional application/software....it will detect the AdHoc like an access point which is absolutely cool. Google could have added that with their updates but God knows why not.

I still think one of our dev should make one. I would if I could but I just started using android a month back and rooted yesterday.
 

novas242001

Member
Sep 17, 2011
24
5
0
CLASSIFIED
Ad-hoc support for Android

Flash this

www.mediafire.com/?939dy6dzmmc2vkp

M using it
N It works perfectly

Sent from my LG-P500 using XDA App
Thanks a ton. Before I proceed, is it possible to just copy it through "Root Explorer" instead of flashing it? This is because I'm on stock 2.2.2 rooted and planning to stick with it for a while.

Also, is there a post dedicated to this particular "supplicant"? Would be really handy if there is one. If not, you could make a sticky :)

Okay, replaced the wpa_supplicant using "Root Explorer" and YES I can confirm it is working. Thanks a ton. :)
 
Last edited:

novas242001

Member
Sep 17, 2011
24
5
0
CLASSIFIED
What is adhoc?

Sent from my LG-P500 using xda premium
http://en.wikipedia.org/wiki/Wireless_ad_hoc_network

Here, I was referring to "PC-to-Phone" wireless connection which allows internet sharing from the PC to the Phone (not Phone-to-PC) without using any particular OS (eg. Win7) or PC Software (eg. Connectify).

Take a look at the link in the original thread and you'll get the idea of what the post is all about.
 
  • Like
Reactions: virusshah1997

seriousia

Senior Member
Jan 31, 2011
715
256
0
Thanks a ton. Before I proceed, is it possible to just copy it through "Root Explorer" instead of flashing it? This is because I'm on stock 2.2.2 rooted and planning to stick with it for a while.

Also, is there a post dedicated to this particular "supplicant"? Would be really handy if there is one. If not, you could make a sticky :)

Okay, replaced the wpa_supplicant using "Root Explorer" and YES I can confirm it is working. Thanks a ton. :)
Wlcm bro :)

Sent from my LG-P500
Sonygenmod 1.2 Final
 

ShawnnKushh

Senior Member
Mar 8, 2011
81
5
0
Atlanta, GA
problem

so i am able to see the adhoc network i have at home, but now my issue is i am apparently unable to connect to said network. i click connect and it just dismisses the prompt, but with no change to my connection state. ive rebooted the phone many times, disabled data to ensure nothing is coming from 3g, and tried multiple times, so now im at a loss. im also unaware if this has affected my ability to connect to regular networks as i have none available to test right now. any help would be great tho, im still learning my way around adb but these are the commands i used.


adb remount
adb push system/bin/wpa_supplicant /system/bin/wpa_supplicant
adb shell chmod 755 /system/bin/wpa_supplicant


and i was instructed to use this as well but it came with an error

adb shell chown system.wifi /data/misc/wifi/wpa_supplicant.conf

---------- Post added at 09:03 PM ---------- Previous post was at 08:57 PM ----------

so i tried again with that chown command after a restart and it went through, and now it still sees the adhoc network, but once i try to connect it just adds it to the bottom of the list saying out of range, and i try again with no results..

---------- Post added at 09:05 PM ---------- Previous post was at 09:03 PM ----------

maybe someone could provide me with this as an edify ready zip? i couldnt use the other because my recovery doesnt support amend anymore. that would be awesome
 

myawan

Senior Member
Dec 18, 2011
1,918
899
0
I have a Vista machine.
1) First of all I enabled sharing of LAN card
2) Wifi & LAN were not getting enabled at same time (LAN was given auto precedence), issue was resolved by disabling switching of LAN/WLAN in BIOS
3) Installed Connectify
4) configured it to share my LAN connection over WIFI

Simple!

---------- Post added at 07:14 PM ---------- Previous post was at 06:54 PM ----------

For setting up proxy in my optimus, I used ProxyDroid.
 

silverdroid

Member
Jul 19, 2011
39
2
0
Lucknow
[/COLOR]maybe someone could provide me with this as an edify ready zip? i couldnt use the other because my recovery doesnt support amend anymore. that would be awesome
i have attached the edify ready zip of wpa adhoc
and if u need to convert amend script to edify use the other attachment :) found via googling
i have flashed this but unfortunately i could connect to ad hoc(of my laptop) only once and that too couldnt access the internet.
Now whenever i make ad hoc from my lappy the option of 'share your internet connection' is not present at all! :confused:
 

Attachments

  • Like
Reactions: hariraj96

pfrolim

New member
Jan 12, 2012
2
1
0
My phone is a LG p500 rooted, android 2.3.3 original LG ROM, and my sdcard is partioned, I've not updated the kernel yet... I have used ES File Explorer since Root Explorer is now paid and I have no credit card.

I've tried a wpa_supplicant from another forum and now my android just keeps rebooting.

I set the airplane mode and could use ES File Explorer again to restore original file, but, anyway, my phone just works in 3G networks... whenever I turn on the wifi, the phone reboots....

What exactly is this wpa_supplicant, what it does? in linux terms?

Anyway, I'm gonna give a try in this one in this thread...

---------

Update:

Meanwhile, i found out why my original wpa_supplicant was not working... it seems it is not a file, as i was wondering, it is a program... and when i gave it permissions to override, i set wr-wr-wr... but as a program, it must have the EXECUTION permission: wrx-wrx-wrx ... now my wi-fi is working again... but, still, not detecting ad-hoc ...

anyway, i can try again with differente version ;) i backed up my original, and now i know how to fix it... ;)

in case of success, i post here!

---------

Update:

ad-hoc now working! \o/

there are many threads about this subject, so, to help others noobs like me, some notes:

1) root your phone
2) download ES File Explorer on market. it's a free (and very good) alternative to Root Explorer
3) its a good idea to turn off wifi now. better, set airplane mode.
4) in the configs of ES File Explorer, if your phone is rooted, there is an option to mount the /system directory with permissions to write/read and another option to see hidden files. check them on.
5) now, you should navigate to /system/bin/wpa_supplicant and save a copy of this file in a secure location.
6) back to system/bin/wpa_supplicant, press long and in its properties, you can change the permissions of the file to rwx-rwx-rwx
7) now you can copy the wpa_supplicant you found in this forum, to that location, and override the original (dont worry, if you have a backup, its reversible)
8) again, check the permissions of the new wpa_supplicant. it must be rwx-rwx-rwx too. (it's a program, the "x" is needed to execute)
9) that all. it now should work. ad-hoc networks are marked with a (*)... in my case, worked perfectly. My phone is a LG P500 android 2.3.3 original rom.
10) in case of any errors, just try another version of wpa_supplicant, there are some versions here. or, just restore your original wpa_supplicant. remember the permissions.
11) if you have the android sdk in your pc, you can run adb shell wpa_supplicant -v and find out your version... v5 or v6 ... in this forum there are modified wpa_supplicant in versions 5 and 6 ... use the correct according to your rom...
 
Last edited:
  • Like
Reactions: hariraj96

irbaaz

Senior Member
Aug 5, 2011
130
23
0
indore
no ta transferring

My phone is a LG p500 rooted, android 2.3.3 original LG ROM, and my sdcard is partioned, I've not updated the kernel yet... I have used ES File Explorer since Root Explorer is now paid and I have no credit card.

I've tried a wpa_supplicant from another forum and now my android just keeps rebooting.

I set the airplane mode and could use ES File Explorer again to restore original file, but, anyway, my phone just works in 3G networks... whenever I turn on the wifi, the phone reboots....

What exactly is this wpa_supplicant, what it does? in linux terms?

Anyway, I'm gonna give a try in this one in this thread...

---------

Update:

Meanwhile, i found out why my original wpa_supplicant was not working... it seems it is not a file, as i was wondering, it is a program... and when i gave it permissions to override, i set wr-wr-wr... but as a program, it must have the EXECUTION permission: wrx-wrx-wrx ... now my wi-fi is working again... but, still, not detecting ad-hoc ...

anyway, i can try again with differente version ;) i backed up my original, and now i know how to fix it... ;)

in case of success, i post here!

---------

Update:

ad-hoc now working! \o/

there are many threads about this subject, so, to help others noobs like me, some notes:

1) root your phone
2) download ES File Explorer on market. it's a free (and very good) alternative to Root Explorer
3) its a good idea to turn off wifi now. better, set airplane mode.
4) in the configs of ES File Explorer, if your phone is rooted, there is an option to mount the /system directory with permissions to write/read and another option to see hidden files. check them on.
5) now, you should navigate to /system/bin/wpa_supplicant and save a copy of this file in a secure location.
6) back to system/bin/wpa_supplicant, press long and in its properties, you can change the permissions of the file to rwx-rwx-rwx
7) now you can copy the wpa_supplicant you found in this forum, to that location, and override the original (dont worry, if you have a backup, its reversible)
8) again, check the permissions of the new wpa_supplicant. it must be rwx-rwx-rwx too. (it's a program, the "x" is needed to execute)
9) that all. it now should work. ad-hoc networks are marked with a (*)... in my case, worked perfectly. My phone is a LG P500 android 2.3.3 original rom.
10) in case of any errors, just try another version of wpa_supplicant, there are some versions here. or, just restore your original wpa_supplicant. remember the permissions.
11) if you have the android sdk in your pc, you can run adb shell wpa_supplicant -v and find out your version... v5 or v6 ... in this forum there are modified wpa_supplicant in versions 5 and 6 ... use the correct according to your rom...
only it is connecting but no data transferring i am using connectify 3.3 pro to establish ad hoc connection
and running on gb stock and window xp home edition sp3
what I am missing
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone