Finally found a Solution for OPENVPN!! - HTC Desire S

After Weeks of googling this problem, I finally found a solution posted on the google help site.
the problem is that the VPN says "connected" but when you try to browse, there is no network activity or traffic.
Solution: Just type this on the terminal
mv /system/bin/ip /system/bin/ip.bay
Hope that helps

It didn't work for me.

Related

WIFI Tether not working..

Guys, apologies if this has been posted before but couldn't find it.
I've rooted my phone with JF RC9, but for some reason I can't use the wifi tether (one of my main reasons for rooting in the first place). So far as I can tell, I have root (in that I can su in a terminal) and my pc can see the ssid of the phone and connects quite happily but I don't get internet access for some reason - am I missing something really obvious or have others encountered this before?
Hi!
I assume you are using "Wifi Tether for Root Users" ...
If yes please make sure that you are using the lastest Version (0.97.1) which is available here:
http://code.google.com/p/android-wifi-tether/downloads/list
(0.97.1 fixes some cupcake-related issues)
You say that you see that your client is able to connect ... right?
Please check the following:
1) What ip-address do you got from the phone?
(For Windows): Open command-prompt and type "ipconfig"
You should got an ip-address like: 192.168.2.100 (maybe 101, 102, ... at the end).
2) Are you abel to ping the standard-gateway?
type: ping 192.168.2.254
You client must support ad-hoc mode - otherwise it won't work.
Please check and report back.
Man, have I been dense. After spending a couple of weeks, scouring forums, taking the classic I.T. approach of 'turn off, wait, turn on again', I've figured it out...
I'd set up a static i.p. on my pc a long time ago so was still trying to make it through the router...
doh!
Thanks for your reply though harry_m, it was your comment around pinging the i.p. address tat jogged my memory! works like a charm now

Problem with GPRS in India

