Guest alphagamma Posted April 29, 2010 Report Posted April 29, 2010 Anyone got this working already? This is the the number 1 reason I rooted my Desire, but I can't get it working for now. When I try to connect with the app it crashes out of the app. I think it has something to do with tun support. Can somebody help?
Guest alphagamma Posted April 30, 2010 Report Posted April 30, 2010 Nobody else that wants this? Easiest would be that somebody makes a flash zip out of it, I think it needs write access to system.
Guest wellsgz Posted April 30, 2010 Report Posted April 30, 2010 I have ask paul for help to make the tun work on desire , it's on the todo list now :-) hope to get so soon...
Guest Richard Trip Posted May 1, 2010 Report Posted May 1, 2010 I have ask paul for help to make the tun work on desire , it's on the todo list now :-) hope to get so soon... Already did that: hxxp://android.modaco.com/content/htc-desire-desire-modaco-com/307594/openvpn-update-zip-tun-ko/
Guest trauter Posted May 1, 2010 Report Posted May 1, 2010 first: Im new here and wanna thank all great developers here for their work. so now the business stuff: ive installed the tun.ko did a insmod/restart etc. when i'm connecting via adb and go to /data/data/org.codeandroid.vpnc_frontend/files and run ./vpnc --script ./vpnc-script and put in the config, everything seems to work fine (vpnc is starting through) Connecting via the VPNC Gui doesn't seem to work for me("Failed to connect"). Logcat says: D/VPN_Connections: enter gateway: [gateway] ... enter password for [user]:****** done interacting with vpnc process stderr Attempt to read vpnc process id did not return anything proess had died, return as failed connection[/codebox] someone got it work with the gui?
Guest Mihai2 Posted May 1, 2010 Report Posted May 1, 2010 Attempt to read vpnc process id did not return anything proess had died, return as failed connection someone got it work with the gui? Actually it sort of works from the GUI, but the feedback is missing. When you hit "Connect" the vpnc is started succesfully, however the piece of code that checks if the process is running is failing... writeLine( os, null, "ps | grep 'vpnc$' | cut -c 10-14" ); ... because the "grep" and "cut" binaries are missing. The "toolbox" binary doesn't provide them and the default search path makes a little difficult to create some symlinks to workaround this. I see 2 choices here: edit the Java source file and insert the full path for the "grep" and "cut" commands (considering one already has a proper busybox installed somewhere). Or even better: get rid of those commands alltogether and parse the "ps" output internally.make some signed zip file that includes the "grep" and "cut" symlinks directly into /system/xbin/ (again, you need a busybox installed) I'm new to android hacking, maybe there is another easier aproach to this. But at least now you know why you're getting that "Failed to connect" message. Best regards, Mihai
Guest Valmar Posted May 5, 2010 Report Posted May 5, 2010 Dear All, thanks to what people pointed out here I could get it working from the console, and I am trying to create scripts that connect and disconnect from vpn. However, does anyone know if someone is working on a gui for the HTC desire. I downloaded the SDK and the vpnc frontend. However, I don't know Java, so it could take some time before I come up with something Thanks for all hints Valerio
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now