changeset 728:37b9a0bcd1f2 draft

Peer2AnoNet bug fixed with run script, ping hack
author d3v11 <d3v11@d3v11.ano>
date Thu, 03 Nov 2011 19:35:29 -0400
parents 3138e320dc47
children e8d1fe231dc3
files contrib/peer2anonet/peer2anonet
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/peer2anonet/peer2anonet	Thu Nov 03 14:13:00 2011 -0400
+++ b/contrib/peer2anonet/peer2anonet	Thu Nov 03 19:35:29 2011 -0400
@@ -168,7 +168,7 @@
  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 @@
 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 "