Galaxy Ace WiFi problem... NEED HELP - Galaxy Ace S5830 Q&A, Help & Troubleshooting

Need help with my wifi, on my galaxy ace running CM7.2 with kernel ect that came with CM7.2. the problem is definitely software, to do with the wpa_supplicant file in /data/misc/wifi. The logcat displayed to me at any attempt to enable wifi is something like "permission to access wpa_supplicant.conf not granted" not in those exact words but you get the idea. my point is proven: when i manually change the permissions (to being more loose) using my filemanager (the app doesnt matter) to change it to rwx-rwx-rwx, the wifi will work FOR ONLY THAT ENABLE ie when i turn it off then on again, my same old error message pops up. If you need any more info or the exact logcat output please just ask.
THANKS IN ADVANCE

Related

Adhoc for nexus one?

Is there a way to get tHe nexus one to be able to latch onto adhoc networks? As it stands my n1 isn't even reading the SSID, does anyone have a solution to this?
http://android.modaco.com/content/g...-com/300596/nexus-one-connect-to-ad-hoc-wifi/
Read the post about wpa_supplicant.conf modification.
You can also edit /system/etc/wpa_supplicant.conf and change "ap_scan=2" there.
You can also try running Cyanogen.
Thanks for that. I'm running froyo right now so no cyangen for now. How exactly do i edit those files? It didn't exactly explain that...
Rooted? Otherwise you won't be able to do anything.
adb remount
adb pull /system/etc/wpa_supplicant.conf wpa_supplicant.conf
edit wpa_supplicant.conf with whatever text editor on PC, change ap_scan value.
adb push wpa_supplicant.conf /system/etc/wpa_supplicant.conf
If anything is unclear - I suggest you not to try. No responsibility, etc.
I tried using adb anditdidnt work for me.
Didn't work - how? What was the error and when?
It says that the file i am trying to pull doesn't exist.
Sorry, my bad. It's /system/etc/wifi/wpa_supplicant.conf
To make sure, do adb shell /system/etc/wifi/ and make sure that it's there.
I've tried this again and again and again but still no success.. wonder if ever anyone successfully connect to adhoc network on froyo...
I have tryed on my Nexus one and Failed.
I have added "ap_scan=2" in the beginning. "mode=1" on required network section.
What I have noticed, that any time you add|delete|modify any network in Settings->Wifi Settinings ..... line with "ap_scan" is removed.

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 ?

