Skip to content

Commit

Permalink
added iperf server v4 and v6 to all launch script
Browse files Browse the repository at this point in the history
  • Loading branch information
Halino committed Jun 9, 2017
1 parent 65bc211 commit 95e611e
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion opkg_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ do
ip="$line"
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null $2 root@$ip:/tmp/
echo| ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@$ip "opkg --force-reinstall install /tmp/$2 && rm /tmp/$2"
echo "olsrv2 updated on $ip"
echo "packet deployed on $ip"
done
2 changes: 2 additions & 0 deletions scripts/babel
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ ip addr add $ipv4 dev wlan1
ip addr add $ipv6 dev wlan1

babeld -d 4 -C 'redistribute local deny' -C 'redistribute if wlan1 allow' wlan1 &
iperf -s -V -D &
iperf -s -D &
3 changes: 3 additions & 0 deletions scripts/batman-adv-4
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ brctl addif br-testbed bat0
ip addr add ${ipv4}/16 dev ${testbed_if}
ip -6 addr add ${ipv6}/16 dev ${testbed_if}

iperf -s -V -D &
iperf -s -D &

echo "batman-adv configuration completed."
3 changes: 3 additions & 0 deletions scripts/batman-adv-5
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,7 @@ brctl addif br-testbed bat0
ip addr add ${ipv4}/16 dev ${testbed_if}
ip -6 addr add ${ipv6}/16 dev ${testbed_if}

iperf -s -V -D &
iperf -s -D &

echo "batman-adv configuration completed."
3 changes: 3 additions & 0 deletions scripts/bmx7
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ bmx7 plugin=bmx7_tun.so plugin=bmx7_iwinfo.so dev=wlan1
bmx7 -c unicastHna=fc00:$HOSTNUMBER::/64
bmx7 -c tunDev=main /tun4Address 10.0.$HOSTNUMBER.1/24
bmx7 -c tunOut=v4out /network 10.0.0.0/8

iperf -s -V -D &
iperf -s -D &
3 changes: 3 additions & 0 deletions scripts/bmx7_tun
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ bmx7 plugin=bmx7_tun.so plugin=bmx7_iwinfo.so dev=wlan1
bmx7 -c tunDev=main /tun4Address 10.0.$HOSTNUMBER.1/24 /tun6Address fc00:$HOSTNUMBER::1/64
bmx7 -c tunOut=v4out /network 10.0.0.0/8
bmx7 -c tunOut=v6out /network fc00::/16

iperf -s -V -D &
iperf -s -D &
3 changes: 3 additions & 0 deletions scripts/olsr1
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,6 @@ EOF

olsrd -f /etc/olsrd/olsrd.conf
olsrd -f /etc/olsrd/olsrd.6.conf

iperf -s -V -D &
iperf -s -D &
3 changes: 3 additions & 0 deletions scripts/olsr2
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ cat > /tmp/olsrd2.conf << EOF
EOF

olsrd2 --load /tmp/olsrd2.conf --set global.fork=true

iperf -s -V -D &
iperf -s -D &

0 comments on commit 95e611e

Please sign in to comment.