Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Vorhergehende Überarbeitung | |||
— | tinc_notes [2023/06/04 11:32] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | $ ls / | ||
+ | hosts rsa_key.priv | ||
+ | |||
+ | $ cat / | ||
+ | #!/bin/sh | ||
+ | | ||
+ | ip link set up mtu 1528 dev tinc_mesh | ||
+ | batctl if add tinc_mesh | ||
+ | |||
+ | |||
+ | $ cat / | ||
+ | BindToAddress = * 60655 | ||
+ | DirectOnly = yes | ||
+ | Hostnames = yes | ||
+ | IndirectData = yes | ||
+ | #ConnectTo = | ||
+ | Broadcast = direct | ||
+ | DeviceType = tap | ||
+ | Mode = switch | ||
+ | Name = HSNode | ||
+ | PingTimeout = 30 | ||
+ | Cipher = none | ||
+ | |||
+ | |||
+ | $ cat ~/ | ||
+ | #!/bin/sh | ||
+ | | ||
+ | exec >/ | ||
+ | date | ||
+ | | ||
+ | is_running() { ps aux | grep -v grep | grep " | ||
+ | | ||
+ | echo > / | ||
+ | | ||
+ | if is_running " | ||
+ | echo "tinc daemon is still running" | ||
+ | else | ||
+ | echo "start tinc daemon" | ||
+ | /sbin/tincd -n tinc_mesh --log / | ||
+ | fi | ||
+ | |||
+ | |||
+ | Crontab-Eintrag (/ | ||
+ | |||
+ | #*/5 * * * * |