Adhoc support: Need wpa_supplicant binary for s5830i - Galaxy Ace S5830i General

Hi all,
I am trying to get ace s5830i connected to a wifi ad hoc network. I tired downloading many modified version of wpa_supplicant binaries from xda.
None of them seem to be working on this device .
At terminal emulator (before replacing the binary), if I do
$wpa_supplicant -version
0.6.x..
I am on stock rom, with root enabled. Can someone please post wpa_supplicant binary?(patched binary which is able to connect Adhoc)?

Here is it, but it's buggy you have to disable and renable to connect.
Just rename your original wpa_supplicant copy this one and do the permissions like the original one.

Styrke said:
Here is it, but it's buggy you have to disable and renable to connect.
Just rename your original wpa_supplicant copy this one and do the permissions like the original one.
Click to expand...
Click to collapse
Thanks Bro! :good: Its working.. little buggy though..
I will replace it with this version whenever I need adhoc access.. little painful but I'm ok with this..
Thanks!!

Related

OPEN VPN

Has anyone managed to get Open VPN working on a Galaxy S? I have a SPICA on which it is working but I cant find a TUN.KO that works on the Galaxy S. Thanks
Also trying to find a proper TUN.KO for the Galaxy S.
No luck so far.
Read here: http://android.modaco.com/content-page/291919/openvpn-on-android/page/20/
None of the methods described for other phones worked for Samsung Galaxy S. I tried with several tun.ko and all where giving me "format errors" as the kernel was not matching.
Last resort, I compile it myself from Samsung I9000 kernel sources.
Tested it and worked. I know have OpenVPN in Galaxy S (I9000)!
I attach the tun.ko file. I hope other guys out there with I9000 can use it.
Excellent. Will give it a go. Which ROM are you running?
I'm currently running I9000BGF1, I will be soon upgrading to new Firmware.
Kernel Version: 2.6.29 [email protected] #2
Hi Chafw,
Can you talk me through where you put the tun.ko, and where you put your OpenVPN files in the directories? I'm getting no where fast on this!
Thanks
SA
Hi mittu1,
I believe you are already root and busybox/openvpn installed.
I used the same link that tids2k wrote above to setup the whole thing up.
I used openvpn-settings application for starting up openvpn configurations.
In openvpn-settings you can define where the tun.ko driver is located.
Anyway, the simplest thing to do firdst to test whether the tun.ko works for you is to
load it by hand using a root shell:
insmod <path to tun.ko>
I have it installed in /system/lib/modules/tun.ko.
Hope this helps.
The tun.ko is ok, it loads nicely. Many many many thanks !!!
In the "OpenVpn Settings" app, my connection ask me for a password, I see "auth", then nothing, I fall back in front of the "select to turn on OpenVPN tunnel" button.
I have tried with stock libcrypto.so and libssl.so, and then with those from openvpn-binary.zip at hxxp://sourceforge.net/projects/tunneldroid/files/
The OpenVPN app still don't want to establish the connection... In no ways... And no log message in dmesg at all (neither for tun)
So it's enough for this night, but if someone have an idea, you are (really) welcome !!!
Does the module have to match the kernel version exactly? Running european JM2,
kernel is 2.6.29 [email protected]3#2
PS. 1st Post
Do you copy tun.ko in the /lib/modules folder ? or in a new freshly created folder /system/lib/modules (as said on modaco guide) ?
On my system (XXJF3 / XXJF3 / XAJF3), I have no /system/lib/modules folder, and every time a mount in rw my /, then write tun.ko to /lib/modules, then remount in readonly, and then reboot the phone, the tun.ko file disappear...
Do I miss something ? Does the / mount point isn't a real partition ???
thnks in advance
@ Anduru:
No, don't think that is necessary but I'm also quite new to Android.
@raphman:
I created a new folder /system/lib/modules. I didn't have the directory either.
Anyway the OpenVpn-settings applications allow to define the location of the tun.ko. Haven't tried but I believe you could put it anywhere in the system.
Also, make sure the ifconfig and route commands are available and properly linked.
@chafw
thanks for your reply
meanwhile i just tried my luck and it worked.
Guys,
I'm glad it's working but I haven't managed it yet!!
I'm using the I9000XWJM2 rom, rooted! I've downloaded the tun.ko file, the open VPN Setting file off the market, and Open VPN installer. I've got the certs and config files.
Can some one please guide me through installation to get it up and running OR did people use the following link instructions
http://android.modaco.com/content/software/291919/openvpn-on-android/
Would really appreciate someone's help here.
Chaf, many thanks, but in fact, my installation was ok, it was a password problem... Arrrrgggggg !!!!!!!
So now I connect fine to my OpenVpn server, but I cannot reach any server withour using the "Fix DNS" problem.... Strange, because using the connection on my pc automacillay get the DNS given by the vpn....
Many thanks !!!
@raphman:
The DNS is a known issue in Android as OpenVPN uses update-resolv
hook scripts to update the resolv.conf configuration with the passed DNS parameters.
However, this does not work yet with in Android and Openvpn-settings.
You can either use fix-dns or add your hosts in the /etc/hosts file if they are
a limited number.
@mittu1:
Yes, that's the guide.
liblzo
I have got to the stage where my openvpn connection is started but no traffic is being passed through the tunnel. Checking around it seems that I am missing the liblzo.so file that handles compression. Can any of you guys post a working liblzo.so or confirm that your configuration does/doesn't use this file? Thanks.
mittu1 said:
I have got to the stage where my openvpn connection is started but no traffic is being passed through the tunnel. Checking around it seems that I am missing the liblzo.so file that handles compression. Can any of you guys post a working liblzo.so or confirm that your configuration does/doesn't use this file? Thanks.
Click to expand...
Click to collapse
take it here and 1st step is SAVE your old files somewhere !!!
hxxp://sourceforge.net/projects/tunneldroid/files/openvpn-binary.zip/download
then cp in /system/lib and chmod 755. That's ok on my i9000.
hi,
It didn't work! Still same problem. Any other suggestions?
chafw said:
None of the methods described for other phones worked for Samsung Galaxy S. I tried with several tun.ko and all where giving me "format errors" as the kernel was not matching.
Last resort, I compile it myself from Samsung I9000 kernel sources.
Tested it and worked. I know have OpenVPN in Galaxy S (I9000)!
I attach the tun.ko file. I hope other guys out there with I9000 can use it.
Click to expand...
Click to collapse
I tried the tun.ko and it works! Unfortunately my (Endian) firewall can only use a tap device, and apparently both ends have to match. I get the connection, but the the device and IP are never setup. Any chance you can either compile the tap device like you did the tun, or give me the steps so I can do it myself ?

