Open GoogleCodeExporter opened 9 years ago
I am seeing similar issues. Is there a way I can generate a debug log?
Original comment by r...@researchut.com
on 11 Jan 2011 at 5:43
I am on Android 2.2.1 now. I don't have the VPN connection app installed. Let
me know which is the latest version of app i can install and how to do the
debug log
Original comment by mbp...@gmail.com
on 11 Jan 2011 at 6:57
I'm having the same issue. This usually points to the tun.ko module not being
loaded. Allegedly, the Epic 4G Touch has the tun in the kernel, but I still get
a crash from Get a Robot. Other VPN tools, such as OpenVPN and Anyconnect seem
to function, but they can't connect to my work's Cisco 3000 concentrator, so
that's academic at this point.
Original comment by robb...@gmail.com
on 3 Nov 2011 at 2:42
The Epic 4G Touch does have the tun module compiled into the kernel, but Get A
Robot still doesn't work on the device (force close with message mentioned
above). Surprising for a device that has been marketed featuring its VPN
capabilities. As commenter above questions, is there a way to generate/view a
debug log to get down to the real issue here?
Original comment by srwgr...@gmail.com
on 13 Nov 2011 at 3:20
I tracked down the dumpstate log that is generated when the app crashes. VPNC
doesn't seem to be able to find/make use of the tun that is compiled into the
kernel. Here are the portions that pertain to tun and the crash event:
D VPN_Connections: filemanager: ln -s /dev/tun /dev/net/tun
D VPN_Connections: filemanager: Done creating sym link /dev/net/tun with return
code 255
(my note: checking afterwards, /dev/net/tun exists, but there is no /dev/tun
file or directory that I can see)
later, upon clicking 'Connect' in the app:
D VPN_Connections: NetworkDatabase:singleNetwork - Start
D VPN_Connections: tun does not exist
E su : sudb - Opening database
E su : sudb - Database opened
E su : sudb - Database closed
D su : 10135 org.codeandroid.vpnc_frontend executing 0 sh using shell
/system/bin/sh : sh
W dalvikvm: threadid=9: thread exiting with uncaught exception
(group=0x4001e578)
E AndroidRuntime: FATAL EXCEPTION: Thread-13
E AndroidRuntime: java.lang.NullPointerException
E AndroidRuntime: at
org.codeandroid.vpnc_frontend.VpncProcessHandler.connect(VpncProcessHandler.java
:85)
E AndroidRuntime: at org.codeandroid.vpnc_frontend.VPNC$3.run(VPNC.java :210)
E : Dumpstate > /data/log/dumpstate_app_error
Can VPNC work with tun compiled into the kernel, or does it always have to be a
separate module? I tried compiling and loading a separate tun.ko, but it
conflicted with the tun in the kernel and gave the following error (as reported
by dmesg):
tun: exports duplicate symbol tun_get_socket (owned by kernel)
Original comment by srwgr...@gmail.com
on 14 Nov 2011 at 4:50
Update: This is now working for me on the Epic 4G Touch (Samsung SPH-D710).
Need to do the following prior to starting the app:
$ su
# cd /dev
# mkdir net
# chmod 777 net
Thank goodness for xda and open source.
Original comment by srwgr...@gmail.com
on 15 Nov 2011 at 11:52
Original issue reported on code.google.com by
mbp...@gmail.com
on 4 Oct 2010 at 2:31