WPA Supplicant full compatible with 2.3.5 and ad hoc networks - Samsung Galaxy Player 4.0, 5.0

NEEDS ROOT!
Here it is a compatible wpa_supplicant for 2.3.5
tested and working with yp g70 2.3.5 and x10 mini 2.1 with barnacle.
Probably it works with symbian (joikuspot) and windows 6.5 wifi tethering
don’t forgot to backup your original wpa_supplicant file!!!
Transfer the wpa_supplicant file to your phone SD card.
Now copy wpa_supplicant file to /system/bin folder using root explorer (select R/W read and write)
reboot and test it!

thanks
this work in galaxy s2 now i can use adhoc

tapioco2000 said:
NEEDS ROOT!
Here it is a compatible wpa_supplicant for 2.3.5
tested and working with yp g70 2.3.5 and x10 mini 2.1 with barnacle.
Probably it works with symbian (joikuspot) and windows 6.5 wifi tethering
don’t forgot to backup your original wpa_supplicant file!!!
Transfer the wpa_supplicant file to your phone SD card.
Now copy wpa_supplicant file to /system/bin folder using root explorer (select R/W read and write)
reboot and test it!
Click to expand...
Click to collapse
Nice. This works on my Galaxy S2 running AndroidMeda 4.47 with an adhoc wifi hosted off my Ubuntu laptop.
Btw tapioco2000 can you tell how you got hold of this file, just to know the source a sensitive binary I am running after all that CareerIQ hooplah?

When I tried this is broke my WiFi for my device (Samsung Galaxy Player 5.0), I was able to fix it by returning the original file though.
Any reason why it didn't work ? =(
Ad-hoc support is very, very important to me in order to have my SGP functioning to my needs.
Thanks!
~ Zane

ZaIINN said:
When I tried this is broke my WiFi for my device (Samsung Galaxy Player 5.0), I was able to fix it by returning the original file though.
Any reason why it didn't work ? =(
Ad-hoc support is very, very important to me in order to have my SGP functioning to my needs.
Thanks!
~ Zane
Click to expand...
Click to collapse
I don't know why, in my galaxy 5 it works like a charm.
do you have froyo or gingerbread?
This wpa is tested ONLY with gingerbread.

tapioco2000 said:
NEEDS ROOT!
Here it is a compatible wpa_supplicant for 2.3.5
tested and working with yp g70 2.3.5 and x10 mini 2.1 with barnacle.
Probably it works with symbian (joikuspot) and windows 6.5 wifi tethering
don’t forgot to backup your original wpa_supplicant file!!!
Transfer the wpa_supplicant file to your phone SD card.
Now copy wpa_supplicant file to /system/bin folder using root explorer (select R/W read and write)
reboot and test it!
Click to expand...
Click to collapse
great!
It works very well with (G70 - 2.3.5 - root) and (C6 Nokia - JoikuSpot).
thanks tapioco2000