[Q] Connecting Galaxy tab to Ad hoc Network?

Anyone been able to apply a method for connecting a Galaxy tab to a ad hoc wifi network?
I've rooted my tab and poked around for the various fixes but can't get anything to work. I tried the compiled Froyo fix for this but it throws an error when I try to flash the fix using Rom Manager: "failed to verify whole-file signature".
Will this patch need to be resigned for the tab? I'll admit I'm new to the Android world and I'm hoping there's an easy fix for this.
i also want to know how to connect to an ad hoc network. Please help us.
I tether mine using wireless tether on my dinc you just need to enable access control and it will work.
By wireless tether, you mean Bluetooth? What do you mean by "enable access control"?
I have a rooted droid incredible I use "wireless tether" from the market. When you open the app hit menu then access control and just hit enable.
Nope...had me going for a minute though. Funny though,my girlfriends DX can see my ad-hoc tether from my d1?
I would also like to know...
ad-hoc on Galaxy Tab
Having the Galaxy Tab recognize/connect to ad-hoc wireless network is critical for me. Anyone have the answer??
Verizon galaxy tab ad hoc working
After rooting my tab I found this link on the forums: forum.xda-developers.com/showpost.php?p=7711198&postcount=6
Grabbing the wpa_supicant file from there all I did was use root explorer, which can be found in the android market, to back up my existing wpa_supplicant found in the
/system/bin/ directory at the bottom. Then I copied the newly downloaded file
(after extracting it) and placed it in the above mentioned directory. You will have to press
The r/w button at the top of root explorer in order to enable read write permissions in
/system/bin . I tested this with the wireless tether on my droid original and it works
as advertised.
I am not the one who created this solution nor am I the one who compiled wpa_supplicant
All credit goes to the original author of the solution. I merely wish to convey to you that this solution worked for me. I hope this helps.
*It is important to note th at this was done using a rooted verizon galaxy tab. You will
Have to be at least rooted for this solution to have any chance of working. I used z4root
in order to root my device which can be found by searching these forums or the android market and again I dont claim any credit or participation in the creation of that app.
Posted from my Samxung Galaxy Tab
Esxna said:
After rooting my tab I found this link on the forums: forum.xda-developers.com/showpost.php?p=7711198&postcount=6
Grabbing the wpa_supicant file from there all I did was use root explorer, which can be found in the android market, to back up my existing wpa_supplicant found in the
/system/bin/ directory at the bottom. Then I copied the newly downloaded file
(after extracting it) and placed it in the above mentioned directory. You will have to press
The r/w button at the top of root explorer in order to enable read write permissions in
/system/bin . I tested this with the wireless tether on my droid original and it works
as advertised.
I am not the one who created this solution nor am I the one who compiled wpa_supplicant
All credit goes to the original author of the solution. I merely wish to convey to you that this solution worked for me. I hope this helps.
*It is important to note th at this was done using a rooted verizon galaxy tab. You will
Have to be at least rooted for this solution to have any chance of working. I used z4root
in order to root my device which can be found by searching these forums or the android market and again I dont claim any credit or participation in the creation of that app.
Posted from my Samxung Galaxy Tab
Click to expand...
Click to collapse
I wish someone would do a step by step for dummies on how to do this. Thanks!
Esxna said:
After rooting my tab I found this link on the forums: forum.xda-developers.com/showpost.php?p=7711198&postcount=6
Grabbing the wpa_supicant file from there all I did was use root explorer, which can be found in the android market, to back up my existing wpa_supplicant found in the
/system/bin/ directory at the bottom. Then I copied the newly downloaded file
(after extracting it) and placed it in the above mentioned directory. You will have to press
The r/w button at the top of root explorer in order to enable read write permissions in
/system/bin . I tested this with the wireless tether on my droid original and it works
as advertised.
I am not the one who created this solution nor am I the one who compiled wpa_supplicant
All credit goes to the original author of the solution. I merely wish to convey to you that this solution worked for me. I hope this helps.
*It is important to note th at this was done using a rooted verizon galaxy tab. You will
Have to be at least rooted for this solution to have any chance of working. I used z4root
in order to root my device which can be found by searching these forums or the android market and again I dont claim any credit or participation in the creation of that app.
Posted from my Samxung Galaxy Tab
Click to expand...
Click to collapse
awesome. anyone else get this to work this one with incredible? it should be the same i would guess.
thx for this, Esxna
its working for me.
bye
mach330 said:
awesome. anyone else get this to work this one with incredible? it should be the same i would guess.
Click to expand...
Click to collapse
Yea, you're changing a file on the tab, so as long as you can tether with your inc, you'll be good. This definitely works and is incredibly simple, I'm tethered right now off my droid x.
Sent from my Galaxy Tab using Tapatalk
No luck on rooted tmobile galaxy tab
Maybe this is a total noob problem but, I rooted my tab, followed the instructions and nada. The file says it copied but the date of the file did not change. I refreshed and checked again. I tried to see if the tab would now see my wifi tether from my droid1. No go. My laptop and ipod see the droid wifi but not the galaxy. Any ideas?
joecpu said:
Maybe this is a total noob problem but, I rooted my tab, followed the instructions and nada. The file says it copied but the date of the file did not change. I refreshed and checked again.
Click to expand...
Click to collapse
i had this issue with RootExplorer 2.12.2. After updating to 2.12.4 it now works.
joecpu said:
Maybe this is a total noob problem but, I rooted my tab, followed the instructions and nada. The file says it copied but the date of the file did not change. I refreshed and checked again. I tried to see if the tab would now see my wifi tether from my droid1. No go. My laptop and ipod see the droid wifi but not the galaxy. Any ideas?
Click to expand...
Click to collapse
Assuming u backed up the original file first to ur sdcard, I actually deleted the one in
/system/bin then copied the modified file there afterward in order to make sure it was replaced and to avoid overwrite issues like that. Give that a try?
And dont forget to mount the folder in "r/w"
Sent from my GT-P1000 using XDA App
This worked great for me. Had to use adb shell and some command line tricks but got the new wpa_supplicant copied and can now use the wifi tether on my phone for internet. Good times.
Thanks!
Esxna said:
After rooting my tab I found this link on the forums: forum.xda-developers.com/showpost.php?p=7711198&postcount=6
Grabbing the wpa_supicant file from there all I did was use root explorer, which can be found in the android market, to back up my existing wpa_supplicant found in the
/system/bin/ directory at the bottom. Then I copied the newly downloaded file
(after extracting it) and placed it in the above mentioned directory. You will have to press
The r/w button at the top of root explorer in order to enable read write permissions in
/system/bin . I tested this with the wireless tether on my droid original and it works
as advertised.
I am not the one who created this solution nor am I the one who compiled wpa_supplicant
All credit goes to the original author of the solution. I merely wish to convey to you that this solution worked for me. I hope this helps.
*It is important to note th at this was done using a rooted verizon galaxy tab. You will
Have to be at least rooted for this solution to have any chance of working. I used z4root
in order to root my device which can be found by searching these forums or the android market and again I dont claim any credit or participation in the creation of that app.
Posted from my Samxung Galaxy Tab
Click to expand...
Click to collapse
Thanks, this worked great.
kkrammer said:
i had this issue with RootExplorer 2.12.2. After updating to 2.12.4 it now works.
Click to expand...
Click to collapse
Right on the money! As soon as I updated Root Explorer, bada bing Baby!
Thanks for the help!

