summaryrefslogtreecommitdiff
path: root/contrib/peer2anonet
diff options
context:
space:
mode:
authord3v11 <d3v11@d3v11.ano>2011-11-03 19:35:29 -0400
committerd3v11 <d3v11@d3v11.ano>2011-11-03 19:35:29 -0400
commit8ebb4c96fa73fd490aff71076da273214200d5ee (patch)
tree0619797ae0333bbb03bdcd9dd6f6aa70c38c9d6a /contrib/peer2anonet
parent06c7e29cb8008b697463f02d693826f64643499f (diff)
downloadresdb-8ebb4c96fa73fd490aff71076da273214200d5ee.tar.gz
resdb-8ebb4c96fa73fd490aff71076da273214200d5ee.zip
Peer2AnoNet bug fixed with run script, ping hack
Diffstat (limited to 'contrib/peer2anonet')
-rw-r--r--contrib/peer2anonet/peer2anonet5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/peer2anonet/peer2anonet b/contrib/peer2anonet/peer2anonet
index 2416d74..a09d42c 100644
--- a/contrib/peer2anonet/peer2anonet
+++ b/contrib/peer2anonet/peer2anonet
@@ -168,7 +168,7 @@ export INTERFACE=ppp-$PEERNAME
ip addr add $P2A_IP peer $PEERIP/32 dev \$INTERFACE scope link
ip addr add $P2A_ROUTE/32 dev \$INTERFACE scope global
ip link set dev \$INTERFACE up
- ping -c 1 -I $INTERFACE -r -w 5
+ ping -c 1 -I \$INTERFACE -r -w 5
) &
exec /usr/sbin/quicktun.nacltai" > /services/"$PEERNAME"/run
chmod +x /services/"$PEERNAME"/run
@@ -182,7 +182,8 @@ echo "peer2anonet: New peering session configured.
Please place your secret key in: /services/$PEERNAME/seckey
Some additional options are available in /services/$PEERNAME/run
-Please read the comments in the file for details."
+Please read the comments in the file for details. You may need to
+restart the bird daemon. ie, svc -t /service/bird "