My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members

The goal of this project is to port VPNC on the Android platform. A first quick hack using a Debian installation in parallel is already working, but it would be good to have vpnc working natively on the Android platform.

First version

8 February 2009

This is a really quick hack to get vpnc to work on the Android Dev Phone 1.

First, you need to install Debian on the SD card, as shown there: http://www.saurik.com/id/10 (no need to do the unionfs part)

Kernel modules for ext3 (ext3.ko and jdb.ko) are available in "others". (I assume that you use ext3 and not ext2, i.e. use mke2fs -j debian.img, otherwise you'll have to rebuild the kernel modules yourself)

Then, you need to load the kernel module tun.ko.

My kernel is 2.6.25-01843-gfea26b0, if you have another one, but similar (2.6.25), you can open an hex editor (emacs hexl mode works fine), and modify the version string by hand (at your own risk, but I guess the worse that can happen is that the kernel crashes).

Then, configure vpnc (i.e. modify /etc/vpnc.conf) on your Debian installation and verify that it works (by running vpnc, vpnc-disconnect).

Then install others/execme in /data/local/bin, and install the application, it should work more or less fine...

TODO

  • UI for configuration
  • build vpnc statically (done), and get it to work without a debian installation (not working)
  • maybe it could be easier to switch to pptp instead
Powered by Google Project Hosting