Adhoc Wifi Working on Lg Optimus 2X !

Hey there,
Since Android isnt compatible with Adhoc, I was searching for a way to Make it work.
My NExus one, was up and running with Adhoc! (And Flying my Ardrone!) So..
I found a way to make it work!
Follow the following instructions and Enjoy!!
The way I installed is :
- RootExplorer (requires rooted device)
- Go to /system/bin/
- Tap R/W at the top so it becomes R/O
- rename existing wpa_supplicant in /system/bin/ to wpa_supplicant.old
- paste new wpa_supplicant
- start and restart wifi
If you prefer to use adb, this command should do it :
adb push wpa_supplicant /system/bin/
Download the 'wpa_supplicant' file from this Threat!
http://forum.xda-developers.com/showpost.php?p=7711198&postcount=6
Just wanted to share this with you!
Greetzz
WyCkson
works great! my drone and me are happy
thanks a lot
thomas
unable to get ip? how to fix it?
whats that? what does adhoc do?
emprize said:
whats that? what does adhoc do?
Click to expand...
Click to collapse
Adhoc means connect to your computer in peer to peer mode. Use your computer / laptop as the bridge to access internet.
Thank u!
Sent from my LG-P990 using Tapatalk
keep on disconnect, not working
Ad Hoc sucks, if you just want to surf use a VIRTUAL ROUTER
SOLUTION:
___________________________________________________________________
Try freeware software Virtual Router,
or if you want to do it old school via command prompt in Win 7 try see this link:
itgeekdiary.com/windows-7-as-an-wi-fi-access-point/comment-page-1
___________________________________________________________________
Surfing on Optimus without any hassle, very happy!!
More wpa_supplicant files
Hey there,
Ive tried 3 types of the wpa_supplicant files.
The one I linked is the One which worked for me, but its possible that another one is working for you!
You can all find them on the XDAforum.
Good luck!
Greetzz
WyCkson
tank you for the frenchies. Nice jobs
I have posted here
http://forum.frandroid.com/topic/60074-tuto-partage-de-connexion-wifi/
No Thx!
Hey There!
No thx! Hope it will be usefull!
Greetzz..
WyCkson
it's not working for my LG 2x!
Try to connect my Android to my Macbook via Internet Sharing...
any help?
Hello ,,
I am having LG optimus 2x mobile, i want to connect my mobile to ad-hoc n/w of my pc.
I have replace that " wpa_supplicant " file. but nw my wifi nt able to start.it giving error. and can u tell me solution for this.
and other 1 what is that push adb and how to do that....???
plz help me
Thanks
parag
Wow! It would be AWESOME if someone would try this out on the LG Optimus One P500.
this error is because of the permissions... check the permissions of wpa_supplicant. it's a program, beside permission to read and write, its necessary permission to execute... use 777, that is, rwx-rwx-rwx
parag_250 said:
Hello ,,
I am having LG optimus 2x mobile, i want to connect my mobile to ad-hoc n/w of my pc.
I have replace that " wpa_supplicant " file. but nw my wifi nt able to start.it giving error. and can u tell me solution for this.
and other 1 what is that push adb and how to do that....???
plz help me
Thanks
parag
Click to expand...
Click to collapse
Can someone edit wpa_supplicant for ParanoidAndroid v2.6 ?
many thanks
sorry for my english.

