Jump to content

NEW Openvpn update.zip (tun.ko) (MCR + uvoc version)


Recommended Posts

Guest Richard Trip
Posted (edited)

Copy the update to your sdcard and apply the update with the recovery-console (sudo ./step2.sh from latest method)

You need OpenVPN Settings from the market (Friedrich Schauffelhut) and load the module from the following location: /system/lib/modules/tun.ko (see attached screenshots).

There's a different kernel in Modaco Custom Rom so we need a new module version. (2.6.29-82821fb5).

Openvpn from MCR kitchen lacks some cypher-algo's so i couldn't use that. I excluded the busybox binary from the mcr update.

If any of you have dns problems please use the "OpenVPN settings" provided setting for that:

Long press your connection config and change the Preferences.

happy tunneling.

HTC Desire stock kitchen = vpnupdatedesire_2.6.29-97da29ed-signed.zip

MCR kitchen (dont use openvpn from kitchen) = vpnupdatedesire_2.6.29-82821fb5-signed.zip

uvoc kernel version = vpnupdatedesire_uvoc-signed.zip

post-635850-1272715512_thumb.png

post-635850-1272715522_thumb.png

vpnupdatedesire_2.6.29_97da29ed_signed.zip

vpnupdatedesire_2.6.29_82821fb5_signed.zip

vpnupdatedesire_uvoc_signed.zip

Edited by Richard Trip
Guest wellsgz
Posted
Copy the update to your sdcard and apply the update with the recovery-console (sudo ./step2.sh from latest method)

You need OpenVPN Settings from the market (Friedrich Schauffelhut) and load the module from the following location: /system/lib/modules/tun.ko (see attached screenshots).

happy tunneling.

does it also work for ipsec vpn as well?

Guest Richard Trip
Posted
does it also work for ipsec vpn as well?

No, just for openvpn.

Guest getty60
Posted

Mate,

did everything as u said...but the vpn get stuck in the ... Start up.... point.

Any idea??

Thanks

Copy the update to your sdcard and apply the update with the recovery-console (sudo ./step2.sh from latest method)

You need OpenVPN Settings from the market (Friedrich Schauffelhut) and load the module from the following location: /system/lib/modules/tun.ko (see attached screenshots).

happy tunneling.

Guest Richard Trip
Posted
Mate,

did everything as u said...but the vpn get stuck in the ... Start up.... point.

Any idea??

Thanks

Did you configure the advanced options (load tun kernel module and the location)?

Guest getty60
Posted

YES,

load tun /system/lib/modules/tun.ko

load module using insmod

path to tun module /system/lib/modules/tun.ko

Did you configure the advanced options (load tun kernel module and the location)?
Guest MrPaveL
Posted

Richard,

thank you very much for this.

It's working flawlessly.

Pavel.

Guest getty60
Posted

maybe i did something wrongduring the installation process....

I did the all rooting process up to step2.sh...

there instead of flashing the root update i flashed the openvpn!!

Is that right?

In the end I ended up having a factory reset desire with the new openvpn in which i could chose where to install the tun.ko

???

right??

??

Richard,

thank you very much for this.

It's working flawlessly.

Pavel.

Guest Richard Trip
Posted
maybe i did something wrongduring the installation process....

I did the all rooting process up to step2.sh...

there instead of flashing the root update i flashed the openvpn!!

Is that right?

In the end I ended up having a factory reset desire with the new openvpn in which i could chose where to install the tun.ko

???

right??

??

You have to flash the rootedupdate.zip first. After that you can flash the openvpn update

Guest getty60
Posted

I already had the modaco custom rom...

but nada..

even now with mcr r1...it doesn't work!

It's not that it doesn't work over 3g??

Thanks

You have to flash the rootedupdate.zip first. After that you can flash the openvpn update
Guest Richard Trip
Posted
I already had the modaco custom rom...

but nada..

even now with mcr r1...it doesn't work!

It's not that it doesn't work over 3g??

