瀏覽代碼

No tunnel yet

Bob Mottram 7 年之前
父節點
當前提交
057c1389cc
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. 2
    1
      src/freedombone-app-batman
  2. 1
    1
      src/freedombone-image-customise

+ 2
- 1
src/freedombone-app-batman 查看文件

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

+ 1
- 1
src/freedombone-image-customise 查看文件

632
     configure_firewall
632
     configure_firewall
633
     install_avahi
633
     install_avahi
634
     install_batman
634
     install_batman
635
-    install_mesh_tunnel
635
+    #install_mesh_tunnel
636
     install_tomb
636
     install_tomb
637
     #install_tahoelafs
637
     #install_tahoelafs
638
     #install_librevault
638
     #install_librevault