No tunnel yet

This commit is contained in:
Bob Mottram 2017-09-29 12:58:07 +01:00
parent 6e1379904a
commit 057c1389cc
2 changed files with 3 additions and 2 deletions

View File

@ -139,7 +139,7 @@ function mesh_install_batman {
function install_mesh_tunnel {
# https://sudoroom.org/wiki/Mesh/Relay_setup
chroot "$rootdir" apt-get -yq install xl2tpd l2tpns
chroot "$rootdir" apt-get -yq install xl2tpd l2tpns libnl-3-dev libnl-3-200
chroot "$rootdir" apt-get -yq install iproute bridge-utils libnetfilter-conntrack3 python-dev libevent-dev ebtables python-pip git
git clone https://github.com/wlanslovenija/tunneldigger $rootdir/opt/tunneldigger
@ -147,6 +147,7 @@ function install_mesh_tunnel {
echo $'Unable to clone tunneldigger repo'
exit 1987453
fi
sed -i 's|-I. |-I. -I/usr/include/libnl3 |g' $rootdir/opt/tunneldigger/client/Makefile
echo '#!/bin/bash' > $rootdir/opt/tunneldigger/buildtunnel.sh
echo 'cd /opt/tunneldigger/client' >> $rootdir/opt/tunneldigger/buildtunnel.sh
echo 'make' >> $rootdir/opt/tunneldigger/buildtunnel.sh

View File

@ -632,7 +632,7 @@ initialise_mesh() {
configure_firewall
install_avahi
install_batman
install_mesh_tunnel
#install_mesh_tunnel
install_tomb
#install_tahoelafs
#install_librevault