Thanks

3g should work also (used it on WiFi and on 3g without any problem).

Guest al1ta
Posted
Copy the update to your sdcard and apply the update with the recovery-console (sudo ./step2.sh from latest method)

You need OpenVPN Settings from the market (Friedrich Schauffelhut) and load the module from the following location: /system/lib/modules/tun.ko (see attached screenshots).

There's a different kernel in Modaco Custom Rom R1 so we need a new module version. (2.6.29-82821fb5).

Openvpn from MCRr1 kitchen lacks some cypher-algo's so i couldn't use that.

happy tunneling.

HTC Desire stock kitchen = vpnupdatedesire_2.6.29-97da29ed-signed.zip

MCR r1 kitchen (dont use openvpn from kitchen) = vpnupdatedesire_2.6.29-82821fb5-signed.zip

It seems great but... HTC desire has already busybox

so the one inside vpnupdatedesire_2.6.29_97da29ed_signed.zip will overwrite the desire one

is that correct?

this is the desire one from adb shell

# /system/xbin/busybox

BusyBox v1.16.0 (2010-01-29 22:31:34 CET) multi-call binary.

Copyright © 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko

and others. Licensed under GPLv2.

See source distribution for full notice.

Usage: busybox [function] [arguments]...

or: function [arguments]...

BusyBox is a multi-call binary that combines many common Unix

utilities into a single executable. Most people will create a

link to busybox for each function they wish to use and BusyBox

will act like whatever it was invoked as.

Currently defined functions:

[, [[, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk,

basename, bbconfig, beep, blkid, brctl, bunzip2, bzcat, bzip2, cal,

cat, catv, chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot,

chrt, chvt, cksum, clear, cmp, comm, cp, cpio, crond, crontab, cryptpw,

cttyhack, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod,

devmem, df, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, du,

dumpkmap, echo, ed, egrep, eject, env, envdir, envuidgid, ether-wake,

expand, expr, fakeidentd, false, fbset, fbsplash, fdflush, fdformat,

fdisk, fgrep, find, findfs, fold, free, freeramdisk, fsck, fsck.minix,

fsync, ftpd, ftpget, ftpput, fuser, getopt, getty, grep, gunzip, gzip,

halt, hd, hdparm, head, hexdump, hostid, hostname, httpd, hush,

hwclock, id, ifconfig, ifdown, ifenslave, ifplugd, ifup, inetd, init,

insmod, install, ionice, ip, ipaddr, ipcalc, ipcrm, ipcs, iplink,

iproute, iprule, iptunnel, kbd_mode, kill, killall, killall5, klogd,

last, length, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap,

logger, login, logname, logread, losetup, lpd, lpq, lpr, ls, lsattr,

lsmod, lzmacat, lzop, lzopcat, makedevs, makemime, man, md5sum, mdev,

mesg, microcom, mkdir, mkdosfs, mkfifo, mkfs.minix, mkfs.vfat, mknod,

mkpasswd, mkswap, mktemp, modprobe, more, mount, mountpoint, msh, mt,

mv, nameif, nc, netstat, nice, nmeter, nohup, nslookup, od, openvt,

passwd, patch, pgrep, pidof, ping, ping6, pipe_progress, pivot_root,

pkill, popmaildir, poweroff, printenv, printf, ps, pscan, pwd,

raidautorun, rdate, rdev, readahead, readlink, readprofile, realpath,

reboot, reformime, renice, reset, resize, rm, rmdir, rmmod, route,

rtcwake, run-parts, runlevel, runsv, runsvdir, rx, script,

scriptreplay, sed, sendmail, seq, setarch, setconsole, setfont,

setkeycodes, setlogcons, setsid, setuidgid, sh, sha1sum, sha256sum,

sha512sum, showkey, slattach, sleep, softlimit, sort, split,

start-stop-daemon, stat, strings, stty, su, sulogin, sum, sv, svlogd,

swapoff, swapon, switch_root, sync, sysctl, syslogd, tac, tail, tar,

tcpsvd, tee, telnet, telnetd, test, tftp, tftpd, time, timeout, top,

touch, tr, traceroute, true, tty, ttysize, tunctl, udpsvd, umount,

uname, uncompress, unexpand, uniq, unix2dos, unlzma, unlzop, unzip,

uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, volname, watch,

watchdog, wc, wget, which, who, whoami, xargs, yes, zcat, zcip

Guest ruderuud
Posted
3g should work also (used it on WiFi and on 3g without any problem).

Hello,

I am fairley new into modding openvpn on mobile devices. So could you create a walktrough-guided how to configure Openvpn on to a HTC Desire?

Regards,

Rudy

Guest Richard Trip
Posted
It seems great but... HTC desire has already busybox

so the one inside vpnupdatedesire_2.6.29_97da29ed_signed.zip will overwrite the desire one

is that correct?

this is the desire one from adb shell

# /system/xbin/busybox

If you just used the rootedupdate.zip from modaco there is no busybox so i have to make sure :-)

Guest al1ta
Posted
If you just used the rootedupdate.zip from modaco there is no busybox so i have to make sure :-)

Ok,

Thanks a lot... I'm going to install it!!

Guest al1ta
Posted

it works... but without openvpn settings (I've followed the instruction choosing insmod and setting the path where is located the module)

openvpn settings give me an error starting openvpn that say that the process crash. It respawn automatically with the same error, the desire warm up and the only way to stop it is to connect the phone to the pc, that take out the sdcard from the phone where openvpn conf files are located

instead, from a terminal, entering inside /sdcard/openvpn and running:

insmod /system/lib/modules/tun.ko

openvpn --config openvpn.conf

works...

and everything is fine

now I've another problem... changing dns to resolve names inside vpn (is where on android /etc/resolv.conf ???) ... but it's another story....

Guest al1ta
Posted

ummm,,, I've changed the /system/etc/hosts file but... after a couple of minutes I saw the phone reboot and the file restored...

how can I change the /etc/hosts file for changing name resolution?? How can I change the /etc/resolve.conf for change dns in use ???

Guest empascalsismammi
Posted

Now we only need it for the r2 kernel too! Especially with a rootupdate.zip.

Guest Richard Trip
Posted
Now we only need it for the r2 kernel too! Especially with a rootupdate.zip.

Is there a new kernel in r2? If so i wil make one this evening.

Guest wellsgz
Posted
Is there a new kernel in r2? If so i wil make one this evening.

should be the same to r1, i put tun.ko in r2 and it's ok to load with insmod~

Guest Richard Trip
Posted
should be the same to r1, i put tun.ko in r2 and it's ok to load with insmod~

Thanks for the confirmation.

Guest empascalsismammi
Posted

sorry, didn't realize that tun.ko was removed from /system after the update. the old package still works perfectly with get-a-robot-vpnc

Guest mj_blue
Posted

This all works well for me and I can connect but I can never get DNS to correctly work even after the using Fix DNS. It should be using the DNS from my VPN server so I can see internal addresses but it always uses the wifi / 3G DNS. Any ideas how I can force this to use another DNS?i.e 172.22.0.2 ?

Thanks

Mark

Guest Richard Trip
Posted

Update:

There's a new version for the Modaco Custom Rom without busybox binary. See first post: (vpnupdatedesire_2.6.29-82821fb5-signed.zip).

Guest Richard Trip
Posted
This all works well for me and I can connect but I can never get DNS to correctly work even after the using Fix DNS. It should be using the DNS from my VPN server so I can see internal addresses but it always uses the wifi / 3G DNS. Any ideas how I can force this to use another DNS?i.e 172.22.0.2 ?

Thanks

Mark

If you use OpenVPN Settings you can add a custom dns for the openvpn configuration. Long press your config in the first menu and use Preferences. There's the option "Use VPN DNS Server" and "VPN DNS Server".

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.