vtun for pandora?


cosurgi

http://janek.kozicki.pl/
Joined
Jul 30, 2008
Messages
1,098
Location
Gdansk, Poland
Website
janek.kozicki.pl
Hi,


I want to add pandora to my virtual private network, and all my PCs are using vtun for that. Whole infrastructure is configured around vtun.


So I need vtun on pandora, like this one: http://packages.debian.org/lenny/vtun


I tried to use it, but it doesn't work: the connection opens (I see this in logs), but then it instantly disconnects.


Does anybody know how to port it to pandora? Could you give me some help here?


Maybe a straight recompile would be enough, in that case could you point me some links about how to prepare a dev environment to compile stuff for pandora?


on debian that would be just



Code:
apt-get build-dep vtun

apt-get source vtun

debian/rules binary


but on Angstrom I am so lost :(


EDIT: I've found this http://www.angstrom-distribution.org/toolchains/


should I try to compile vtun with this?
 
Last edited by a moderator:
Big thanks to aTc on irc for helping me resolve this problem.


What I had to do was to download those:


http://wreck.k-n-p.org/pnd/vtun_2.6-r1.5_armv7a.ipk


http://wreck.k-n-p.org/pnd/liblzo1_1.08-r15.5_armv7a.ipk


and `opkg install` them both.


then also `opkg install libcrypto0.9.8`


then I had to `modprobe tun` and put valid configuration files for vtun: /etc/default/vtun & /etc/vtun.conf


then I had to make symlink from /etc/init.d/vtun to /etc/rc5.d


then I had to `echo tun > /etc/modutils/tun ; update-modules`


try /etc/init.d/vtun restart, if it works then restart pandora, and it will always work!
 
Last edited by a moderator:
Back
Top