1. DroidForums.net is currently undergoing a major software upgrade. If you are experiencing any problems logging in please: Contact Us

2.2 and VPNC

Discussion in 'Android Roms' started by rweddy1, Jun 8, 2010.

  1. rweddy1
    Offline

    rweddy1 New Member

    Joined:
    Mar 13, 2010
    Messages:
    33
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Colorado
    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.

    Cheers

    -R
  2. falk0069
    Offline

    falk0069 New Member

    Joined:
    Jan 23, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    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 2.6.32.9-g55626e1 kernel version (using custom ROM ApeX 1.3.1 but I don't think it matters):
    http://www.saturnwiki.net/droid_tun_driver/2.6.32.9/tun_alt.ko

    Alternative:
    attached is a functioning tun.ko for droid x - xda-developers

    Another Alternative:
    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:
    su
    busybox mount -o rw,remount /system
    cp /sdcard/tun.ko /system/lib/modules/
    busybox mount -o ro,remount /system

    6) Start the module:
    insmod /system/lib/modules/tun.ko

    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.

    Final Note:
    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.
  3. jeffv2
    Offline

    jeffv2 Developer Developer

    Joined:
    Dec 23, 2010
    Messages:
    1,240
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    south jersey
    he has a droid 1 & an easyer way to get it working is download a kernel that has tun built in

    P3Droid Kernels
Search tags for this page
advanced vpn og droid
,
alternate for tun.ko
,
alternative for tun module?
,
alternative to tun.ko
,
cisco vpn for android 2.2
,
troid vpn for froyo
,
troid vpn froyo
,
vnpc vpn client for android
,

vpn for android 2.2

,

vpnc android

,
vpnc android build