i pack a tar ball for extend Rasplex function to make Rasplex be a openvpn-server and support routing protocol.
it's only for RPi2 and tested on Rasplex 0.7.1, those binary file and library are copy from arch linux arm for armv7.
just for anyone who need bridge tool and openvpn-server, routing protocol function.
(The origin Rasplex openvpn ONLY support CLIENT mode.)
steps as below:
because the /
is readonly, you must follow steps below:
- copy
/flash/SYSTEM
to your computer and name itSYSTEM.old
. - unsquashfs
SYSTEM.old
totarget
folder. - patch file into
target
folder. (not replace, it's add.) - mksquashfs
target
toSYSTEM
. - copy
SYSTEM
to Rasplex and place it to/storage/.update/SYSTEM
. - go Rasplex shell and enter follow script.
# calculate md5 of SYSTEM and write to /storage/.update/SYSTEM.md5
md5sum /storage/.update/SYSTEM > /storage/.update/SYSTEM.md5;
# copy kernel image to /storage/.update/KERNEL
cp /flash/kernel.img /storage/.update/KERNEL;
# calculate md5 of KERNEL and write to /storage/.update/KERNEL.md5
md5sum /storage/.update/KERNEL > /storage/.update/KERNEL.md5;
# reboot for update image
reboot;
the patch file zip http://tinyurl.com/qajmayd