Anyone get VPNC to work on 2.2?
I need a cisco vpn for work and VPNC works perfectly on 2.1 but not on 2.2.
I got the VPNC working on my DroidX using only the 3G network today. Read on if you are interested.
1) Make sure you are rooted (Do a search for z4root for a quick root)
2) Download a tun.ko file:
This worked for me on my DroidX 2.3.340 system version and 220.127.116.11-g55626e1 kernel version (using custom ROM ApeX 1.3.1 but I don't think it matters):
attached is a functioning tun.ko for droid x - xda-developers
tun.ko - get-a-robot-vpnc - tun for Android 2.2 (Froyo) Nexus One devices - Project Hosting on Google Code
3) Rename to tun.ko if it isn't already
4) Place on phone at /sdcard
5) In a terminal:
busybox mount -o rw,remount /system
cp /sdcard/tun.ko /system/lib/modules/
busybox mount -o ro,remount /system
6) Start the module:
6a) If you get an error like:
insmod: init_module 'tun.ko' failed (Exec format error)
Then the wrong tun.ko was downloaded and doesn't match your kernel. Run 'dmesg' and look for message like: "The version magic number doesn't match". Try an alternative tun.ko and try again.
7) If successful grab the latest get-a-robot-vpnc:
Downloads - get-a-robot-vpnc - Project Hosting on Google Code
8) Place it on the phone at /sdcard and run it via any file manager (e.g. Astro, ESFileExplorer, Files)
9) Run the new 'VPC Connections' and set up your connection.
if you check the 'Password + Token Digits', then only put your 4-6 digit password in the Password box. Then when you log in you only need to enter the 6 digit token number.
The module does not persistent over a reboot. I'm not sure of the best way to make an insmod persist. What I did was created a 'Gscript lite' script that just runs the insmod if needed.