• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Droid X ROM with tun.ko

rhyzar

Newbie
I was just wondering what custom roms had a working tun.ko module for use with get-a-robot-vpnc for connecting to a cisco asa vpn.

The 2 roms that I were looking at were:

Tranquility 3.6.0 - haven't seen any talk about it.

ApeX 1.3.1 for Droid X - said that he would include it, but not seeing it in the features/changelog.

Are there any other good roms that may have the tun.ko module working in them?

I have tried to place the tun.ko in the stock 2.3.340 rom with no success - not sure what I am doing wrong, that is why I am wanting to just change roms. :)
 
I was just wondering what custom roms had a working tun.ko module for use with get-a-robot-vpnc for connecting to a cisco asa vpn.

The 2 roms that I were looking at were:

Tranquility 3.6.0 - haven't seen any talk about it.

ApeX 1.3.1 for Droid X - said that he would include it, but not seeing it in the features/changelog.

Are there any other good roms that may have the tun.ko module working in them?

I have tried to place the tun.ko in the stock 2.3.340 rom with no success - not sure what I am doing wrong, that is why I am wanting to just change roms. :)
i am not 100% sure but i do not believe so but i am also not too familiar with this area but i dont think so
i also just did some searching and found this,,,not sure what roms you can use it with but just something i found
http://forum.xda-developers.com/showthread.php?t=740030
 
i am not 100% sure but i do not believe so but i am also not too familiar with this area but i dont think so
i also just did some searching and found this,,,not sure what roms you can use it with but just something i found
attached is a functioning tun.ko for droid x - xda-developers

This is the exact thread that I was trying to use the tun.ko from. The thread pretty much died back in August.
...just tried to post to it again...
 
I think that they will have support for VPN, but they will be pushing thier paid SSL client, and not the free IPSEC client....

So, has anyone else got this to work on their Droid X with the stock or custom roms?
 
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_...2.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.
 
I hadn't been using VPN lately because after upgrading to gingerbread I no longer had a working tun driver. However, today I noticed that with my current rom "Sensei-Mod .602 GB v3", I have a built in tun adapter. I tried it out and sure enough it worked like a charm hitting a Cisco VPN using a group password. :)

I checked in the /system/lib/modules/ dir to see if there was a tun.ko I could save off, but there wasn't. Does anyone know of any other GB Droid-X roms that might have built in tun drivers? Hopefully this is becoming the norm with new roms.

I hope this helps someone else.
 
Back
Top Bottom