Tried it again and it worked! Not sure why it didn't the first time, but it's working smoothly. Now I can connect my Galaxy Player 5 anywhere I go... rather tedious but possible now =)
(I tether my non-smartphone to my iPod Touch via Bluetooth, then output the 3G connection through the iPod Touch's wireless as an adhoc connection)
Now just need to find a way to tether my non-smartphone to the Galaxy directly as I do with iBluever on my iPod touch.

ZaIINN said:
Tried it again and it worked! Not sure why it didn't the first time, but it's working smoothly. Now I can connect my Galaxy Player 5 anywhere I go... rather tedious but possible now =)
(I tether my non-smartphone to my iPod Touch via Bluetooth, then output the 3G connection through the iPod Touch's wireless as an adhoc connection)
Now just need to find a way to tether my non-smartphone to the Galaxy directly as I do with iBluever on my iPod touch.
Click to expand...
Click to collapse
Ibluever is a great app.
If you have an android phone (with minimum 2.2) you could try Autotether, it's similar to ibluever, but it works only with android.

tapioco2000 said:
Ibluever is a great app.
If you have an android phone (with minimum 2.2) you could try Autotether, it's similar to ibluever, but it works only with android.
Click to expand...
Click to collapse
Hmm i'll look into that then! It's a Samsung phone called the "Samsung Mythic" so it's not android, but it has the ability to DUN connect to both the iPod Touch and computers with a Bluetooth chip-- hopefully i'll find something at some point haha
Thanks again for the ad-hoc trick!

ZaIINN said:
Hmm i'll look into that then! It's a Samsung phone called the "Samsung Mythic" so it's not android, but it has the ability to DUN connect to both the iPod Touch and computers with a Bluetooth chip-- hopefully i'll find something at some point haha
Thanks again for the ad-hoc trick!
Click to expand...
Click to collapse
Do you use MyWi to output the 3G connection through the iPod Touch's wireless as an adhoc connection for G70? Or another program?

please help
tapioco2000 said:
NEEDS ROOT!
Here it is a compatible wpa_supplicant for 2.3.5
tested and working with yp g70 2.3.5 and x10 mini 2.1 with barnacle.
Probably it works with symbian (joikuspot) and windows 6.5 wifi tethering
don’t forgot to backup your original wpa_supplicant file!!!
Transfer the wpa_supplicant file to your phone SD card.
Now copy wpa_supplicant file to /system/bin folder using root explorer (select R/W read and write)
reboot and test it!
Click to expand...
Click to collapse
i placed this file in the bin folder accidently deleted the original file.. i didnt realize my android version is gingerbread 2.3.6 not 2.3.5.. now my wifi doesnt even scan non adhoc networks. it just keeps scanning for networks.. my cell is galaxy Y 5360.ive tried hard reset and everything.. i dont know what to do now.. can anyone help me .. post the original wpa_supplicant for my device.. i would be thankful.. kindly help me out. as i bought my cell only yesterday n not looking forward to pay extra cash to get it fixed..

wacottin said:
great!
It works very well with (G70 - 2.3.5 - root) and (C6 Nokia - JoikuSpot).
thanks tapioco2000
Click to expand...
Click to collapse
hye, im using samsung galaxy W rooted 2.3.5 n try to connect it with my Nokia E71 Joikuspot. can u help me ? coz i try everything but it still not connecting. Btw, i already place the wpa but still didnt work. Help please?
Edit - Nvm. Its working now. Thank u!!!!!!!!!

Please help!!!
tapioco2000 said:
NEEDS ROOT!
Here it is a compatible wpa_supplicant for 2.3.5
tested and working with yp g70 2.3.5 and x10 mini 2.1 with barnacle.
Probably it works with symbian (joikuspot) and windows 6.5 wifi tethering
don’t forgot to backup your original wpa_supplicant file!!!
Transfer the wpa_supplicant file to your phone SD card.
Now copy wpa_supplicant file to /system/bin folder using root explorer (select R/W read and write)
reboot and test it!
Click to expand...
Click to collapse
I tried it and my device still can't to wifi
I tried to use the original file and it still doesnt work!
Please help!

OoliteFlight said:
I tried it and my device still can't to wifi
I tried to use the original file and it still doesnt work!
Please help!
Click to expand...
Click to collapse
If the original file isn't working I think you have wifi problem not depending on wpa_supplicant

Huawei Ideos x3
Just to let you know, I am desperately seeking a solution to adhoc connectivity, so I tried your supplicant file on my rooted Huawei (U8510) Ideos X3 (gingerbread 2.3.5) with high hopes...
Unfortunately - no joy (wifi scanning finds no access points and shuts itself off after a few seconds)... Any idea why please?
(I haven't "broken" anything, it was no problem to restore a backup of the wpa file... so - no panic!)
How do I go about tweaking this wpa_supplicant file myself? (I may be a n00b on this forum, but i'm a chap with 30 years in the industry.... C++, HTML, PHP, Vis. Basic etc... ALL the usual suspects )
I greatly appreciate ANY light anyone can shed on this issue (in advance)...

PhunkyPunk said:
Just to let you know, I am desperately seeking a solution to adhoc connectivity, so I tried your supplicant file on my rooted Huawei (U8510) Ideos X3 (gingerbread 2.3.5) with high hopes...
Unfortunately - no joy (wifi scanning finds no access points and shuts itself off after a few seconds)... Any idea why please?
(I haven't "broken" anything, it was no problem to restore a backup of the wpa file... so - no panic!)
How do I go about tweaking this wpa_supplicant file myself? (I may be a n00b on this forum, but i'm a chap with 30 years in the industry.... C++, HTML, PHP, Vis. Basic etc... ALL the usual suspects )
I greatly appreciate ANY light anyone can shed on this issue (in advance)...
Click to expand...
Click to collapse
I'm going to assume this is the problem...
Click on your wpa_supplicant file, go to properties (I'd suggest doing this on the device itself) and enable R/W/X for the file. Make sure ALL of them are enabled. (Read, Write, Executable).
Let me know if this solves your issue!

ZaIINN said:
I'm going to assume this is the problem...
Click on your wpa_supplicant file, go to properties (I'd suggest doing this on the device itself) and enable R/W/X for the file. Make sure ALL of them are enabled. (Read, Write, Executable).
Let me know if this solves your issue!
Click to expand...
Click to collapse
I had already tried CHMODing the file, but followed your advice anyway and recopied the file applying a CHMOD 777 (ALL), to no avail - same result as before...
(but thanks anyway)

PhunkyPunk said:
I had already tried CHMODing the file, but followed your advice anyway and recopied the file applying a CHMOD 777 (ALL), to no avail - same result as before...
(but thanks anyway)
Click to expand...
Click to collapse
If you haven't modified anything else... using the original file + allowing R/W/X should fix it 100%. I even "broke it" to where it wouldn't stay enabled for more than like 5 seconds to test it. Try editing it with ES Explorer and make sure your in the right directory as there are multiple wpa_supplicant files throughout the root of the device.

ZaIINN said:
If you haven't modified anything else... using the original file + allowing R/W/X should fix it 100%. I even "broke it" to where it wouldn't stay enabled for more than like 5 seconds to test it. Try editing it with ES Explorer and make sure your in the right directory as there are multiple wpa_supplicant files throughout the root of the device.
Click to expand...
Click to collapse
I find it is no problem to replace my original wpa_supplicant file over these modified ones, restoring my original functionality, making nearby protected hotspots visible again...
Furthermore, this file should be going to /system/bin/ I believe?
I use ES explorer (nice) but couldn't edit either the original supplicant file, nor subsequent versions on my handset.... maybe on a pc? But - what am I looking for within the file?
What to edit?

this works on my galaxy s also

Related

Tethering the Streak to another phone...

Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
gersztoff said:
Has anyone, (thinking others who've been shutdown by AT&T), tried tethering their Streak to a phone using PdaNet, or something similar?
A friend tried with his Streak and BB (using PdaNet), but didn't have much success.
Thanks,
AG
Click to expand...
Click to collapse
i use barnacle to connect with ipad.root necessary.
i have a US streak and im having issues getting it to tether to my HTC Aria (using wireless tether). Ive tried the original rom, the O2 1.6 and 2.1 rom. But still no luck, my laptop, and 2 friends ipods will connect through the aria, but the streak doesnt even see it.. So not sure whats going on!
I have a Sprint EVO 4G that can serve as a hot spot but haven't tried it with my Streak yet. But I plan to. I bought the Streak without activating the AT&T part. Don't need two cell phones.
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Yeah Barnacle works.
gersztoff said:
Thanks all.. I know the Archos 5 (which I believe also runs 1.6) advertises the cell phone tethering capability. Anyone know what software it uses? I don't know much about that specific sofwtare, but will start researching...
Click to expand...
Click to collapse
the archos 5 will not tether if u are using adhoc. found out the hard way... (long time ago before the streak came out i thought i could use that and tether with my iphone and it didint work.. apparantally it doensnt support adhoc wifi. but bluetooth tethering worked fine on the archos 5
Maybe someone can get this to work?
Tried to connect to to my WM Omnia via WMWiFiRouter- No Dice.
tried using wpa_supplicant file attched below- i can see and connect to ad hoc network(s), but can not establish IP --> copied to /system/bin
the apk and files below look more promising but perhaps need editing by someone who actually knows what they are doing. the app installs and runs but there is a location mismatch.
then ran across this info here: http://www.slatedroid.com/pandigital-novel-android-tablet-discussion/4505-i-have-infrastructure-adhoc-working-same-time-do-you-want-look-here.html
"Okay, I'm not taking 100% credit for this because all I did was modify the work that this user did:
'Originally Posted by YasinSiddiqui
NOTE: I'm using Rogerbraun Custom ROM 5.1 on Rockchip APAD, but I don't see any reason why this shouldn't work on the PDN too.
Hi Guys,
Finally figured this out.
Since the wpa_supplicant.conf file is read-only, an Android app can't modify the file. Hence, we were having to go back to connecting the APAD to the PC and use DroidExplorer to overwrite the wpa_supplicant file everytime we wanted to enable Adhoc Wifi.
I realized that when you upload a file to the APAD using DroidExplorer, it gets write permissions
And once you have the file with write permissions, an app CAN modify the file.
So, I've created a small app for easy switching between Normal and Ad-hoc wifi modes.
Here are the steps:
1. Step removed because the files were replaced (see below!)
2. Use DroidEXplorer to copy the 3 files: wpa_supplicant.conf, wpa_supplicant.conf.adhoc and wpa_supplicant.conf.normal to /data/misc/wifi folder
3. Install AdhocAble.apk using any File Manager or even DroidExplorer
Now, start up adhoc wifi tethering on your phone (Barnacle Wifi Legacy on Android, JoikuSpot on Symbian, WMWifirouter on Windows Mobile, MyWi on IPhone etc.) and set the adhoc SSID to: adhocable with NO password.
Remember that you have to Turn wifi off and on everytime you switch modes.
For experts: How the app buttons work:
1. Switch to Ad-hoc Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.adhoc
So if you want to change the adhoc SSID or give it a password, edit the wpa_supplicant.conf.adhoc before copying it via Droidexplorer
2. Switch to Normal Wifi Mode: Overwrite wpa_supplicant.conf with wpa_supplicant.conf.normal
3. Backup Normal Settings: Overwrite wpa_supplicant.conf.normal with wpa_supplicant.conf
This allows you to avoid having to type the normal wifi passwords every time. But, remember not to use this button when you are in ad-hoc mode, otherwise you'll lose all your saved wifi passwords.
4. Do let us know: opens up an email compose window so that you can tell me whether you like the app or not. Do write your name, country and details of which devices and ROMs you have.
My modifications to these instructions are as follows:
Instead of the supplicant files supplied by the user above use mine
Also feel free to open "wpa_supplicant.conf.adhoc" and change the SSID to whatever you want, i.e. I called mine "AndroidTether"
Also I didn't bother with any security because I'm just using the access control feature on my tethering program, I'm not sure if they all have this feature but basically, my phone tells me when someone is trying to connect and asks if I want to allow the connection before the device is assigned an IP.
1. download: "wpa_supplicant_files_WORKING.zip and unzip
1.1 Open "wpa_supplicant.conf.adhoc" and edit SSID to whatever you want
2. place "wpa_supplicant.conf" , wpa_supplicant.conf.adhoc & wpa_supplicant.conf.normal into the sdk's "tool" folder (where adb.exe is)
3. download "AdhocAble_apk.zip" and unzip
4. Place "AdhocAble.apk" into the sdk's "tool" folder (where adb.exe is)
5. Open the command prompt and get to the folder where your adb.exe iscd c:/where_your_sdk_is/tools
6. enter: " adb push wpa_supplicant.conf /data/misc/wifi "
7. enter: " adb push wpa_supplicant.conf.adhoc /data/misc/wifi "
8. enter: enter: " adb push wpa_supplicant.conf.normal /data/misc/wifi "
9. check to see the files are there by entering " adb shell ls /data/misc/wifi "
10. install the apk, you can use my batch file to do this if you'd like here
11. unzip the file manager batch script and place it in the sdk's "tools" folder (where adb.exe is)
12. open the batch file (it should open a new cmd window)
13. select 2
14. select 1 (install an app)
15. it'll ask for the name of the apk. Enter " AdhocAble.apk " exactly, its case sensitive.
16. reboot the PDN
17. Start your cell phone tether and set the SSID to whatever you set in the .conf.adhoc file at the begining
18. Open up the AdhocAble app and select "backup your normal settings", this should save all of the remembered infrastructure network's SSIDs and passphrases
18.1 select Enable Adhoc, it will prompt you to make sure to turn your wifi connection off and back on.
19. Do so.
20. You should see your cell phone's SSID in the connection list (remember the SSID is hardcoded into the .conf.adhoc file so you have to set it to the same thing in the tether program or vice-versa.
21. If you don't see the tether connection enter it manually
To get back to infrastructure - simply open the app and select enable normal mode and turn the wifi off then back on again - after a short bit you should see the networks as usual. It might take a bit longer to obtain an IP, but it should work...if not reboot the PDN and try it again.
Another success - Flytouch2 / Eclair
What an adventure... I tried lots of different approaches to getting my 10" Flytouch2 running Eclair to my Moto Cliq the instructions in this thread formed a good basis for success. I had to make a few changes which I will describe.
First, I am using a rooted Moto Cliq (1.5 I think) running Barnacle to serve up Ad Hoc Wi-Fi. It worked great with my PC and iPad but I really wanted my Flytouch2 to have network access through the Cliq.
So far I have not yet been able to get the Flytouch2 to connect to my PC using ADB; this is a problem for another day. As such I was side loading until I realized that I could place APK's in Dropbox (great free app) and net-load?? them. I also had to get creative with Root Explorer and other file managers / editors to make the required changes
To accomplish this I did the following on my Flytouch2 (less the stuff that didn't work including a couple of bricking episodes)
- Rooted (permanent) painlessly using Z4Root
- Installed Root Explorer (essential for copying and renaming R/O system files)
- Installed TED to edit files
- Install ASTRO File Manager which is helpful for non root file manipulation activities
- Used Root Explorer to mark the /data/misc/wifi directory as R/W so files could be added/modified (the default is RO)
- Installed AdhocAble.apk which is nice but it turns out not really needed in my case
- Disabled Wi-Fi until done
- Installed the wpa_supplicant.conf.adhoc (after editing - attached and below)
- Renamed old wpa_supplicant.conf file as wpa_supplicant.conf.normal)
- Replaced wpa_supplicant.conf using wpa_supplicant.conf.adhoc (basically leaving backups of each in the directory)
After doing this and enabling Wi-Fi I was able to see and connect to my Cliq running Barnacle. I am also able to connect to my standard Access Point as well without any configuration change. The only issue is that I am not running any security but I think this is not a difficult update to the .conf file. I may add a second network SSID entry with a PSK and use "Wireless Tether" on my Cliq to test. For now I am just happy to connect and Barnacle allows me to screen and block all connection requests. The primary deviation from the great instructions earlier in this thread that got me up and running was the content of the wpa_supplicant.conf file. I used part of my original file and part of the file .adhoc file from earlier in this thread.
ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=system
update_config=1
eapol_version=1
ap_scan=2
network={
ssid="JJJ"
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}​
Obviously my SSID is set to JJJ (I like J's). I got my inspiration from a file I found buried in my Android file system (attached as ...notes.txt). It is not very interesting reading but it provides lots of clues and it explains the meanings of all the parameters.
So, Ad Hoc connection is possible possible on A Flytouch2 under Eclair.
Now, my rant... it is unconscionable that this is not supported natively in Android. I would speculate that this was a conscious decision by Google resulting from pressure from the big carriers. What I don't understand is how this capability is available in the iPad!? Apple would certainly bow to external pressure (witness the iPhone) from carrier relationships. They also come with $40/mo built in service... so go figure. Now I am delighted to use both my Android Tablet and my iPad with Ad Hoc WiFi served up from my Cliq on T-Mobile!
I hope my additional notes help someone else.
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
urphonesux said:
Im gonna have to look at this tomorrow and see if i can finally connect to my omnia 2 running wmwifirouter
Click to expand...
Click to collapse
Interested if it worked? please let me know what settings were needed on the Omnia/WmWiFirouter
Shadowphox said:
Im using an AT&T Streak now on dj steves froyo 1.5.1, I hotspot tether just fine to other devices.
Sent from my Dell Streak using Tapatalk
Click to expand...
Click to collapse
as a client? or you can create a network using your 3g->WiFi hotspot

[Q] Is it possible for a rooted GEN8 device to connect to an AD HOC wireless network?

Hello,
Is it possible for a rooted GEN8 device to connect to an AD HOC wireless network?
If yes, has anyone managed doing it?
Thanks
Root could open the door for trying the WPA Supplicant fix that is floating around. That fix involves editing a couple of files. Will it work?...I'm not sure.
Also, depending on the phone, you can use the 3G hotspot hack to connect you Archos. That's how I have my 101 tethered to my X.
My phone is the motorola Backflip loaded with custom rom (preclair - j-r0dd 1.3.1) which enables routing (by dedault backflip cannot route). The problem is that bluetooth tethering crashes my phone so my only solution is wifi tethering ... I dont think 3G hotspot hack will work in my phone or no ?? I am not an expert so any help is valuable for me.
thanks
I found this App it installs just fine on my a32 with an nice Ahoc setup . I am rooted on my archos and I allow it .. starts just fine looks like it is runing and working .
However I need to try and get it to connect to a Adhoc network . So I will test it tonight from my laptop and my WM phone ...
I will keep you updated ...
Here is the APK .
http://code.google.com/p/desire-adhoc/downloads/detail?name=desire-adhoc-0.0.1.apk
Update The program above did not work .. However There is a working FIX posted here I just tested it using wifirouter on my vx6800 WM phone and it works great my archos gen 8 a32 connects to AD-HOC and it's fast !
Here is the post http://forum.xda-developers.com/showthread.php?t=904291
Here is a copy of the steps by mindsurfer he posted :
Get root access:
1) Install SDE
2) Get the initramfs from this post (download the kernel+init.zip and extract it): http://forum.xda-developers.com/show...44&postcount=1
3) Replace the zImage with the new overclocked kernel
4) Boot into SDE recovery menu and copy the initramfs.cpio.gz and zImage through USB cable
5) Boot into SDE developer OS
6) You should get all your apps here and have superuser right now
Suddenly no wpa_supplicant was not working on mine, so you have to change configuration file wpa_supplicant.conf to get Adhoc:
1) get Rootexplorer
2) open root explorer and find /data/misc/wifi/wpa_supplicant.conf
Here is mine (second network is my normal router):
update_config=0
ctrl_interface=tiwlan0
ap_scan=2
network={
ssid="ardrone_108549"
key_mgmt=NONE
priority=1
mode=1
}
network={
ssid="BytecekG"
psk="PASSWORD"
key_mgmt=WPA-PSK
priority=1
}
4) overwrite wpa_supplicant.conf in Archos with new content
5) change rights to wpa_supplicant.conf to RW-RW-RW-
6) delete file tiwlan.ini
7) start drone and then wifi on Archos
When you restart you should repeat step 5 and step 6 and step 7.
__________________________________________________________
Great work !!!
The way I get my A70 to tether is as follows:
Root Android phone and flash Android 2.2 rom, which has wireless hotspot feature.
Create wireless hotspot on phone.
Tether A70 to phone wirelessly.
Never had any luck with bluetooth.
WIFI tether
I use the 3g hotspot of my HTC Legend 2.2 with my A70, and it's working great. I just had to change the user agent of the A70's browser in the settings, not to be charged by Vodaphone (SFR in France) extra connection fees.
I have the patched source files for wpa_supplicant based on the Archos Froyo source code with the fix from (i can't spell it right now, I know they/he/she wrote Barnacle Tether). I just do not have the means to compile it yet. I can post these when I get home if someone wants to compile the module. Should show adhoc networks in the list with an asterisk. The Nook Color group is using this mod.
Thanks a lot for this tethering method.
Works great on a A70it, latest 2.1.2 rom, rooted with Archangel.
I managed to have a thether connection with an LG GW620 running openetna and Barnacle Wifi Tether.
FYI enabling AdHoc in tiwlan.ini didn't work for me but this method of removing the tiwlan.ini worked like a charm.
Wireless Tether for rooted phones works in infrastructure mode. All you have to do to your tablet is connect. Just another option not mentioned.
The topic is about ad-hoc networks, let's try to stick to it.
Archos' firmware specifically disables ad-hoc networking, it seems enabling it back is as simple as editing a configuration file. So you need root (to have the right to edit that file) and you need to do it at every boot since the filesystem is read only.
At least that's what I've understood by looking on those threads.
Im trying write sh script to switch wpa_supplicant.conf files and turning wi-fi on/off.
How can i manualy with root right stop and start wi-fi?
example sh script for activate adhoc
Code:
#ifconfig wlan down ??
cp /data/misc/wifi/wpa_supplicant.conf /sdcard/wpa_supplicant.backup
cp /sdcard/wpa_supplicant_adhoc.conf /data/misc/wifi/wpa_supplicant.conf
rm /data/misc/wifi/tiwlan.ini
#ifconfig wlan up ??
do deactvate we need copy backup file back
4qu4rius said:
The topic is about ad-hoc networks, let's try to stick to it.
Click to expand...
Click to collapse
koukobin said:
My phone is the motorola Backflip loaded with custom rom (preclair - j-r0dd 1.3.1) which enables routing (by dedault backflip cannot route). The problem is that bluetooth tethering crashes my phone so my only solution is wifi tethering ... I dont think 3G hotspot hack will work in my phone or no ?? I am not an expert so any help is valuable for me.
thanks
Click to expand...
Click to collapse
I was actually trying to be helpful to the person who started this topic (which wasn't you). He did state that ANY help was valuable to him.
4qu4rius said:
It seems reading the first post of the topic is pretty often a good idea to know what the topic is about.
Click to expand...
Click to collapse
It is helpful to read ALL of the messages. As you can see from his other post, his objective is wifi tethering, and he may have been under the FALSE impression that ad-hoc networking was required for it to work.
ske714 said:
Wireless Tether for rooted phones works in infrastructure mode. All you have to do to your tablet is connect. Just another option not mentioned.
Click to expand...
Click to collapse
Only if the phone supports it. Some phones (like my Eris) do not do infrastructure, no matter which tethering app you try. Believe me, I've tried...
strongergravity said:
Only if the phone supports it. Some phones (like my Eris) do not do infrastructure, no matter which tethering app you try. Believe me, I've tried...
Click to expand...
Click to collapse
I assumed that most any phone would work in infrastructure once rooted, since that is native functionality used to connect with the phone to wireless access points. That's a bummer. Thanks for setting me straight.
In theory, at least with UrukDroid, this should be possible. I'm not home to test.
http://forum.archosfans.com/viewtopic.php?f=59&t=45943
computerfreek said:
I found this App it installs just fine on my a32 with an nice Ahoc setup . I am rooted on my archos and I allow it .. starts just fine looks like it is runing and working .
However I need to try and get it to connect to a Adhoc network . So I will test it tonight from my laptop and my WM phone ...
I will keep you updated ...
Here is the APK .
http://code.google.com/p/desire-adhoc/downloads/detail?name=desire-adhoc-0.0.1.apk
Update The program above did not work .. However There is a working FIX posted here I just tested it using wifirouter on my vx6800 WM phone and it works great my archos gen 8 a32 connects to AD-HOC and it's fast !
Here is the post http://forum.xda-developers.com/showthread.php?t=904291
Here is a copy of the steps by mindsurfer he posted :
Get root access:
1) Install SDE
2) Get the initramfs from this post (download the kernel+init.zip and extract it): http://forum.xda-developers.com/show...44&postcount=1
3) Replace the zImage with the new overclocked kernel
4) Boot into SDE recovery menu and copy the initramfs.cpio.gz and zImage through USB cable
5) Boot into SDE developer OS
6) You should get all your apps here and have superuser right now
Suddenly no wpa_supplicant was not working on mine, so you have to change configuration file wpa_supplicant.conf to get Adhoc:
1) get Rootexplorer
2) open root explorer and find /data/misc/wifi/wpa_supplicant.conf
Here is mine (second network is my normal router):
update_config=0
ctrl_interface=tiwlan0
ap_scan=2
network={
ssid="ardrone_108549"
key_mgmt=NONE
priority=1
mode=1
}
network={
ssid="BytecekG"
psk="PASSWORD"
key_mgmt=WPA-PSK
priority=1
}
4) overwrite wpa_supplicant.conf in Archos with new content
5) change rights to wpa_supplicant.conf to RW-RW-RW-
6) delete file tiwlan.ini
7) start drone and then wifi on Archos
When you restart you should repeat step 5 and step 6 and step 7.
__________________________________________________________
Great work !!!
Click to expand...
Click to collapse
beware, after reboot, you'll encounter problem connecting back to your normal wifi network again. There's a way to fix this by changing the permission of wpa_supplicant.conf after every reboot. This is gonna be a manual and painful process

