Bob Mottram 9 years ago
parent
commit
711c30891a
4 changed files with 7 additions and 7 deletions
  1. 2
    2
      src/freedombone
  2. 3
    3
      src/freedombone-client
  3. 1
    1
      src/freedombone-mesh
  4. 1
    1
      src/zeronetavahi

+ 2
- 2
src/freedombone View File

@@ -404,7 +404,7 @@ TOX_NODE=
404 404
 #ZERONET_REPO='https://github.com/HelloZeroNet/ZeroNet.git'
405 405
 ZERONET_REPO='https://github.com/bashrc/ZeroNet.git'
406 406
 ZERONET_PORT=15441
407
-TRACKER_PORT=51413
407
+TRACKER_PORT=6969
408 408
 
409 409
 # Default diffie-hellman key length in bits
410 410
 DH_KEYLENGTH=1024
@@ -1622,7 +1622,7 @@ function install_zeronet {
1622 1622
   fi
1623 1623
 
1624 1624
   apt-get -y install python python-msgpack python-gevent
1625
-  apt-get -y install python-pip transmission-daemon
1625
+  apt-get -y install python-pip bittornado
1626 1626
   pip install msgpack-python --upgrade
1627 1627
 
1628 1628
   useradd -d /opt/zeronet/ -s /bin/false zeronet

+ 3
- 3
src/freedombone-client View File

@@ -48,7 +48,7 @@ SSH_KEX="curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256"
48 48
 SSH_HOST_KEY_ALGORITHMS="ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-ed25519,ssh-rsa"
49 49
 
50 50
 ZERONET_PORT=15441
51
-TRACKER_PORT=51413
51
+TRACKER_PORT=6969
52 52
 
53 53
 # see https://stribika.github.io/2015/01/04/secure-secure-shell.html
54 54
 function ssh_remove_small_moduli {
@@ -144,7 +144,7 @@ function mesh_babel {
144 144
   echo '        return' >> $babel_script
145 145
   echo '    fi' >> $batman_script
146 146
   echo '    # install avahi' >> $babel_script
147
-  echo '    apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd transmission-daemon' >> $babel_script
147
+  echo '    apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd bittornado' >> $babel_script
148 148
   echo '    sed -i "s|#host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script
149 149
   echo '    sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $babel_script
150 150
   echo '    if [ -f /bin/systemctl ]; then' >> $babel_script
@@ -229,7 +229,7 @@ function mesh_batman {
229 229
   echo '' >> $batman_script
230 230
   echo 'if [[ $1 == "start" ]]; then' >> $batman_script
231 231
   echo '    # install avahi' >> $batman_script
232
-  echo '    apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd transmission-daemon' >> $batman_script
232
+  echo '    apt-get -y install avahi-utils avahi-autoipd avahi-daemon avahi-dnsconfd bittornado' >> $batman_script
233 233
   echo '    sed -i "s|#host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $batman_script
234 234
   echo '    sed -i "s|host-name=.*|host-name=$(hostname)|g" /etc/avahi/avahi-daemon.conf' >> $batman_script
235 235
   echo '    sed -i "s|use-ipv4=.*|use-ipv4=yes|g" /etc/avahi/avahi-daemon.conf' >> $batman_script

+ 1
- 1
src/freedombone-mesh View File

@@ -56,7 +56,7 @@ function install_zeronet {
56 56
       return
57 57
   fi
58 58
   sudo apt-get -y install python python-msgpack python-gevent
59
-  sudo apt-get -y install python-pip transmission-daemon
59
+  sudo apt-get -y install python-pip bittornado
60 60
   sudo pip install msgpack-python --upgrade
61 61
 
62 62
   git clone $ZERONET_REPO $ZERONET_DIR

+ 1
- 1
src/zeronetavahi View File

@@ -28,7 +28,7 @@
28 28
 # You should have received a copy of the GNU General Public License
29 29
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
30 30
 
31
-TRACKER_PORT=51413
31
+TRACKER_PORT=6969
32 32
 BOOTSTRAP_FILE=/opt/zeronet/bootstrap
33 33
 
34 34
 if [ ! -d /opt/zeronet ]; then