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