[Q] Working Ad-Hoc for Gingerbread 2.3.4 - is it possible that nobody can solve it?!

Dear friends,
I have searched tens of forums and googled requested for a days,
but I didn't have chance that find any answer
And it seems that nobody speak so much about that problem here,
people are in race for newer and newer firmwares,
is it possible that nobody can't find the way to solve that problem and succeed to modify wpa_supplicant to work on new Gingerbread 2.3.4?
I can't belive that I have 500€ phone witout possibility to use ad-hoc WiFi at my home
Download this file - http://www.mediafire.com/?ap3alfyf2asu1ca
Disable the wifi...Copy-paste the file in system/bin using root explorer... reboot the phone...done, your phone running KG1 can connect to ad-hoc networks
oops.. i just tried on KG1. Didn't connect to an adhoc network setup with WEP.
I even set the properties of the file like:-
owner: Root Group: shell along with proper file permissions.
Still no working.
Huh, god knows, maybe it depends of type of installed ROM.
Galaxy S2, Lightning ROM 2.2, rooted, exchanged downloaded wpa-supplicant with original without changing any owner properties using Root Explorer and Mount R/W and R/O option,
and - it works, after reboot, sure.
I heard that gingerbread 2.3.x does not support ad-hoc wifi but froyo 2.2.x supports it!!!!
There is a file in the sticky thread. wtf it works fine. Im using it on M250S - 2.3.4
delete the file first ,than paste the new file back ,reboot
guys, is there any conclusion from this thread? i'm getting desperate too
chemychemy said:
guys, is there any conclusion from this thread? i'm getting desperate too
Click to expand...
Click to collapse
This is the conslusion-
Use this file- http://forum.xda-developers.com/showpost.php?p=15773095&postcount=44
Working on stock KG3, Litening(all versions),Villain(all versions), others i didn't test...
I tested using Bzeek wifi hotspot creator on windows Vista, if you can't connect to WEP, try Bzeek, its open network but password is needed to use it
I have the LG Optimus 3D and I wanted to use my old WinMo phone as an ad-hoc server. I searched a lot and finally found the solution:
First of all you need a rooted device.
Go to Market and install "ZT-180 Adhoc Switcher". Run this program everytime you want to connect to ad-hoc.
The device acting as server needs to have its SSID to "AndroidTether" and require no password.
Don't forget to revert back to "infrastructure" mode after ending your session otherwise you won't be able to connect to normal hotspots.
There is no guarantee that this will work on all devices. Just try and see...