I hail from Karnataka, India and I own an HTC P3350 since 8 months. There is a problem with GPRS for HTC in India (some compatibility issue between HTC and network providers in India, I heard.) The GPRS never works but yet i get charged for the kb i download and it even shows up on the SPB GPRS Monitor. That's really ridiculous.
Does anyone else face the same problem? Or is it just a problem with my handset? If its a common prob, does anyone have any solution to it??
Would appreciate any inputs..
Thanks in advance..
alphaditya said:
I hail from Karnataka, India and I own an HTC P3350 since 8 months. There is a problem with GPRS for HTC in India (some compatibility issue between HTC and network providers in India, I heard.) The GPRS never works but yet i get charged for the kb i download and it even shows up on the SPB GPRS Monitor. That's really ridiculous.
Does anyone else face the same problem? Or is it just a problem with my handset? If its a common prob, does anyone have any solution to it??
Would appreciate any inputs..
Thanks in advance..
Click to expand...
Click to collapse
You "Heard" wrong.
it would be best if you would describe your problem in detail.
My exact simple problem is that the GPRS just wont connect. When i start something like internet explorer, it attempts to connect and ends up with the error message 'Cannot connect with current connection settings. To change your connection settings, tap Settings.' I tapped Settings and tapped everything i could! But the result is the same.IT NEVER CONNECTS!
My network is Vodafone. I tried searching xda forums and came up with these threads -
http://forum.xda-developers.com/archive/index.php/t-219533.html
http://forum.xda-developers.com/showthread.php?t=435353
http://forum.xda-developers.com/archive/index.php/t-292997.html
http://forum.xda-developers.com/showthread.php?p=3689945
http://forum.xda-developers.com/archive/index.php/t-284209.html
Everyone seems to be having the same problem but the solutions offered are only for Airtel Live. I have Vodafone. Can you suggest some settings/reg changes/ANYTHING to make GPRS work on my cell phone. I tried changing the portal name, etc which was mentioned in above linked threads. But none were for any use.
Would appreciate any insight...
alphaditya said:
My exact simple problem is that the GPRS just wont connect. When i start something like internet explorer, it attempts to connect and ends up with the error message 'Cannot connect with current connection settings. To change your connection settings, tap Settings.' I tapped Settings and tapped everything i could! But the result is the same.IT NEVER CONNECTS!
My network is Vodafone. I tried searching xda forums and came up with these threads -
http://forum.xda-developers.com/archive/index.php/t-219533.html
http://forum.xda-developers.com/showthread.php?t=435353
http://forum.xda-developers.com/archive/index.php/t-292997.html
http://forum.xda-developers.com/showthread.php?p=3689945
http://forum.xda-developers.com/archive/index.php/t-284209.html
Everyone seems to be having the same problem but the solutions offered are only for Airtel Live. I have Vodafone. Can you suggest some settings/reg changes/ANYTHING to make GPRS work on my cell phone. I tried changing the portal name, etc which was mentioned in above linked threads. But none were for any use.
Would appreciate any insight...
Click to expand...
Click to collapse
Sorry, But you have failed to mention Which WM version you are on.
i'll Assume you are on 6.0 and above and try to help you.
You will have to follow the steps in the Airtel Live Thread to Configure your settings.
(Proxy Setting)
IMPORTANT- After you configure your proxy settings you will NOT be able to use Internet through WIFI untill you delete the Proxy Server.
In Settings > Connection > Advanced Setting you will see an option similar to "When an application request to connect to internet, use this" change it to the second option, after this you might have to reconfigure your "Vodafone GPRS" Settings. (Sorry for being so vague, but i dont use my WinMo phone anymore, however these are the Settings i needed to change to Use GPRS on it.
Even after doing this, not all applications will work.
Poke around, and if you are still getting stuck somewhere, i'll charge my phone and give you the exact procedure.
thanks so much.. i'll try it out n get back.. btw ya my version is 6.0..

wifi turns off in 10 secs

Today I turned on my phone's wireless and I noticed it turned off quickly. I thought it was odd so I turned it on again...same thing occurred. The third time I went into settings > wireless and network > wi-fi settings and enabled the wi-fi card from there. It shows it's scanning and then displays "unable to scan networks" along with turning off the wireless card. What the crap?!
I've rebooted the phone a couple of times - still nothing. I'm going to try removing the battery for 10-15 mins and try it again but I don't imagine that's going to fix anything. A quick google search has shown only a couple other people with a captivate are having this problem as well. I have to imagine there are more out there? Anyone have a clue. I'm really trying to avoid flashing back to stock.
Thanks in advance.
Did you go through the process of enabling Non-Market apps directly on the phone (editing settings.db) ?
If so, did you follow the chmod/chown commands?
max_warheads said:
Did you go through the process of enabling Non-Market apps directly on the phone (editing settings.db) ?
If so, did you follow the chmod/chown commands?
Click to expand...
Click to collapse
How would that affect WiFi??
If the system does not have proper write access to the file, and then a program says to the settings provider "turn on wifi", but the provider is not able to save that setting, it will later turn around and say "yeah... thats not supposed to be on." Which happens to coincide with an approximately 10 second window.
max_warheads said:
Did you go through the process of enabling Non-Market apps directly on the phone (editing settings.db) ?
If so, did you follow the chmod/chown commands?
Click to expand...
Click to collapse
Thanks for your help. However I did not edit settings.db. I've only rooted the phone. Haven't done any other manual edits to the system.
The only relevant thing I can think of that might be useful information is yesterday morning I installed wi-fi analyzer from the market on my phone. I'm 99% sure that my wi-fi was working after I installed it but then later in the day the problem started. Last night I un-installed wi-fi analyzer just to be safe.
Could this program have made some edits to Android that is causing the problem?
I found a similar problem in a google code forum from 2008. Individuals were using a G1 and had the same problem. They mentioned that it appears as if the wi-fi driver would load but then wouldn't be able to recognize the wireless card.
Hopefully some useful information to someone. Thanks again guys for taking a look.
sola fide said:
I found a similar problem in a google code forum from 2008. Individuals were using a G1 and had the same problem. They mentioned that it appears as if the wi-fi driver would load but then wouldn't be able to recognize the wireless card.
Hopefully some useful information to someone. Thanks again guys for taking a look.
Click to expand...
Click to collapse
Ran into the same issue, my issue was solved by fixing permissions as mentioned in the previous reply. How did you root your phone?
div3rg3nt said:
Ran into the same issue, my issue was solved by fixing permissions as mentioned in the previous reply. How did you root your phone?
Click to expand...
Click to collapse
Rooted the phone by using the update.zip file from the "Pimp My Captivate" thread.
How could I edit the permissions for the file to see if this remedy's the problem? I already have Terminal Emulator on my phone but I'm brand new to linux commands.
open Terminal Emulator and follow along
Code:
$ su
# cd /dbdata/databases/com.android.providers.settings/
# ls -l settings.db
You should see :
Code:
-rw-rw---- system system <snip> settings.db
max_warheads said:
open Terminal Emulator and follow along
Code:
$ su
# cd /dbdata/databases/com.android.providers.settings/
# ls -l settings.db
You should see :
Code:
-rw-rw---- system system <snip> settings.db
Click to expand...
Click to collapse
Ran the code you gave and it returned what you wrote above:
Code:
-rw-rw---- system system <snip> settings.db
I take it this means that settings.db is already set as writeable which means it's not my problem?
Yuppers... :/
Thanks for trying max.
What about the wireless config file? If this was messed up could it cause it the wireless card to act up like this? Could I simply delete this file and android would recreate it when I turned on the wireless card? Along with - where is it on the captivate?
Just a thought, my knowledge in this field is pretty low.
bumping this thread
Update: A factory reset fixed the problem. However when I restored from a Titanium backup the wireless immediately stopped working. Obviously there is something in the software/files that are corrupt causing this problem.
Anyone have any ideas of which file to attack?
BUMP
I am having this problem too. It is very annoying and I don't want to reflash the rom again. Has anyone else had this problem (and fixed it)?
americanbordercollie said:
BUMP
I am having this problem too. It is very annoying and I don't want to reflash the rom again. Has anyone else had this problem (and fixed it)?
Click to expand...
Click to collapse
ABC: Is there anything you installed before the problem happened that you think might be causing it? I'm guessing since you said "again" that this is the 2nd time or more you'll be flashing your phone if we don't find a fix.
I had to flash it with Odin because my phone bricked two weeks ago trying to enable non-market apps. I don't want to go through that process again.
I didn't install anything except the WiFinder app. It stopped working after a coworker asked me to turn on my wifi to test an app he got for his phone that turns it into a WiFi hotspot through its 3G data connection. The test was unsuccessful anyway, but that is irrelevant.
I had the problem of wifi not being able to scan for devices after 10 sec. This problem was only on my wifi at work.
I set the IP address, IP mack, gateway address and DNS servers statically and saved the config. This got me connected to the wifi at work. You could try this.
Just changed permissions on settings.db and now wifi seems to be working flawlessly without a need for static config.
americanbordercollie said:
I had to flash it with Odin because my phone bricked two weeks ago trying to enable non-market apps. I don't want to go through that process again.
I didn't install anything except the WiFinder app. It stopped working after a coworker asked me to turn on my wifi to test an app he got for his phone that turns it into a WiFi hotspot through its 3G data connection. The test was unsuccessful anyway, but that is irrelevant.
Click to expand...
Click to collapse
I'm curious if WiFinder altered a file that is causing the problem. Mine came just 30 minutes after installing Wifi Analyzer. Just hunch since both programs use the wireless card.
santblue said:
I had the problem of wifi not being able to scan for devices after 10 sec. This problem was only on my wifi at work.
I set the IP address, IP mack, gateway address and DNS servers statically and saved the config. This got me connected to the wifi at work. You could try this.
Just changed permissions on settings.db and now wifi seems to be working flawlessly without a need for static config.
Click to expand...
Click to collapse
It sounds like the same problem I had but I wasn't able to connect anywhere - At either one of my offices or at home. I tried to add in manual settings in the Android menu but it still didn't help.
I'll try messing with the settings.db file if this happens again and report back. I'm crossing my fingers that I never have this problem again but you never know. Hopefully we can get a couple of known working solutions posted on here since it sounds like there are plenty of people out there having this problem.

May be off-topic: No connection in Emulator

Hi,
I'm posting this here because I know that at least some of you use the Android Emulator.
I am running into a problem with Emulator, where when it starts, it is showing no connection (no bars). I've run into this before, and in the past, the only thing that I've been able to do is to create a new emulator and start from scratch.
I've searched and searched for a solution, and it seems like this is a fairly common problem, but I haven't found a real solution to getting the connection in the emulator working again.
So, I was wondering: For those of you who do use the emulator, have you found a way to re-enable the connection in the emulator when it starts and doesn't have a connection?
Thanks,
Jim

Disable New WiFi Feature in Android 5.1.1

Hello Everyone,
I recently upgraded to CM 12.1 and discovered that my WiFi won't automatically connect to my router anymore if it doesn't detect access to the internet (I'm in China and Google is Blocked). I believe this explains why this is happening as there is internet and having to manually connect each time is annoying at least Is there a way to disable this "new feature" ?
Regards,
Bob
In Settings, got to WiFi, press the menu button in the top right and there should be an Advanced settings section or something similar (sometimes varies based on ROM/Language). Then untick the Avoid poor connection option. This should resolve your problem. If not, you may not have the correct firmware for 5.1.1
I already have Avoid poor connections unchecked. Any other way to fix this?
Does anyone have any ideas? Any help would be appreciated. Thanks
Try disable mobile data before connect to wifi, maybe this way should help
Sent from my A0001 using Tapatalk
viper134 said:
Hello Everyone,
I recently upgraded to CM 12.1 and discovered that my WiFi won't automatically connect to my router anymore if it doesn't detect access to the internet (I'm in China and Google is Blocked). I believe this explains why this is happening as there is internet and having to manually connect each time is annoying at least Is there a way to disable this "new feature" ?
Regards,
Bob
Click to expand...
Click to collapse
I have the EXACT same problem - it really does happen because you're in China and the method of internet access testing is through Google servers blocked in here.
I'm still trying to figure out how to disable the test or maybe reroute the destination.
It would definitely be a temporary solution to make the VPN active 24/7 if you put it on the router instead of on the phone / computer etc.
Let us know if you find a solution!
Itai
this was a very popular and general problem for every Chinese user with google service device.
you have to root your phone and manually change the google server address to a local substitute site, or just turn off the google server detect.
the easiest way is to use an APK developed by Chinese to have all these things done in a click.
search NoExclamation Portal Server 1.5
+1
syzkk said:
this was a very popular and general problem for every Chinese user with google service device. you have to root your phone and manually change the google server address to a local substitute site, or just turn off the google server detect. the easiest way is to use an APK developed by Chinese to have all these things done in a click. search NoExclamation Portal Server 1.5
Click to expand...
Click to collapse
came here with a google search. this problem is generic to later android versions. i'm on cyanogenmod 12.1 which is i gather is android 5.1.
looking at DNS logs, it tries to access: http://connectivitycheck.android.com - which redirects to google and fails as it's blocked by the GFW.
just downloading the chinese apk to fix it... the link to it i found is: http://m.hiapphere.com/apk-org.foxteam.noisyfox.noexclamation
EDIT: so now got noexclamation the app running, but not sure it's doing anything. UI is in chinese, not sure what options to deal with and how. anyone have success with it?
EDIT2: it's like this: install the app. leave it at defaults where it's using the developers website for connectivity check. toggle it ON if it's not already (i believe needs root). reset network settings by toggling airline mode ON/OFFl. you're good.
however - conceptually better fix would is to take the "feature" OUT, not alter the server that it's checking the accessibility of. from the chinese thread, i gather this will get done by:
su
settings put global captive_portal_detection_enabled 0
this seems to survive reboot as well. problem solved, end of monologue!

Categories

Resources