[Q] VPN doesn't allow access to internet - Samsung Galaxy 5 I5500

I have a problem with VPN. Read a lot around, learned that I can't use PPTP in i5500 ('cause of a bug in Gingerbread, they say), but instead should use only L2TP. (I found nothing said about OpenVPN, so I guessed I could try it as well, since there's already the option of it in the menu.) Well, now I managed to configure my VPNs and managed to create connections to some services. OpenVPN vpns just disconnect when applied. While L2TP vpns connect OK (and stay connected until I disconnect them), but I can't use internet at all, regardless of what app I'm using. Any idea why this happens? Is it my phone, or is it a VPN issue of Gingerbread? I'm using the latest stable CM7.2RC3+ v2.8 ROM release.
Does anybody has any solution or any outside link related to this issue?

Related

[Q] Anyone get VPN Connections to work?

Hey guys,
I have been keeping my eyes out for the tun.ko module to come out in one of the kernels, and it finally did in the 1.76 GHz kernel. I had to reinstall VPN connections after flashing the kernel, and then VPN connections would tell me that my VPN was connected properly. However, I can't get data to pass through the VPN. No pings to the remote end, no RDP, nothing.
Anybody else get this working?
Thanks,
Seth
I thought I set up my VPN wrong >_> Well that explains it! Thanks! Same issue. I have however been able to see my phone in my router, though I can't do anything with it there in or out.
This sounds like the same issue I was having with openvpn (I assume that's what you're referring to since you're talking about the tun module). I'm running Das BAMF 1.3.2, and tun is already built into the kernel. I'm having the same problem. The VPN connects, no errors at all, even ran it in the terminal so I could see all of OpenVPN's connection output. But data is not routed through the tunnel. WhatIsMyIP still reports my Verizon IP address.
Now, on two occasions I have had success. I was able to connect and disconnect my VPN all I wanted and everything worked. However this only lasted for the current phone 'life cycle', ie it failed again after the next reboot. I can't find a pattern or anything, it seems that it will randomly work after a reboot, but not that often... 1 out of 10 maybe? I didn't waste my time trying to nail down a ghost.
I think I solved the OpenVPN problem. There's an option in OpenVPN settings called 'Fix HTC Routes'. If you check it, you can get the link to view the issue tracker. Essentially it deletes a few routing tables after OpenVPN starts up. For some reason, it doesn't seem to work on the Thunderbolt. Perhaps that option is using a deprecated script command (ip ru del route)? Whatever the reason, the fix is simple. After connecting to OpenVPN, open a terminal and issue the following commands:
Code:
ip ru del table gprs
ip ru del table wifi
Ignore any errors you might get if the routing table doesn't exist. I don't think you need SU, and you can use GScript Lite to make the process easier on you.
I'll give this a shot with VPN Connections when I get a chance and report back. If anybody else has any success, please post here.
I have had better success, but it's not right yet for me. I am able to get some data to flow using RDP, Telnet, etc., but nothing actually works completely right.
When telnetting into routers, I am not able to actually authenticate. however, I CAN finally see the prompts.
When using RDP, it doesn't time out any more, but I don't get any video data back to my phone's screen. No login page, etc.
Those two commands also seem to time out eventually. I need to reenter them to get the data flowing again, it seems.
Anybody else have better results?
Seth
Well, without knowing which VPN you're using, I can't say. But it does seem to work with openvpn and the OpenVPN Settings market app (I have my own install of openvpn, so I don't use the related OpenVPN Installer app).
The routing tables gprs/wifi are automatically recreated when those connections are re-established. Meaning, if you are on VPN via wifi, and wifi disconnects/reconnects, then the wifi routing table is recreated. The same goes for gprs if you lose connection and it is reestablished. I don't know what the system might try to do using the built in VPN connections.
Sorry about that, the lack of info wasn't very helpful.
I'm trying to connect to my Cisco VPN. We are using group authentication as well as user authentication. The outside device is a 2811 router, and if there are any other specifics that might help, I'd be happy to provide it.
Thanks,
Seth

Cisco VPN

I have gone through the steps in the development post for [Module] tun.ko for stock 2.6.32.9 (for openvpn/vpnc/etc), http://forum.xda-developers.com/showthread.php?t=1013513. I am still unable to connect to my companies Cisco VPN router. I have rooted my Atrix and confirmed that tun.ko is running. Every time I try VPN Connections, it will not connect with no response after an attempt. I have also tried VPNC Widget which tells me "0:unexpected operatorError: root access missing! Waringin:'Advanced Routing' feature missing - VPN Conectivity might be lost after a while"
VPN access is all I am missing to get RDP working, at least I hope as I can use it on my home domain with my Windows server.
I am somewhat new to Android devices, other than tinkering with my old AT&T Tilt with Android 2.2 on NAND. Any help to resolve is much appreciated.
I am still unable to connect through my company's VPN. I have found out that we use a Cisco 3000 Concentrator. If anyone else has had luck with this model, I would like to hear about it.
I had a lot of issues getting mine to work too..
After hours of hunting and lots of logcats later I figured out VPNConnections is very picky about your busybox version. Something to do with the output of the ps command.
Check this thread (Mostly my last two posts on page 5): http://forum.xda-developers.com/showthread.php?p=13859822
Cliff Notes version:
I got it working with VPN Connections .6, Busybox 1.17.1, and the tun.ko posted by rozzco in that thread.
BB 1.17.1 is available from Stericsons BB installer under alternate versions.
If you need the APK for it or the VPN app lemme know and I'll post it.
FWIW, I never got VPNC widget to work. I had your same error,
I tried your suggestions, using the specific versions. Still no luck. Look at logcat, it appears to attempt to connect but ultimately finishes with "process stderr: no response from target".
scoob8000 do you know what VPN device through which you are connecting? I don't know if it is a issue with the Cisco VPN 3000 Concentrator we are using. There was a mention of retiring the device, but they do not know when or with what it will be replaced.
Did you try this one?
http://code.google.com/p/get-a-robot-vpnc/
That is the VPN Connections app scoob8000 has mentioned.
rgbaxter said:
I tried your suggestions, using the specific versions. Still no luck. Look at logcat, it appears to attempt to connect but ultimately finishes with "process stderr: no response from target".
scoob8000 do you know what VPN device through which you are connecting? I don't know if it is a issue with the Cisco VPN 3000 Concentrator we are using. There was a mention of retiring the device, but they do not know when or with what it will be replaced.
Click to expand...
Click to collapse
From memory I think it's juist a old 26xx series router.. (Don't quote me on this lol)
It almost sounds like your at least hitting the network. Can anyone try to see your attempted connections on the concentrator?
Working IPSEC VPN Client for Cisco VPN Concentrator
I know this is an old thread, but thought I would post an update anyway.
I recently started looking for a VPN client I could use with our Cisco VPM Concentrator, and ran across the one mentioned in this topic, VPN Connections. I installed it from the same link also posted by lhurtado earlier.
I think this may be a newer version than what was available at that time, though. Either way, I've got it working without any issues, and I'm able to VPN into my network, and use RDP without any issues.
I did try this on a non-rooted Asus Transformer TF-101, and it did not work. I only got a "Failed to Connect" message in VPN Connections. I'll have to see if I can find the logcat mentioned previously for any information on why it is failing, but I'm guessing the stock Kernel/ROM does not have tun.ko.
Here's the specs on what I've got:
Acer Iconia A500 (rooted), custom ROM (Taboonay 2.2) and Kernel (HoneyVillain 3.4)
BusyBox 1.19.2
VPN Connections 0.99
2X Client
Cisco VPN Concentrator 3005
Hope this helps someone else who is looking for a VPN client that works with the Cisco VPN Concentrators.
As long as your kernel support tap/tun configs, you can use the VPN Widget. I use it with our cisco equipment at the hospital I work for. It works like a champ! You will need to get your information to get it to work properly but its the only one I have found so far to work out of the box (with the proper kernel).
As for the OP, being this is an old thread I sure he gave up- however if he was trying to RDP using the hostname, that is not possible (without hackery). Always use your IP until we have CIFS support. NetBIOS name are not resolved on a linux platform without it. I use RDP/VNC with my VPN over 4G almost daily.
Beating a dead horse
OK...First off, thank you to everyone for looking into this.
I'm a Network Engineer that has the pleasure of supporting a Cisco 3030 VPN Concentrator from the stone age. For those with Iphones we just give the Facutly/Staff the IPSEC/PSK and use the native VPN client and all is well.
The Androids (which I'm a die hard fan of) don't work....UNTIL version 4.0.x arrived.
There is an app called VPNCILLA (or for those rooted VPN WIDGET) that works with the old style concentrators. VPNCILLA has a 10 day trial, but afterward is a $4.95 one time fee.
They both work flawlessly and are easily setup.
Just wanted to pass the word in case the one person in the world out there is still trying to get it to work (like me).
Thanks
Shayne

Barnacle Wifi Tether - PPTP

I'm currently using the new 2.3.4 leaked moto rom from Kenneth Penn's post. I also use Barnacle quite regularly for tethering. When attempting to connect directly from the phone to our PPTP VPN, I successfully connect, but a bunch of protocols are rejected and the connection is pretty much useless.
However, when I tether and connect to the VPN via wifi, I'm not even able to connect. Is this a known issue with Barnacle/Android or the Atrix specifically? Are there other apps that people have found that circumvent these issues?
I've seen some posts that explain you can modify the ppp0 routing tables and some people are using the Android Tether app. But before I dig too deep into those ventures, I'm curious if someone else has already found a decent solution.
Thanks!!
I'm having the same issue with the wired tether app. It worked just fine on froyo but now it doesn't on GB. My computer recognizes the connection to the device but my phone doesn't seem to recognize my computer. Therefore I get no connection between my phone and the computer for the usb tethering to occur.
The issue I posted originally is specific to a PPTP VPN connection. Are you connecting to a VPN? If not, you may be better off creating a new topic as your issue may be replied to more quickly.
shaunole said:
The issue I posted originally is specific to a PPTP VPN connection. Are you connecting to a VPN? If not, you may be better off creating a new topic as your issue may be replied to more quickly.
Click to expand...
Click to collapse
Oh I see. Thanks

[Q] X10 WB 2.3.3 rev4.04 Wi-Fi not connecting to hidden SSIDs

Background:
ROM Used - Wolfs TW Gingerbread | Unlock the full Performance | get 4.0.4 now: http://forum.xda-developers.com/showthread.php?t=1192988
Also used 4.0.4 Stock update
Addons Used - Sony Home Launcher v2.0.A.0.22
http://www.mediafire.com/?4khhnle8lyysp
All files and updates sucessfull. No errors.
Problem:
Wi-Fi only connects to SSIDs that are visible. When using 2.1, there was no problem connecting to a hidden SSID. I'd rather not have to down grade to 2.1, but I'd rather that than leaving my SSID visible. I'm using a D-Link DIR-655 with WPA2 AES encryption.
I haven't been able to find this specific problem in the forums so I'm hoping someone can help. How do I correct this problem?
I hate bumping this but this problem is hard to find a solution for.
So I found an app that enables you to connect to hidden wi-fi. It's called HiddenSSID Enabler in the Android Market.
(I don't have enough posts to post the link.)
The problem seems to stem from this post in Google Code. It's been an apparent problem since around 2008.
(Issue #1041 in the Android Google Code page.)
Enable connection to hidden SSID:
1. Download/install above mentioned app.
2. Make sure your Wi-Fi connection is currently visible and you are connected to it.
3. Open HiddenSSID Enabler.
4a. Enter the name of your SSID.
4b. It will appear as if nothing has changed or been done. Don't worry, this is supposed to happen.
5. Disable Wi-Fi on your phone.
6. Go to your Wi-Fi AP or Router and make your SSID hidden/invisible.
7. Enable Wi-Fi on your phone and it should connect.
8. Wipe hands on pants, enjoy favourite beverage.

[Q] OpenVPN Routing Problem

Hello
I have installed OpenVPN and its logging on to the vpn and is visible on the network list BUT I dont get any connection to another client in the vpn. I tried to ping another client from my SGS2 and from a client to the SGS2 but its always a timeout. I tried it with the phone and serveral wireless networks.
So I think it could be a routing issue but I dont have a clue how to see if thats really the problem and if its true how to fix it. I read some other posts and maybe it could also be a tun.ko problem but the SGS2 with 2.3.3 should already have installed it on the software, so I'm not sure how to see if thats ok. The Busybox is installed at /system/xbin. So does anybody have an idea how to find out whats actually the problem and how to fix this?
Thanks for your help!
Manolo
It's not clear to me if you tried connecting through your mobile data plan. Did you also tried that?
What is the IP that you are getting when your are connected to the VPN?
If it something like 192.168.1.* Then that's could be your problem. If the WIFI your are on, also gives you an ip adress as 192.168.1.* then that causes the problem. Either change the ip range of your network to 192.168.10* (just an example) or the ip range of you VPN.
ps can you post your VPN server settings?
Do you mean my own ip or the ip that i have in the vpn?
my own edge telekom ip is 10.219.127.35 and my internal vpn ip is 10.10.0.22
I can't post my vpn server settings because i got some key files for the vpn.
If you have installed installed this .zip
http://forum.xda-developers.com/showthread.php?p=16182571#post16182571
Then all you need to do is download openvpn settings from the market. And run in.
If you already did these steps, then the problem lies probably with your server and I need the server config. I don't need the keys of course
Thx!
How does this update work? I see no instructions on the post. Is it just to copy on the root folder?
Ah yes... I found how it goes and its working perfectly!
Thx a lot!

Categories

Resources