EVO View refuses to detect my HTC TP2 router, any help would be great!

My phone were able to connect to sprint to and is ready to accept connections but my EVO VIEW did not detect it. I have no problem detecting my home wifi but not my TP2 using Energy rom.
Any help would be great. I have not update the rom on this View.
ohh man i was having the same problem, and after searching for close to 2 hours i found how to make it work. unfortunately i didnt save any of the links, but i can tell u what to look for.
1. first thing is your evo view needs to be rooted.
2. need to download root explorer, paid app, or es file explorer and manually set it to have root access.
3. then u need to do a search for adhoc or wpa supplicant, which is the file u would get from the adhoc search.
4. turn off wifi.
5. go to system\bin folder and save your old wpa supplicant file. people recommend renaming it as wpa supplicant.old.
6. paste new wpa supplicant file in the system\bin folder.
7. configure permissions for new file.
8. i reset the device but i didnt see anything that said it was necessary.
for some reason the flyer/view does not have permission to connect to adhoc which is what the tp2 tether works as.
rotor nuts said:
ohh man i was having the same problem, and after searching for close to 2 hours i found how to make it work. unfortunately i didnt save any of the links, but i can tell u what to look for.
1. first thing is your evo view needs to be rooted.
2. need to download root explorer, paid app, or es file explorer and manually set it to have root access.
3. then u need to do a search for adhoc or wpa supplicant, which is the file u would get from the adhoc search.
4. turn off wifi.
5. go to system\bin folder and save your old wpa supplicant file. people recommend renaming it as wpa supplicant.old.
6. paste new wpa supplicant file in the system\bin folder.
7. configure permissions for new file.
8. i reset the device but i didnt see anything that said it was necessary.
for some reason the flyer/view does not have permission to connect to adhoc which is what the tp2 tether works as.
Click to expand...
Click to collapse
How do I root the View? Thanks for the help.
sprintsero said:
How do I root the View? Thanks for the help.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1194709
I just did it. However your View must be the correct software and hboot versions.
The Stock ROM will not see Ad-Hoc WiFi points, and the NRG ROM will force reboot if one tries to set it up that way. I gave up on changing NRG and just rooted my tablet.
BTW no need to reset the device as a last step, just stop and restart the WiFi.
stevedebi said:
http://forum.xda-developers.com/showthread.php?t=1194709
I just did it. However your View must be the correct software and hboot versions.
The Stock ROM will not see Ad-Hoc WiFi points, and the NRG ROM will force reboot if one tries to set it up that way. I gave up on changing NRG and just rooted my tablet.
BTW no need to reset the device as a last step, just stop and restart the WiFi.
Click to expand...
Click to collapse
I did read thru the steps, where do I download the drivers? Desktop or the View?
HTC View version 1.13.0000
sprintsero said:
I did read thru the steps, where do I download the drivers? Desktop or the View?
HTC View version 1.13.0000
Click to expand...
Click to collapse
You click on the links in the instructions and your browser downloads the files.
Sent from my HTC HD2 using xda premium
stevedebi said:
http://forum.xda-developers.com/showthread.php?t=1194709
I just did it. However your View must be the correct software and hboot versions.
The Stock ROM will not see Ad-Hoc WiFi points, and the NRG ROM will force reboot if one tries to set it up that way. I gave up on changing NRG and just rooted my tablet.
BTW no need to reset the device as a last step, just stop and restart the WiFi.
Click to expand...
Click to collapse
true. plus i used wrong wordage. it should be reboot instead of reset. definitely dont want to reset.lol