[DEV] Edited build.prop crashes network connection

Hello Guys,
I want to edit the ro.romname Part in the buil.prop file.
When I pull the File via adb to the computer and edit the Romname to what I want and save it and push it back to the Phone it has no network connection after reboot. And there are some other issues too.
I tried it with RootExplorer too, but the same problems.
What is my problem or what I´am doing wrong?
Has anyone sucsessfully edited the build.prop ?
Please help me!
Thanks
Can nobody help me ?
I've had the same problem as well, I think there's some code that checks the build name and then disables the radio if it has been changed.
Imperticus said:
I've had the same problem as well, I think there's some code that checks the build name and then disables the radio if it has been changed.
Click to expand...
Click to collapse
Yes I think so, but I couldn´t find something that checks the name. I hope someone can help us.
It´s good to hear that I´am not the only one who has this broblem
I tested what else happens when I change this code:
- Android Market is deleted
- All apps which need a internet connection crash at start
- google accounts are deleted from phone
- network connection is disabled
But my quiestion is now whick .apk or File could cause this problems ?
can someone upload the build.prop for me? would like one from android 2.3.4 thanks
the permissions has to be set!
only change name of rom. "ro.modversion="
is your ROM CM7 based? If so, as already mentioned, there is functionality that shuts off the radio once the ROM Version was changed to prevent KANGing the releases without crediting them

