No tunnel yet
This commit is contained in:
parent
6e1379904a
commit
057c1389cc
|
@ -139,7 +139,7 @@ function mesh_install_batman {
|
||||||
|
|
||||||
function install_mesh_tunnel {
|
function install_mesh_tunnel {
|
||||||
# https://sudoroom.org/wiki/Mesh/Relay_setup
|
# 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
|
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
|
git clone https://github.com/wlanslovenija/tunneldigger $rootdir/opt/tunneldigger
|
||||||
|
@ -147,6 +147,7 @@ function install_mesh_tunnel {
|
||||||
echo $'Unable to clone tunneldigger repo'
|
echo $'Unable to clone tunneldigger repo'
|
||||||
exit 1987453
|
exit 1987453
|
||||||
fi
|
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 '#!/bin/bash' > $rootdir/opt/tunneldigger/buildtunnel.sh
|
||||||
echo 'cd /opt/tunneldigger/client' >> $rootdir/opt/tunneldigger/buildtunnel.sh
|
echo 'cd /opt/tunneldigger/client' >> $rootdir/opt/tunneldigger/buildtunnel.sh
|
||||||
echo 'make' >> $rootdir/opt/tunneldigger/buildtunnel.sh
|
echo 'make' >> $rootdir/opt/tunneldigger/buildtunnel.sh
|
||||||
|
|
|
@ -632,7 +632,7 @@ initialise_mesh() {
|
||||||
configure_firewall
|
configure_firewall
|
||||||
install_avahi
|
install_avahi
|
||||||
install_batman
|
install_batman
|
||||||
install_mesh_tunnel
|
#install_mesh_tunnel
|
||||||
install_tomb
|
install_tomb
|
||||||
#install_tahoelafs
|
#install_tahoelafs
|
||||||
#install_librevault
|
#install_librevault
|
||||||
|
|
Loading…
Reference in New Issue