bigsml / get-a-robot-vpnc

Automatically exported from code.google.com/p/get-a-robot-vpnc
0 stars 0 forks source link

latest cyanogen (4.0.4), latest g-a-r-v (09), connects, up in netstat, can't ping sites #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install, configure server, connect

I am using a secureid, so i have the password blank, it prompts me when
connecting, and it DOES appear to connect. IS this a known issue related to
rsa key password, or latest cyanogen issue, or ?

# netcfg
lo       UP    127.0.0.1       255.0.0.0       0x00000049
rmnet0   DOWN  0.0.0.0         0.0.0.0         0x00001002
rmnet1   DOWN  0.0.0.0         0.0.0.0         0x00001002
rmnet2   DOWN  0.0.0.0         0.0.0.0         0x00001002
usb0     DOWN  0.0.0.0         0.0.0.0         0x00001002
tiwlan0  UP    192.168.1.110   255.255.255.0   0x00001043
tun0     UP    147.11.233.22   255.255.255.255 0x000010d1
# ping google.com
^C

Original issue reported on code.google.com by klier...@gmail.com on 3 Sep 2009 at 5:52

GoogleCodeExporter commented 9 years ago
I don't have wifi access today but I'm running cyanogen 4.0.4 myself and have 
an RSA
key for my VPN... I just tried on my data connection and it worked fine. I was 
still
able to ping non-VPN sites as well as VPN ones.

1- Can you try on your data connection as well?
2- Did things work for you with the same VPN server before?

Original comment by babak.mozaffari on 3 Sep 2009 at 5:16

GoogleCodeExporter commented 9 years ago
1- by data connection, you mean over the air, not wifi correct?  I don't have my
phone and sim in front of me but will test later.

2- The settings i used do work from linux using vpnc on my desktop, but have not
tried cyanogen/vpn before.

Original comment by klier...@gmail.com on 3 Sep 2009 at 5:20

GoogleCodeExporter commented 9 years ago
data connection doesn't help.  The only thing i see in the logcat is about the 
pid file:

D/VPN_Connections(  392): password ********
D/VPN_Connections(  392): done interacting with vpnc
D/VPN_Connections(  392): process stderr: 
D/VPN_Connections(  392): 
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): process stdout: Connect Banner:
D/VPN_Connections(  392): | *** Wind River Systems, Inc. Authorized Use Only ***
D/VPN_Connections(  392): 
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): Read vpnc process id as 1238
D/VPN_Connections(  392): vpnc still trying to connect. Will check again in 500
milliseconds
D/VPN_Connections(  392): process stdout: backing up dns and resolve.conf
D/VPN_Connections(  392): vpnc-script ran to completion
D/VPN_Connections(  392): process stderr: vpnc[1238]: can't open pidfile
/var/run/vpnc/pid for writing
D/VPN_Connections(  392): Connect string detected!
I/global  (  392): Default buffer size used in BufferedReader constructor. It 
would
be better to be explicit if an 8k-char buffer is required.
I/global  (  392): Default buffer size used in BufferedReader constructor. It 
would
be better to be explicit if an 8k-char buffer is required.
D/VPN_Connections(  392): Monitoring will not start

Original comment by klier...@gmail.com on 4 Sep 2009 at 3:57

GoogleCodeExporter commented 9 years ago
Weird, everything in the log indicates that you were successfully connected. I 
wonder
if it's a DNS issue. Can you try pinging your intranet (and regular internet) 
sites
by IP? Also check your Linux vpnc settings and see if there are any flags you 
need to
set on vpnc for your particular vpn server.

Original comment by babak.mozaffari on 4 Sep 2009 at 8:32

GoogleCodeExporter commented 9 years ago
I think this problem comes up after the lease time of the dhcpcd is over... 

I'm having this issue here, the vpn connection goes dead as soon as the IP 
address is
renewed due to dhcpcd... either we should stop dhcpcd or find another solution.

PS: I think this is about the same problem:
https://bugzilla.redhat.com/show_bug.cgi?id=447246

Original comment by phlo...@gmail.com on 13 Sep 2009 at 3:51

GoogleCodeExporter commented 9 years ago
Hi, I have recent problems with this issue too.

Here's the info:

Using any version .09 or above = same problem.  

I use --natt-mode cisco-udp in the flags.

My netcfg shows that I have indeed connected and have new IP address.

getprop net.dns1 and net.dns2 show the dns servers at my site.

However, when I do an nslookup, I get server and address 4.2.2.5 .  I tried 
removing 
and readding the cisco-udp flag, but it is like the vpnc startup is ignoring it.

Any ideas or advice?  

***
The funny thing is that it does work when I initially install it after a flash 
of 
new rom - but quits working and never works again until I totally rebuild my 
phone.

Any help is appreciated.  Thanks!

Original comment by prsco...@gmail.com on 13 Feb 2010 at 3:28