From ae4e1bdab70e8eaf8c35006ba6ecaac0be7913c2 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 5 Jan 2013 22:57:09 +0000 Subject: add rubus - jules raspi --- retiolum/hosts/rubus | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 retiolum/hosts/rubus diff --git a/retiolum/hosts/rubus b/retiolum/hosts/rubus new file mode 100644 index 00000000..0ba98c0d --- /dev/null +++ b/retiolum/hosts/rubus @@ -0,0 +1,11 @@ +Subnet = 10.243.137.174 +Subnet = 42:7941:278b:bd29:f0ab:9c09:e5e9:7965 + +-----BEGIN RSA PUBLIC KEY----- +MIIBCgKCAQEAznS+XyF278SXTVgK9OG8SDu+pffDZtBeYfyyNHAVt/2EeE3cfIJZ +3iBXMcD8/yelCWMY6S+MNNnP+KqyCCVuG8rvhpMjB/RGzqLFSTLZoQOmC/O9S3i3 +TKKr4zxyBxjSFAPSOeHbrERAyREg/GNrLxX/SzT/yOgRDjZLA1Z5CgunXVeiB7BF +9jL1U6AahFD/6NzaPAc4+mSAQJzGw4P5TeVvAlhf96x5I0sBc09Vu87sL9NJOpi8 +hqWYhLWjZF4CRusjV3SL9kUj668CZO1S9Ooe3FO37Pa0fftDLQekCpBDrtoNr6LW +O2BYBEXsQn5ooZgAysm7mi9Hbdc3dPl5/QIDAQAB +-----END RSA PUBLIC KEY----- -- cgit v1.2.3 From 09f5a23e9c562e602714bbe235ea8ab62bb4cadb Mon Sep 17 00:00:00 2001 From: root Date: Sat, 5 Jan 2013 22:59:21 +0000 Subject: fix connectTo, replace euer with pigstarter --- retiolum/scripts/tinc_setup/new_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh index 7433d7b1..167cccfc 100755 --- a/retiolum/scripts/tinc_setup/new_install.sh +++ b/retiolum/scripts/tinc_setup/new_install.sh @@ -334,7 +334,7 @@ AutoConnect = 3 #ConnectTos ConnectTo = supernode -ConnectTo = euer +ConnectTo = pigstarter ConnectTo = pico EOF -- cgit v1.2.3 From 99e9301be379f466948d1be30f7b97285027b062 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 5 Jan 2013 23:26:46 +0000 Subject: boot/retiolum.sh: welcome to the escaping hell --- retiolum/scripts/tinc_setup/new_install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh index 167cccfc..1d16cfb9 100755 --- a/retiolum/scripts/tinc_setup/new_install.sh +++ b/retiolum/scripts/tinc_setup/new_install.sh @@ -346,17 +346,17 @@ if type ip >/dev/null; then echo '' >> tinc-up echo 'conf=$dirname/tinc.conf' >> tinc-up echo '' >> tinc-up - echo 'name=$(sed -n "s|^ *Name *= *\([^ ]*\) *$|\1|p " $conf)' >> tinc-up + echo 'name=$(sed -n "s|^ *Name *= *\([^ ]*\) *$|\\1|p" $conf)' >> tinc-up echo '' >> tinc-up echo 'host=$dirname/hosts/$name' >> tinc-up echo '' >> tinc-up echo 'ip link set $INTERFACE up' >> tinc-up echo '' >> tinc-up - echo "addr4=\$(sed -n \"s|^ *Subnet *= *\\($SUBNET4[.][^ ]*\\) *$|\\1|p\" \$host)" >> tinc-up + echo "addr4=\$(sed -n \"s|^ *Subnet *= *\\($SUBNET4[.][^ ]*\\) *\$|\\\\1|p\" \$host)" >> tinc-up echo 'ip -4 addr add $addr4 dev $INTERFACE' >> tinc-up echo "ip -4 route add $FULLSUBNET/$MASK4 dev \$INTERFACE" >> tinc-up echo '' >> tinc-up - echo "addr6=\$(sed -n \"s|^ *Subnet *= *\\($SUBNET6[:][^ ]*\\) *$|\\1|p\" \$host)" >> tinc-up + echo "addr6=\$(sed -n \"s|^ *Subnet *= *\\($SUBNET6[:][^ ]*\\) *\$|\\\\1|p\" \$host)" >> tinc-up echo 'ip -6 addr add $addr6 dev $INTERFACE' >> tinc-up echo "ip -6 route add $SUBNET6::/$MASK6 dev \$INTERFACE" >> tinc-up else @@ -364,11 +364,11 @@ else echo '' >> tinc-up echo 'conf=$dirname/tinc.conf' >> tinc-up echo '' >> tinc-up - echo 'name=$(sed -n "s|^ *Name *= *\([^ ]*\) *$|\1|p " $conf)' >> tinc-up + echo 'name=$(sed -n "s|^ *Name *= *\([^ ]*\) *$|\\1|p" $conf)' >> tinc-up echo '' >> tinc-up echo 'host=$dirname/hosts/$name' >> tinc-up echo '' >> tinc-up - echo "addr4=\$(sed -n \"s|^ *Subnet *= *\\($SUBNET4[.][^ ]*\\) *$|\\1|p\" \$host)" >> tinc-up + echo "addr4=\$(sed -n \"s|^ *Subnet *= *\\($SUBNET4[.][^ ]*\\) *$|\\\\1|p\" \$host)" >> tinc-up echo 'ifconfig $INTERFACE $addr4' >> tinc-up echo "route add -net $FULLSUBNET netmask $RMASK dev \$INTERFACE " >> tinc-up fi -- cgit v1.2.3