Cisco OpenConnect VPN on Acer Iconia A500

There are number of threads on the net about how getting Cisco OpenConnect to work on your android tablets, there are very few end to end guides. This attempts to be one of them!

Disclaimer With any root or filesystem level guides, this method could brick your tablet making it unusable - use with caution!

Here are the steps:

  • Install Cisco AnyConnect VPN client for Rooted Devices (Android Market)
  • Install a Terminal Client (I use - Android Market: Better Terminal Emulator Pro, but there are fee options as well)
  • Root your device (Android Market: Iconia Root)
  • Install BusyBox (Android Market: BusyBox)
  • Download the tun.ko kernel module
    • As of 8/26 the file is Here
    • You'll need a way to unzip the archive

Now, using your terminal client, remount your system filesystem as read/write.

su
mount -o remount,rw /system 

You need to copy the tun.ko file from your download location to the kernel modules directory

cp /sdcard/Download/tun.ko /system/lib/modules

Now you can load the module

insmod /system/lib/modules/tun.ko

From here on out you should be able to use the Cisco OpenConnect client Congratulations!

Now, the bad news. Any reboot will remove that kernel module from memory,
meaning you have to open the terminal and insmod again.

To make it permanent:
This has been pretty frustrating. I see two ways to make this permanent.

  • Modify your system's ramdisk file to add insmod tun.ko to your init.rc
    • Note, you can't just edit /init.rc because all changes are lost / over written at boot.
    • If you want to try this method, start Here

  • Create a program that launches at boot (similar to the Cisco VPN client) that loads the module
    • If you are development savvy and want to try this method you can start Here
I haven't tried either method yet, but i may attempt the first one when i get some time.

Probably the easier fix is to use something like gscript to create a shell script to insert the module. Then just run that shell script prior to connecting to the VPN.


0 Responses to Cisco OpenConnect VPN on Acer Iconia A500

  1. There are currently no comments.

Leave a Reply



About

Random Database, OS or otherwise interesting tips and tricks.

User


Clicky Web Analytics