Jump to content

working VPN modules for 2.x roms


Recommended Posts

Guest Richard Trip
Posted (edited)

Hello,

I compiled the missing vpn modules for the hero eclair kernels (2.6.29-8d063048 and 2.6.29-877eaf14).

modules compiled: tun + all ppp (l2tp not tested pptp and tun with openvpn working).

For openvpn you need de openvpn package and tunneldroid (market).

all files are packaged as update.zip

happy tunneling :-)

vpn_kernel_modules_2.6.29_8d063048.zip

vpn_kernel_modules_2.6.29_877eaf14.zip

openvpn_signed.zip

Edited by Richard Trip
Guest karumbo
Posted
Hello,

I compiled the missing vpn modules for the hero eclair kernels (2.6.29-8d063048 and 2.6.29-877eaf14).

modules compiled: tun + all ppp (l2tp not tested pptp and tun with openvpn working).

For openvpn you need de openvpn package and tunneldroid (market).

all files are packaged as update.zip

happy tunneling :-)

Works great on the cyanogen beta. Thanks ;)

Guest jnwhiteh
Posted
Hello,

I compiled the missing vpn modules for the hero eclair kernels (2.6.29-8d063048 and 2.6.29-877eaf14).

modules compiled: tun + all ppp (l2tp not tested pptp and tun with openvpn working).

For openvpn you need de openvpn package and tunneldroid (market).

all files are packaged as update.zip

happy tunneling :-)

I have a question about this. I'm already building and including openvpn in the CyanogenMod-Hero and I believe that has everything it needs included. Is the openssl executable necessary for any specific reason? I'd like to include as little extra as possible in the ROM. I don't have the ability to test any of this, unfortunately.

I'm adding your other compiled modules into the community repository, along with the vpn init.d script (although something tells me it should really be conditional, but meh).

Guest Richard Trip
Posted (edited)
I have a question about this. I'm already building and including openvpn in the CyanogenMod-Hero and I believe that has everything it needs included. Is the openssl executable necessary for any specific reason? I'd like to include as little extra as possible in the ROM. I don't have the ability to test any of this, unfortunately.

I'm adding your other compiled modules into the community repository, along with the vpn init.d script (although something tells me it should really be conditional, but meh).

The openssl binary is not necessary (only for generating certificates).

Edited by Richard Trip
Guest jnwhiteh
Posted
The openssl binary is not nexessary (only for generating certificates).

Thanks, should be easy enough to integrate this then.

Posted (edited)

I tested with V1.0.2-beta and TunnelDroid

I had some problems with my OpenVPN setup so it didn't work anymore before this test (had to look into some stuff)

but TunnelDroid could connect, in the log I saw my public IP of my OpenVPN server (I tested over gprs)

I'm playing with all sorts of stuff but have yet to gain all the knowledge ;)

sorry but that's all I can tell you, hope someone can do a better test

EDIT:

the error I get is TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

but this could be because gprs is too slow??

Edited by Andcr
Posted (edited)

suppressed wrong topic

sorry

jpq

Edited by jpq
Guest Richard Trip
Posted (edited)
Does anyone want to try the following build of cm-hero to see if the VPN stuff is included properly?

cm-hero-v1.0.2-beta.zip - MD5: 508efa8fb8e03105b337ed3244ffc6ce

I can't find the module init script so probably not working. This openvpn binary needs a symlink in the update-script: symlink /system/xbin SYSTEM:xbin/bb

Edited by Richard Trip
Guest jnwhiteh
Posted
I can't find the module init script so probably not working. This openvpn binary needs a symlink in the update-script: symlink /system/xbin SYSTEM:xbin/bb

Yeah the init.d script didnt' get copied in for some reason. Why does openvpn look in xbin/bb?

Guest Richard Trip
Posted (edited)
Yeah the init.d script didnt' get copied in for some reason. Why does openvpn look in xbin/bb?

Did not compile openvpn myself so don't know.

There must be better versions out there :-).

Edited by Richard Trip
Posted

allright, I reconfigured my OpenVPN setup and did the required install for TunnelDroid

copy/paste from README on sourceforge:

> adb remount

> adb push libcrypto.so /system/lib/

> adb push liblzo.so /system/lib/

> adb push libssl.so /system/lib/

> adb push openvpn /system/bin/

> adb shell chmod +x /system/bin/openvpn

now I could successfully connect to my VPN

then I reflashed the 1.0.2-beta posted here and tried to connect again and it still worked

don't know if this is a valid test but I guess that reflashing will have deleted the files I pushed to /system/lib

anyway, Christophe (author of TunnelDroid) posted the openvpn binaries to sourceforge and you can grab them here if needed

http://sourceforge.net/projects/tunneldroi...ry.zip/download

Guest jnwhiteh
Posted
allright, I reconfigured my OpenVPN setup and did the required install for TunnelDroid

copy/paste from README on sourceforge:

now I could successfully connect to my VPN

then I reflashed the 1.0.2-beta posted here and tried to connect again and it still worked

don't know if this is a valid test but I guess that reflashing will have deleted the files I pushed to /system/lib

anyway, Christophe (author of TunnelDroid) posted the openvpn binaries to sourceforge and you can grab them here if needed

http://sourceforge.net/projects/tunneldroi...ry.zip/download

No, openvpn is compiled already as part of AOSP and installed. I don't think it requires any path changes of anything. The issue was the init script not being included, and I'll rebuild at some point.

Posted

btw. Richard..

thanks for providing these as an update.zip!

  • 3 months later...
Guest Andcr
Posted

just wondering now,... will these work with the rooted 2.1 official repack of Paul?

and if so.. which module to pick?

thanks in advance!

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.