benjarobbi / get-a-robot-vpnc

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

Fail To Connect - ps | grep 'vpnc$' | cut -c 10-14 #164

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get info from lastConnection.log
2. Get info from logcat
3.

What is the expected output? What do you see instead?
Connected

What version of the product are you using? On what operating system?
VPN Connections 0.99 / TF101 PRIME 2.0.7 / BusyBox v1.19.0-roach (2011-06-19 
02:43:36 BST)

Please provide any additional information below.
In the lastConenction.log shows:-
/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script 
/data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach
Enter IPSec gateway address: <edited>
Enter IPSec ID for <edited>: <edited>
Enter IPSec secret for <edited>@<edited>: <edited>
Enter username for <edited>: username
Enter password for username@<edited>: ***********

process stderr
process had died, return as failed connection

Using LogCat:-
D/VPN_Connections( 2377): NetworkDatabase:singleNetwork - Start
E/su ( 2405): sudb - Opening database
E/su ( 2405): sudb - Database opened
E/su ( 2405): sudb - Database closed
D/su ( 2405): 10041 org.codeandroid.vpnc_frontend executing 0 sh using shell 
/system/bin/sh : sh
D/VPN_Connections( 2377): Enter IPSec gateway address:
D/VPN_Connections( 2377): IP <edited>
D/VPN_Connections( 2377): Enter IPSec ID for <edited>:
D/VPN_Connections( 2377): group id: <edited>
D/VPN_Connections( 2377): Enter IPSec secret for v<edited>@<edited>:
D/VPN_Connections( 2377): group pwd <edited>
D/VPN_Connections( 2377): Enter username for <edited>:
D/VPN_Connections( 2377): user <edited>
D/VPN_Connections( 2377): Enter password for <edited>@<edited>:
D/VPN_Connections( 2377): Password is text
D/VPN_Connections( 2377): password ***********
D/VPN_Connections( 2377): done interacting with vpnc
D/VPN_Connections( 2377): process stderr:
D/VPN_Connections( 2377):
D/Tethering( 226): tun0 is not a tetherable iface, ignoring
D/VPN_Connections( 2377): Read vpnc process line as null
D/VPN_Connections( 2377): Attempt to read vpnc process id did not return 
anything
D/VPN_Connections( 2377): process had died, return as failed connection

Even though the above shows Failed Connection, however, tun0 is up and with the 
necessary IP address of the VPN network.

Original issue reported on code.google.com by johnnyli...@gmail.com on 1 Nov 2011 at 3:24