[GUIDE] WIFI revere TETHER over Ad-hoc for WINDOWS and UBUNTU

This guide teaches you to reverse tether your Android phone via WiFi. That is, it allows you to use your Ethernet connection of PC on your Android phone. It is useful for those who do not have WiFi routers and data connection. So if you have unlimited data plan for your computer, why not share the connection with your phone?
I am not the developer of the files supplied
Requirements:-
1.Rooted Phone
2.Wifi enabled Laptop or PC
3.Root explorer or any other application which gives system access
4.File in the attachement
Procedure :-
Phone:
Download Wpa_supplicant.zip and extract "wpa_supplicant" from it, save it on your SD card.
Open Root Explorer, and grant it superuser access when asked for.
Navigate to system -> bin and long press on wpa_supplicant; Select copy, and paste the file into any folder on your SD card.
Now navigate to the file you downloaded, copy it in same way, and paste it back to system -> bin. Note, you might need to mount the system as R/W instead of R/O by pressing a button on the top just before pasting the file.
Reboot.
▬▬Ubuntu (Must work for other Linux Distros too)▬▬:
Open Network Connections
Goto Wireless tab, select add, and set the following:
SSID: <Any_name_you_like>
Mode: Ad hoc
Leave other things unchanged, and go to Ipv4 settings tab
Set method to Shared to other computers
Go to Wireless security tab and set Security to WEP 40/128 bit key and set key to a numeric password (or hexadecimal one).
Check the connect automatically box on top of the tabs and press Save.
Your Android phone must now detect this network, and you can establish the connection by using your security key.
▬▬Windows XP, Vista, 7▬▬
Download and Install Connectify from www . connectify.me/download-lite/
Start Connectify Hotspot by giving a name and password to your hotspot and selecting the Ethernet connection to share. Make sure the security type is WEP or Open.
Disable your firewall (Simply adding it to exceptions doesn't work for AVG at least)
Now your phone should be able to see the hotspot and establish the connection using the password set.
Known Issues :
1.Random disconnections (Very less frequency)
2.Disconnections due to screen lock / sleep on laptop
3.For me Security mode does not works
HIT THANKS IF IT WORKED
ENJOY
For windows, "virtual wifi router" -> Download is free, and imho better..
Do not download the installer version though
it doesn't work, my wifi is broken. When i turn it on, it does nothing, no scanning for network whatsoever and after a few second it turns off by it self. please help..
imkid5359 said:
it doesn't work, my wifi is broken. When i turn it on, it does nothing, no scanning for network whatsoever and after a few second it turns off by it self. please help..
Click to expand...
Click to collapse
I tried it ....It WORKS...may b yu wuld hav bricked your phone deleting sm files...thats y its always adviced to do a backup!
HitMaN/ said:
I tried it ....It WORKS...may b yu wuld hav bricked your phone deleting sm files...thats y its always adviced to do a backup!
Click to expand...
Click to collapse
i think the problem is "wpa_supplicant" file. i moved my backup "wpa_supplicant" back to system/bin and now wifi works fine..
There is a much simpler way to reverse tether. Just search for the app in the play store. It's name is “reverse tether" it costs $4.99 but there's a trial version for testing purposes.
Samson1433 said:
There is a much simpler way to reverse tether. Just search for the app in the play store. It's name is “reverse tether" it costs $4.99 but there's a trial version for testing purposes.
Click to expand...
Click to collapse
please read the thread before you post. That app works only on usb connection. and the op is discussing wireless tether. i don't think anybody would like to spend 5 dollars and then be physically tethered to the pc.
Also, this sites name is xda-developers, we are here to develop and find solutions. If you just wanted to buy 5 dollar apps, then why visit here?
so other people can get it to work? i wonder why doesn't it work for me, tried it again but still facing the same problem, i'm on arconium gb 8.2 and doom kernel v22 :/
HitMaN/
u r attaching the binary file
i tried this several times with several file source ALWAYS FAIL(i didn't try yours)
maybe the the wpa_supplicant.conf file , that located in /etc/wifi/
or the other one located in /data/misc/wifi
r regenerating the binary file the wrong way so it overwritten
is it possible to attach above mention file so we can follow same
NOTE:THIS FILE CONTAIN UR WIRELESS NETWORK PASSWORDS U CAN REPLACE IT WITH *****
Why not just use connectify?
Sent from my LT18i using Tapatalk 2
imkid5359 said:
it doesn't work, my wifi is broken. When i turn it on, it does nothing, no scanning for network whatsoever and after a few second it turns off by it self. please help..
Click to expand...
Click to collapse
it happened with me too . Then i delete the file which i paste it and return the original one to let my wireless work again . Any help
can be used in 4.0.4?
Why not just use connectify?<br />
<br />
Sent from my LT18i using Tapatalk 2
Click to expand...
Click to collapse
Im traveling a lot an on the beginning I'm use connectify also but after a couple of updates it doesn't runner well anymore!!!!!
Then I'm switching to #Virtual Wi-Fi Router# ( to use on W7)
It runns well.
But I'm.never installed everything different on my phone???? Try it first without any change................
Sent from my LT18i using xda premium

Categories

Resources