Ad-Hoc with HC S7 4 G?

Can someone who has upgraded their 4G to HC please tell me if it will support Ad-hoc WiFi connections?
Sent from my Dell Streak 7 using xda premium
I had to root it and with Root Explorer change out the wpa-supplicant file... if you are asking about Ad-Hoc I am taking for granted you have heard about this fix for the Streaks... If not just do a little searching for the file...
Once you have it, you go to /system/bin and find the original and rename it to *.bak or *.old, doesn't matter, just something so you don't lose it in case.
You should have your new wpa_supplicant file on your sd card... move it to that same folder, toggle your wifi off and on a couple of times and reboot... and when you come back you should be able to see ad hoc networks
cdzo72 said:
I had to root it and with Root Explorer change out the wpa-supplicant file... if you are asking about Ad-Hoc I am taking for granted you have heard about this fix for the Streaks... If not just do a little searching for the file...
Once you have it, you go to /system/bin and find the original and rename it to *.bak or *.old, doesn't matter, just something so you don't lose it in case.
You should have your new wpa_supplicant file on your sd card... move it to that same folder, toggle your wifi off and on a couple of times and reboot... and when you come back you should be able to see ad hoc networks
Click to expand...
Click to collapse
Yes I had heard of the wpa file. I just didn't know if it worked for HC. Thanks.
Sent from my Dell Streak 7 using xda premium
cdzo72 said:
I had to root it and with Root Explorer change out the wpa-supplicant file... if you are asking about Ad-Hoc I am taking for granted you have heard about this fix for the Streaks... If not just do a little searching for the file...
Once you have it, you go to /system/bin and find the original and rename it to *.bak or *.old, doesn't matter, just something so you don't lose it in case.
You should have your new wpa_supplicant file on your sd card... move it to that same folder, toggle your wifi off and on a couple of times and reboot... and when you come back you should be able to see ad hoc networks
Click to expand...
Click to collapse
cdzo72, please help me. I follow the steps by OP and when I try to access wifi I get a error and can't connect. Any ideas what I am doing wrong?
yep11111 said:
cdzo72, please help me. I follow the steps by OP and when I try to access wifi I get a error and can't connect. Any ideas what I am doing wrong?
Click to expand...
Click to collapse
You are unable to connect to your Ad Hoc network?
Little more info please... does your Streak see the network? If it sees the network and is not connecting, then it's more than likely a problem with your computer and not the phone...
I always set mine up with a simple name like Toshiba which is my laptop brand and I just leave it as an open network because I only use it for a moment so I don't have to put in a password... but still, gimme some more info on what your phone is doing while it tries to connect
cdzo72 said:
You are unable to connect to your Ad Hoc network?
Little more info please... does your Streak see the network? If it sees the network and is not connecting, then it's more than likely a problem with your computer and not the phone...
I always set mine up with a simple name like Toshiba which is my laptop brand and I just leave it as an open network because I only use it for a moment so I don't have to put in a password... but still, gimme some more info on what your phone is doing while it tries to connect
Click to expand...
Click to collapse
I mean when I do the trick, I can't connect to wifi period. I get a error turning on wifi.
yep11111 said:
I mean when I do the trick, I can't connect to wifi period. I get a error turning on wifi.
Click to expand...
Click to collapse
Ah ok... so lemme be sure you did this right... you went into /system/bin and found your wpa-supplicant file and renamed it say wpa-supplicant.bak just in case (at least I hope you did) Ok, now you should already have the new file you downloaded on your sd card correct. SO you browse to that file and copy it to the same folder /system/bin and paste it in there...
Then go to your wifi and toggle on and off a couple of times, reboot the phone for good measure and when you come back it should work, if NOT, then rename the new file to wpa-suplicant.new I guess, and the original file, remove the .bak or whatever extension you used and restart your Streak to see if you get connectivity back, if so, then there's something wrong with the file you downloaded
cdzo72 said:
Ah ok... so lemme be sure you did this right... you went into /system/bin and found your wpa-supplicant file and renamed it say wpa-supplicant.bak just in case (at least I hope you did) Ok, now you should already have the new file you downloaded on your sd card correct. SO you browse to that file and copy it to the same folder /system/bin and paste it in there...
Then go to your wifi and toggle on and off a couple of times, reboot the phone for good measure and when you come back it should work, if NOT, then rename the new file to wpa-suplicant.new I guess, and the original file, remove the .bak or whatever extension you used and restart your Streak to see if you get connectivity back, if so, then there's something wrong with the file you downloaded
Click to expand...
Click to collapse
I still get error, did you use this file in this post: http://forum.xda-developers.com/showthread.php?t=970219
What your file name for original and new?
hmmm, I can't remember where I got it but I'm sure it's the same file, you need to make sure you change the file permissions I guess is the only thing I forgot to mention
cdzo72 said:
hmmm, I can't remember where I got it but I'm sure it's the same file, you need to make sure you change the file permissions I guess is the only thing I forgot to mention
Click to expand...
Click to collapse
You never guess how dumb I am, I forgot to unzip the file. OMG
aw man really, so you were putting the whole zip file in the /system/bin?
Well I hope you get it goin!! See it's usually the little things like that that wreak havoc.
YES, it works! I think you helped me realize to unzip the file. Thanks so much!
Ok, I just upgraded to HC on my Streak 7 Wifi. I went and changed the supplicant file like I did on 2.2.2. My Streak connects, but when I connect to the internet I loose connection. Are there any other workarounds for connecting to adhoc wifi?
tcfiero said:
Ok, I just upgraded to HC on my Streak 7 Wifi. I went and changed the supplicant file like I did on 2.2.2. My Streak connects, but when I connect to the internet I loose connection. Are there any other workarounds for connecting to adhoc wifi?
Click to expand...
Click to collapse
Not that I know of, but I haven't heard of your problem either, with the file changed out my wifi works just fine
Dell Streak 7 WiFi Rooted - Honeycomb - I also changed my WPA Supplicant and WiFi did not work right either. I had to go back to the original file.

Categories

Resources