hi can anyone give the proper wpa_supplicant for ad-hoc support please.
i tried wifi adhoc enabler from market but after applying it, whenever it detects adhoc network it detects it like
(*)test network.
when i click on it for connect it replicates its name and the process go on.
Related
HI all,
My phone specs -HTC Aria
Rooted , S -OFF
ROM : cm7.1 -- update-cm-7.1.0-Liberty-signed.zip
clockworkmod recovery v5.0.2
Android 2.3.7
I am trying to connect to wifi ad hoc from my win7 laptop(using connectify) to my phone.My laptop is connected to internet via LAN which is behind college proxy but Connectify successfully created wifi hotspot. Now problem is that my phone is able to detect the ad hoc network but has problem connecting , it gets stuck at "obtaining ip address...." .
What I tried after searching in forums?
As mentioned by a member I filled in some values in Advanced wifi settings and
filled out I.P Address(192.168.2.2) subnet (192.168.2.1) dns1 and dns2 after doing this my wifi went crazy, It connects & immediately disconnects continuously and this happens so on.
As mentioned in this forum http://forum.xda-developers.com/showthread.php?t=754961 I tried to flash the zip from recovery but i got this error :
Code:
Amend scripting (update-script) is no longer supported.
Amend scripting is deprecated by Google in Android 1.5.
It was necessary to remove it when upgrading to the ClockworkMod 3.0 Gingerbread based recovery.Please switch to Edify scripting (updater-script and update-binary) to create working update zip packages.
Installation aborted.
Next using Root Explorer I tried to replace the existing wpa_supplicant file located at /system/bin with the file given in this post http://forum.xda-developers.com/showpost.php?p=17582197&postcount=79, this time my wifi doesn't even detect the ad hoc network so I reverted it to old file. Basically I couldn't find anywhere wpa_supplicant file for Android 2.3.7.The most updated I got was for Android 2.3.5 version.
Also installed an app called Adhoc Wifi enabler but with no result.
I tried so hard but couldn't work it out , if any one done this before please help me here..
Thank you !!
How ad-hoc networks can be enabled this device?
I have tried two ways to enable Ad-Hoc networks on Android device, but no one work.
Replace wpa_supplicant with hacked variant is not work. After enabling Wi-Fi i see bootlogo and "restarted" Android. And this will loop, until i place original wpa_supplicant in /system/bin. I tried six hacked wpa_supplicant binaries.
And editing wpa_supplicant.conf is not work too, i don't know why.
Help me with this, please. I do not want to throw device in the trash, just because of defectiveness Android.
Hi,
Few days back i updated my MiNi Pro to Ice Cream Sandwich and rooted it..
same as Gingerbread, Ice cream sandwich doesn't have Ad-hoc wifi support..
It can only connect to an infrastructure wifi only..
I want to connect my Mini Pro to the ad-hoc virtual hotspot created by my laptop, or Nokia N79 [Using JoikuSpot – Mobile WiFi HotSpot for Nokia] so that i can get internet access on my Mini Pro using wifi ..
Thanx.
Aqib.
the same question
I have the same question :crying::crying::crying::crying:
mohdaqib17 said:
Hi,
Few days back i updated my MiNi Pro to Ice Cream Sandwich and rooted it..
same as Gingerbread, Ice cream sandwich doesn't have Ad-hoc wifi support..
It can only connect to an infrastructure wifi only..
I want to connect my Mini Pro to the ad-hoc virtual hotspot created by my laptop, or Nokia N79 [Using JoikuSpot – Mobile WiFi HotSpot for Nokia] so that i can get internet access on my Mini Pro using wifi ..
Thanx.
Aqib.
Click to expand...
Click to collapse
i suggest connectify or mhotspot4lite if you want to create adhoc via your laptop. i know it's offtopic but atleast it's a workaround while waiting for a real answer to your question
=D
adin234 said:
i suggest connectify or mhotspot4lite if you want to create adhoc via your laptop. i know it's offtopic but atleast it's a workaround while waiting for a real answer to your question
Click to expand...
Click to collapse
The native Adhoc in the ICS is not workin, i use WiFi Tether for Root Users: https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether
Opend the App, in Setting choose the perfil "ICS WLAN1"
Connect to adhoc
I changed data/misc/wifi/wpa_supplicant.conf (not /system/bin/wpa_supplicant)
Step1:First i scanned my adhoc network using Wifi Manager. It shows adhoc networks. I ignored it's warning and tried to connect. It'll fail.No problem! We now have the adhoc network listed in wpa_supplicant.conf.
Note: you can skip this step if you know how to edit wpa_supplicant.conf manually or if your device already lists adhoc networks on scanning.
Step2: You'll need to root your device if you're doing this through your device itself. If you use adb you may not need to root your device.(I had root access by default through adb. So rooting the device wasn't necessary for me). If you're using pc(windows or linux), i recommend Android Commander. If you're doing this from device itself, use some Root Explorer and Terminal Emulator.
Pull and/or edit data/misc/wifi/wpa_supplicant.conf. Add the following line
ap_scan=2
Find line like
network={
ssid="your adhoc name"
bssid=*some value*
.
.
}
Delete bssid line.
Add/Change the following
scan_ssid=1
priority=1
mode=1
Push back/save the modified file.
chown ownership back to system.wifi. Type the following in adb/Terminal Emulator
#chown system.wifi data/misc/wifi/wpa_supplicant.conf
Ok, done! Now you can turn on wifi and if the specified adhoc network is nearby, your device'll automatically connect to it. Don't scan for new networks. If you do, adhoc support will be lost and you'll have to start over again!
Advantage: Safer than modifying system/etc/wifi/wpa_supplicant binary. Saves you the trouble of compiling modified wpa_supplicant or finding a compiled one for your platform.
Drawback: This is just a temporary solution.You'll have to repeat this process for every new adhoc network as it doesn't enable adhoc forever. It is good for connecting to your home network or other known networks, but if you want to connect to any adhoc network you scan,then this is not your method. Because, wpa_supplicant.conf will be overwritten every time you scan a new network.
For more details refer
http://forum.xda-developers.com/showthread.php?t=1591207
Error
HEXcube said:
I changed data/misc/wifi/wpa_supplicant.conf (not /system/bin/wpa_supplicant)
Step1:First i scanned my adhoc network using Wifi Manager. It shows adhoc networks. I ignored it's warning and tried to connect. It'll fail.No problem! We now have the adhoc network listed in wpa_supplicant.conf.
Note: you can skip this step if you know how to edit wpa_supplicant.conf manually or if your device already lists adhoc networks on scanning.
Step2: You'll need to root your device if you're doing this through your device itself. If you use adb you may not need to root your device.(I had root access by default through adb. So rooting the device wasn't necessary for me). If you're using pc(windows or linux), i recommend Android Commander. If you're doing this from device itself, use some Root Explorer and Terminal Emulator.
Pull and/or edit data/misc/wifi/wpa_supplicant.conf. Add the following line
ap_scan=2
Find line like
network={
ssid="your adhoc name"
bssid=*some value*
.
.
}
Delete bssid line.
Add/Change the following
scan_ssid=1
priority=1
mode=1
Push back/save the modified file.
chown ownership back to system.wifi. Type the following in adb/Terminal Emulator
#chown system.wifi data/misc/wifi/wpa_supplicant.conf
Ok, done! Now you can turn on wifi and if the specified adhoc network is nearby, your device'll automatically connect to it. Don't scan for new networks. If you do, adhoc support will be lost and you'll have to start over again!
Advantage: Safer than modifying system/etc/wifi/wpa_supplicant binary. Saves you the trouble of compiling modified wpa_supplicant or finding a compiled one for your platform.
Drawback: This is just a temporary solution.You'll have to repeat this process for every new adhoc network as it doesn't enable adhoc forever. It is good for connecting to your home network or other known networks, but if you want to connect to any adhoc network you scan,then this is not your method. Because, wpa_supplicant.conf will be overwritten every time you scan a new network.
For more details refer
http://forum.xda-developers.com/showthread.php?t=1591207
Click to expand...
Click to collapse
i try, have error, wifi can't turn on
Do chown on wpa_supplicant.conf
You have error because you didn't change ownership back to System and group as wifi. To do this do the chown command from adb or a Terminal Emulator/shell:
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Please refer to http://forum.xda-developers.com/showthread.php?t=1591207.
For explanations:http://forum.xda-developers.com/showthread.php?t=1511544
Didn't work
I try chown in adb, still didn't work. My phone is WT19i
Backup of wpa_supplicant.conf
Do you have a backup of wpa_supplicant.conf with you. Try it.
If still not working try changing permissions:
chmod 775 /data/misc/wpa_supplicant.conf
Didn't work
HEXcube said:
Do you have a backup of wpa_supplicant.conf with you. Try it.
If still not working try changing permissions:
chmod 775 /data/misc/wpa_supplicant.conf
Click to expand...
Click to collapse
i change permissions in Root Ex:
xx0
xx0
000
still didn't work, can't connect to ad-hoc
Finally its working
All i done was first turn off wifi and then open wpa_supplicant.conf in data/misc/wifi and placed
network={
ssid="Dilushan"
mode=1
frequency=2412
key_mgmt=NONE
priority=50
}
in end. Dilushan should replace with wifi network name. Then got ownership back to system.wifi by typing the following 2 commands in Terminal Emulator.
su
then
chown system.wifi data/misc/wifi/wpa_supplicant.conf
thats all. Then i opened wifi in setting and it automatically connected adhock network named Dilushan. I connected successfully to nokia phone wifi network created by joikuspot and browsed internet and also connected to a windows laptop. my device xperia mini 4.0.4 .431 rooted locked bootloader.
Thanks Hexcube this is awsome. i even started a thread with no answer before.
Thanks for trying
I'm glad that it worked.I wasn't sure if it'll work on xperia. I couldn't get a rooted xperia to test. Thanks for testing this. Now, i'm sure it'll work on nariman's Xperia Mini Pro.
Very good
Dilushan said:
All i done was first turn off wifi and then open wpa_supplicant.conf in data/misc/wifi and placed
network={
ssid="Dilushan"
mode=1
frequency=2412
key_mgmt=NONE
priority=50
}
in end. Dilushan should replace with wifi network name.thats all. Then i opened wifi in setting and it automatically connected adhock network named Dilushan. To me no need to change ownership. I connected successfully to nokia phone wifi network created by joikuspot and browsed internet and also connected to a windows laptop. my device xperia mini 4.0.4 .431 rooted locked bootloader.
Thanks Hexcube this is awsome. i even started a thread with no answer before.
Click to expand...
Click to collapse
Thank pro a lot. I connected successfully ! :good::good::good::good::good::good::good:
I've made a thread about this ..
http://forum.xda-developers.com/showthread.php?t=1717060
Hf
mangmt said:
Thank pro a lot. I connected successfully ! :good::good::good::good::good::good::good:
Click to expand...
Click to collapse
Thanks bro for ur feedback
Is there anything I can do to my rooted phone for it to be able to connect to Ad-Hoc WiFi hotspots? I have JoikuSpot on my old n97 with unlimited data plan, but android doesn't see Ad-Hoc connections :\
Every Ad-Hoc enabler I tried so far kills the WifI connection so have to wait for updates.
I tried a modified wpa_supplicant.conf in 'data/misc/wifi' (not wpa_supplicant in system/etc) to ascend the priority=1 to adhoc network. It works fine.
I didn't need to root my tab(as i used adb of Android Commander to push the modified wpa.conf)
After pushing the new file, chmod 666 and chown the original user.
Disadvantage- for every adhoc network you wish to connect you'll have to do the same. It doesn't enable adhoc forever.
Hi everybody,
I have an HTC Flyer P512 16GB wifi only, on Android 2.3.4, HTC Sense 1.0, softwarenumber 2.27.1114.32.
Now I want to access internet via my iPhone 3G A1241 16GB, which I Redsn0w jailbroke, and installed PDANet via Cydia.
I'm able to internet from my laptop via the wifi hotspot that I can now create with PDANet.
But for a reason I dont know, I can't seem to find any created wifi hotspots with my Flyer..
How come my laptop can access a wifi hotspot that I created with PDANet on my iPhone, but my Flyer can't?
I used search, but it must be a combination of; too specific & my lack of knowledge in this business ..
I really hope someone can steer me in the right direction!
Thanks in advance
Ok, I did some more research on the matter, I believe I now know I would need to root, SU, before being able to place an wpa_supplicant. Back up original. Turn WiFi off. Use Root Explorer to paste it into system/bin folder. Change the permissions on the file to rwxr-xr-x. Turn wifi back on. And it should show adhoc networks.
How am I doing?
If this is the right order, I still need to find out what root I should use, can anybody tell me that?
It is important to me that all the original buttons function, and I prefer no loss of options..
Appreciate it.
P'z
I now know I mixxed up roms with root in my previous post.
In the meanwhile I have S-off''ed my tablet.
I intended to install CWM along with it, but it displayed that it couldn't be done, and I should do it manually.
I'm now on a search for the specific method of installing CWM manually..if someone feels like jumping to my rescue, would be highly appreciated.
Oke, found this:
http://forum.xda-developers.com/showthread.php?p=14693680
..but again, i am stuck ..the file the how t refers to (cwm-4.0.1.4-flyer.img) is no longer available at that address..
Have been searching for it on Google, as well as torrent sites..no luck..
Is there anyone who still has this file?
Don't know anything about using an iPhone as a hotspot. But you shouldn't have to root and do all that extra stuff to access a WiFi hotspot.
If using security on the WiFi hotspot, try a different type (WPA, WPA2, WEP). WEP in particular does not play well with many HTC devices (and not very secure anyway).
Thanks for your reply!
That's what my understanding was at first, but I tried several wifi apps next to my standard wifi, and what I can conclude is:
Standard wifi scan (via menu):
-can't detect my created hotspot
-can detect and connect with home wifi
WiFi Analyzer:
-can detect my created hotspot (with an AdHoc label, and when I try to connect it displays "Adhoc is not supported by Android platform yet!")
-can detect and connect with home wifi
WiFi Manager:
-can detect my created hotspot (with an AdHoc label, and when I try to connect it displays "Standard Android does not support connecting to IBSS (AdHoc) type networks")
-can detect and connect with home wifi
I read I would need to replace the wpa_supplicant file, but that can only be done once rooted..
Maybe someone has the following reuested file in his/her possesion?:
http://forum.xda-developers.com/showpost.php?p=39399637&postcount=298
..would really help me out!