Cisco VPN client?


Last Updated:

  1. sentinelace

    sentinelace Well-Known Member This Topic's Starter

    Joined:
    Apr 2, 2010
    Messages:
    159
    Likes Received:
    1
    I had one on my motorla droid which never worked other than on bugless beat 1.1. Is there a client I can use to connect to my network? I have a 2811 Cisco router. Thanks.
     

    Advertisement
  2. DizkoDan

    DizkoDan Well-Known Member

    Joined:
    Jul 15, 2010
    Messages:
    385
    Likes Received:
    86
    TheHouseIT likes this.
  3. banshee2008

    banshee2008 Active Member

    Joined:
    May 29, 2010
    Messages:
    25
    Likes Received:
    1
    Call me slow, but I found that XDA thread very hard to follow. :) Since I managed to get Cisco VPN going on my Incredible, I thought I'd try to lay out what I did in case it helps other slow people. :) Now let's get down to it.

    First, I didn't deal with installing any special tun.ko as described in XDA. I found that all of the KinxKernels located here have it pre-installed:
    KiNgxKernel - The Incredible List

    So I installed a kinxkernel. I am also running Skyraider ROM, but I don't think it matters as long as you have a kernel (such as Kinxkernel) that has tun.ko.

    Next install VPN Connections from the market. Note I could never get the "VPN Connections" GUI to work correctly, and it seems that many people have this problem. So I got it going with scripts instead. To use these, you will need a terminal emulator such as "Better Terminal Emulator." Download that from the market.

    Now you need to create a file called vpn.conf in the /sdcard root directory. (I just created the file on my PC, connected the SD card, and stored it there.) The file should look like this (fill in your own info for gateway, group name, etc.):

    IPSec gateway <gateway>
    IPSec ID <group name>
    IPSec secret <shared secret>
    Xauth username <user name>
    UDP Encapsulate

    Then create a script called "go" in the /sdcard root directory. It should look like this:

    /data/data/org.codeandroid.vpnc_frontend/files/vpnc /sdcard/vpn.conf --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --pid-file /sdcard/vpnc

    Now go into your terminal program and type the following:
    su
    mkdir /dev/net
    ln -s /dev/tun /dev/net/tun


    All the stuff up until now is "one time only" as you get everything set up. The following must be done each time you want to start the VPN

    First, to get tun.ko going, start up your terminal emulator program and execute the following commands. (NOTE: From what I gather, tun.ko can be installed in different locations depending on kernel. This specifies the correct location for kingxkernel):
    su
    insmod /system/lib/modules/tun.ko

    To verify tun.ko is working, you can then run:
    lsmod

    It should say something similar to "tun 10734 0 - Live 0xbf000000"

    Then type the following to start the VPN:
    sh /sdcard/go

    You will then be prompted for a password. Enter that, and your VPN should be up and running.


    While I figured out these steps from numerous different sources, particular credit goes to pvlagsma on XDA...who provided a lot of this info. Hope it helps some lost soul!
     
    bjanow likes this.
  4. sentinelace

    sentinelace Well-Known Member This Topic's Starter

    Joined:
    Apr 2, 2010
    Messages:
    159
    Likes Received:
    1
    any update on this? Still no cisco client?
     
  5. elborak

    elborak Well-Known Member

    Joined:
    Apr 8, 2010
    Messages:
    121
    Likes Received:
    37
    You respond to a thread explaining where to get and how to configure a Cisco client with "Still no cisco client?"

    :confused:
     
  6. sentinelace

    sentinelace Well-Known Member This Topic's Starter

    Joined:
    Apr 2, 2010
    Messages:
    159
    Likes Received:
    1
    Read my post. The link above isn't even from cisco and it doesn't work unless you are rooted. It doesn't even work on most phones. I have tested it and only got it to work on the droid 1.
     
  7. bjanow

    bjanow Well-Known Member

    Joined:
    Dec 3, 2009
    Messages:
    2,763
    Likes Received:
    477
    We *are* in the all things root section. That's quite an exceptional post from banshee, well written, very explanatory, and thorough. Did you try doing what he said? I don't see when I would need a VPN from my phone since I have my laptop with me if I need to work outside my current environs, but I do remember reading why someone would use/need it.
     
  8. sentinelace

    sentinelace Well-Known Member This Topic's Starter

    Joined:
    Apr 2, 2010
    Messages:
    159
    Likes Received:
    1
    what? you make no sense. Do you know what a VPN is? Who cares about a laptop. We have apps that we would like to run from anywhere, any time. Cameras being one of them. I don't want to boot up a laptop all the time if I don't have to.
     
  9. bjanow

    bjanow Well-Known Member

    Joined:
    Dec 3, 2009
    Messages:
    2,763
    Likes Received:
    477
    It makes a lot of sense if you can understand the written language.
     
  10. sentinelace

    sentinelace Well-Known Member This Topic's Starter

    Joined:
    Apr 2, 2010
    Messages:
    159
    Likes Received:
    1
    Most of you guys must not use cisco. Right now, the built in piece does work on the ASA models, but no other, hence the need for a cisco vpn client or an IOS update on the router. I just figured an app would be quicker.
     

Share This Page

Loading...