[Q] Ad-Hoc WiFi Connection? - Galaxy S III Q&A, Help & Troubleshooting

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.

Related

[Q] Tethering on mini/pro

Any body tried tethering on mini or mini pro?
I tried with few, din't work
i did, you need root privileges first
first, you should turn your wifi on and add Wi-Fi network (setting,wireless&networks,Wi-Fi settings, add Wi-Fi network
give a name like "droid" (mine with no security)
then turn your wifi off
open root explorer (require root access)
after that edit the /data/misc/wifi/wpa_supplicant.conf
and add some line into it:
ctrl_interface=wlan0
update_config=1
ap_scan=2
network={
ssid="droid" <--- your wifi name (mine droid)
scan_ssid=1
key_mgmt=NONE
mode=1
}
finally, turn your wifi on, and let your laptop scan it
hope these help
d3wo said:
i did, you need root privileges first
first, you should turn your wifi on and add Wi-Fi network (setting,wireless&networks,Wi-Fi settings, add Wi-Fi network
give a name like "droid" (mine with no security)
then turn your wifi off
open root explorer (require root access)
after that edit the /data/misc/wifi/wpa_supplicant.conf
and add some line into it:
ctrl_interface=wlan0
update_config=1
ap_scan=2
network={
ssid="droid" <--- your wifi name (mine droid)
scan_ssid=1
key_mgmt=NONE
mode=1
}
finally, turn your wifi on, and let your laptop scan it
hope these help
Click to expand...
Click to collapse
I tried your guide out, after a few restarts I got access to my phone's wifi with my laptop, just no internet access and the phone kept on searching for the IP untill it turned off the wifi.
Do you have any clue as to why?
I have tethering working on my mini pro. All I did was root, and installed Barnacle Tethering.
There was no setup necessary, just opened the app and pressed start and it showed up in the wireless list for my laptop.
ptpoul said:
I tried your guide out, after a few restarts I got access to my phone's wifi with my laptop, just no internet access and the phone kept on searching for the IP untill it turned off the wifi.
Do you have any clue as to why?
Click to expand...
Click to collapse
cause you should turn on your internet connection sharing on your laptop (sharing your laptop connection via laptop to your x10 wifi)
VwlsRFrWmps said:
I have tethering working on my mini pro. All I did was root, and installed Barnacle Tethering.
There was no setup necessary, just opened the app and pressed start and it showed up in the wireless list for my laptop.
Click to expand...
Click to collapse
nice info, thanks
update:
doesn't work for me
after installing barnacle and start it, my laptop doesnt detect any wifi..any suggstion?

wpa_supplicant

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.

[Q] All workarounds failed,cm7.1 ROM not connecting to Ad hoc wifi

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 !!

[Help needed][Android 2.3] Pandigital Nova + Ad-Hoc Wi-Fi Networks

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.

[Q] Ad-hoc wifi support on XPERIA MiNi Pro [Ice Cream Sandwich]

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

Categories

Resources