[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

[Q] Can't access network share - FIXED

I'm trying to access a network share on a Win7 machine on my home network.
I was able to access it a couple of days ago but I'm now receiving an error that says:
java.lang.RuntimeException: Plain text passwords are disabled
I'm using Astro when I get this error.
I've tried using ES File Explorer but it fails to load the network share too.
I tried finding this error on this forum and on the web but can't find anything that seems related. Can anyone offer any help?
If it helps I'm using stock JVU.
Okay, problem fixed...
I uninstalled/reinstalled Astro and can now access my shares again
Real fix for problem:
1. Reboot to CWM.
2. Go to Advanced -> Fix permissions.
3. Reboot to Android, problem gone.
legiong said:
Real fix for problem:
1. Reboot to CWM.
2. Go to Advanced -> Fix permissions.
3. Reboot to Android, problem gone.
Click to expand...
Click to collapse
I'm not rooted, and I experience this same problem from time to time accessing a Windows 7 share in ES File Explorer on my Nexus 7 2013 edition. A reboot of the PC seems to fix it, but I'd prefer not to have to resort to it.
That's weird, I haven't had this problem for a really long time.
Sorry I can't help with it.
Plain text passwords are disabled
legiong said:
I'm trying to access a network share on a Win7 machine on my home network.
I was able to access it a couple of days ago but I'm now receiving an error that says:
java.lang.RuntimeException: Plain text passwords are disabled
I'm using Astro when I get this error.
I've tried using ES File Explorer but it fails to load the network share too.
I tried finding this error on this forum and on the web but can't find anything that seems related. Can anyone offer any help?
Click to expand...
Click to collapse
================================
That message indicates a permissions problem on the target Windows computer.
1. Make sure the folder/file is actually shared (Check in the computer management console)
2. Make sure you have give explicit permissions to access it. Even if only one folder does not have the permissions, you will still get the message.In the shares section of the management console double click the desired share and check the permissions. Add your (login) ID to the permissions tab if necessary and tick the appropriate boxes.
tsberry said:
================================
That message indicates a permissions problem on the target Windows computer.
1. Make sure the folder/file is actually shared (Check in the computer management console)
2. Make sure you have give explicit permissions to access it. Even if only one folder does not have the permissions, you will still get the message.In the shares section of the management console double click the desired share and check the permissions. Add your (login) ID to the permissions tab if necessary and tick the appropriate boxes.
Click to expand...
Click to collapse
Nah it was a permissions problem in Android.
Refer to my post three above yours where I posted how I fixed the problem.
Hello, just to add a bit of info here. I got the same error on 3 different Android devices simultaneously, so I figured fixing permissions on all of them won't work. What worked is restarting Server service on my Windows 7 x64 to which they tried to access. I also found info that this problem shows up periodically, so maybe setting up a Scheduled Task which will restart this service from time to time would also be beneficial.
mirdza said:
Hello, just to add a bit of info here. I got the same error on 3 different Android devices simultaneously, so I figured fixing permissions on all of them won't work. What worked is restarting Server service on my Windows 7 x64 to which they tried to access. I also found info that this problem shows up periodically, so maybe setting up a Scheduled Task which will restart this service from time to time would also be beneficial.
Click to expand...
Click to collapse
I had to do the same thing. Very annoying. Other computers work fine, just Android stops.
I finally found the permanent solution.
Set the following registry key to ’1′:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache
and set the following registry key to ’3′:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size
http://www.ghisler.ch/board/viewtopic.php?t=36603
http://stackoverflow.com/questions/9317300/jcifs-smbexception
https://social.technet.microsoft.co...ol-because-the-server?forum=w7itpronetworking

SM-N900A Note 3 wifi issue wpa_supplicant corrupted?

I'm hoping someone can help me. If your familiar with the wpa_supplicant file getting corrupted and sticking in "turning on". The only fix I've found was renaming, deleting the file and rebooting which would create a new one. Well that worked for a while but I've botched something. Even after a factory reset on the phone it doesn't change my system/etc/wifi directory & wifi won't turn on.. There are two files that begin with wpa_supplicant (overlay & .conf).. I just can't get it to work and hoped maybe someone has access to those files & I could get working or blank copies? . Any help would be appreciated
Sent from my SAMSUNG-SM-N900A using Tapatalk
stinkeye22 said:
I'm hoping someone can help me. If your familiar with the wpa_supplicant file getting corrupted and sticking in "turning on". The only fix I've found was renaming, deleting the file and rebooting which would create a new one. Well that worked for a while but I've botched something. Even after a factory reset on the phone it doesn't change my system/etc/wifi directory & wifi won't turn on.. There are two files that begin with wpa_supplicant (overlay & .conf).. I just can't get it to work and hoped maybe someone has access to those files & I could get working or blank copies? . Any help would be appreciated
Sent from my SAMSUNG-SM-N900A using Tapatalk
Click to expand...
Click to collapse
Here you go make sure to set the permissions of the files to match the others before you reboot. There should also be a wpa_supplicant.conf file in
Code:
/data/misc/wifi
...that's literally all I know about wifi though so hopefully that's what you're looking for!
stinkeye22 said:
I'm hoping someone can help me. If your familiar with the wpa_supplicant file getting corrupted and sticking in "turning on". The only fix I've found was renaming, deleting the file and rebooting which would create a new one. Well that worked for a while but I've botched something. Even after a factory reset on the phone it doesn't change my system/etc/wifi directory & wifi won't turn on.. There are two files that begin with wpa_supplicant (overlay & .conf).. I just can't get it to work and hoped maybe someone has access to those files & I could get working or blank copies? . Any help would be appreciated
Sent from my SAMSUNG-SM-N900A using Tapatalk
Click to expand...
Click to collapse
That file starting causing a problem for me after the 4.2.2 update during tethering. Barnacle Wifi Tether app has a setting "Skip wpa_supplicant". Checking that is the only way I can tether, don't know if that will help in your case or not.
Known issue? Note 3 wifi turning on indifinetly
So this is a known issue?
I also am getting the wifi issue on my note 3, I can lso repair it for a while if I delete the wpa_supplicient.conf file and reboot.
But I have to do this quite regularly...this is not cool
Did you find a long term solution?

Categories

Resources