2023-02-13 16:24:47 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-04-17 20:26:06 +00:00
|
|
|
conn=$1; shift
|
|
|
|
|
2023-11-03 10:12:45 +00:00
|
|
|
set -x
|
|
|
|
|
|
|
|
# if tmux ls | grep ^${conn}:; then
|
|
|
|
# tmux attach -t ${conn}
|
|
|
|
# exit 0
|
|
|
|
# fi
|
2023-09-06 11:24:43 +00:00
|
|
|
|
2023-04-17 20:26:06 +00:00
|
|
|
case "$conn" in
|
2023-10-03 18:26:17 +00:00
|
|
|
edurable)
|
|
|
|
tmux new-session -s ${conn} -d ping 192.168.3.102
|
|
|
|
tmux split-window -t ${conn} -h ping 192.168.3.103
|
|
|
|
tmux select-layout -t ${conn} even-horizontal
|
|
|
|
tmux split-window -t ${conn} -v ping 192.168.3.104
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 192.168.3.105
|
|
|
|
tmux attach -t ${conn}
|
|
|
|
;;
|
2023-09-15 12:37:00 +00:00
|
|
|
rmgreen)
|
|
|
|
tmux new-session -s ${conn} -d ping 195.48.74.164
|
|
|
|
tmux split-window -t ${conn} -h ping 195.48.74.132
|
|
|
|
tmux split-window -t ${conn} -h ping 195.48.74.134
|
|
|
|
tmux select-layout -t ${conn} even-horizontal
|
|
|
|
tmux split-window -t ${conn} -v ping 195.48.74.135
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 195.48.74.133
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 195.48.74.165
|
|
|
|
tmux attach -t ${conn}
|
|
|
|
;;
|
2023-09-23 09:40:46 +00:00
|
|
|
rmrouterv6)
|
2023-09-06 11:24:43 +00:00
|
|
|
tmux new-session -s ${conn} -d ping 2a0f:98c0:1::2
|
|
|
|
tmux split-window -t ${conn} -h ping 2a0f:98c0:2::2
|
|
|
|
tmux split-window -t ${conn} -h ping 2a0f:98c0:9::2
|
|
|
|
tmux select-layout -t ${conn} even-horizontal
|
|
|
|
tmux split-window -t ${conn} -v ping 2a0f:98c0:9::3
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 2a0f:98c0:2::3
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 2a0f:98c0:1::3
|
|
|
|
tmux attach -t ${conn}
|
2023-09-23 09:40:46 +00:00
|
|
|
;;
|
|
|
|
rmrouterv4)
|
|
|
|
tmux new-session -s ${conn} -d ping 172.16.6.2
|
|
|
|
tmux split-window -t ${conn} -h ping 172.16.16.2
|
|
|
|
tmux split-window -t ${conn} -h ping 172.16.32.2
|
|
|
|
tmux select-layout -t ${conn} even-horizontal
|
|
|
|
tmux split-window -t ${conn} -v ping 172.16.32.3
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 172.16.16.3
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 172.16.6.3
|
|
|
|
tmux attach -t ${conn}
|
2023-02-13 16:24:47 +00:00
|
|
|
;;
|
2023-07-29 15:14:51 +00:00
|
|
|
rmapu)
|
2023-09-06 11:24:43 +00:00
|
|
|
tmux new-session -s ${conn} -d ping 2a0f:98c0:1::15
|
|
|
|
tmux split-window -t ${conn} -h ping 2a0f:98c0:2::15
|
|
|
|
tmux split-window -t ${conn} -h ping 2a0f:98c0:9::15
|
|
|
|
tmux select-layout -t ${conn} even-horizontal
|
|
|
|
tmux split-window -t ${conn} -v ping 2a0f:98c0:9::16
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 2a0f:98c0:2::16
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 2a0f:98c0:1::16
|
|
|
|
tmux attach -t ${conn}
|
2023-07-29 15:14:51 +00:00
|
|
|
;;
|
2023-09-15 12:37:00 +00:00
|
|
|
rmapugreen)
|
|
|
|
tmux new-session -s ${conn} -d ping 195.48.74.167
|
|
|
|
tmux split-window -t ${conn} -h ping 195.48.74.137
|
|
|
|
tmux split-window -t ${conn} -h ping 195.48.74.139
|
|
|
|
tmux select-layout -t ${conn} even-horizontal
|
|
|
|
tmux split-window -t ${conn} -v ping 195.48.74.140
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 195.48.74.138
|
|
|
|
tmux select-pane -t ${conn} -L
|
|
|
|
tmux split-window -t ${conn} -v ping 195.48.74.168
|
|
|
|
tmux attach -t ${conn}
|
|
|
|
;;
|
2023-02-22 10:19:45 +00:00
|
|
|
rmv6)
|
|
|
|
tmux new-session -s rmv6 -d ping 2a0f:98c0:7::1
|
|
|
|
tmux split-window -t rmv6 -h ping 2a0f:98c0:3::1
|
|
|
|
tmux split-window -t rmv6 -h ping 2a01:2a8:a182::8
|
|
|
|
tmux select-layout -t rmv6 even-horizontal
|
|
|
|
tmux split-window -t rmv6 -v ping 2a01:2a8:a182::9
|
|
|
|
tmux select-pane -t rmv6 -L
|
|
|
|
tmux split-window -t rmv6 -v ping 2a0f:98c0:4::1
|
|
|
|
tmux select-pane -t rmv6 -L
|
|
|
|
tmux split-window -t rmv6 -v ping 2a0f:98c0:8::1
|
|
|
|
tmux attach -t rmv6
|
|
|
|
;;
|
|
|
|
rmv4)
|
2023-07-05 20:51:26 +00:00
|
|
|
tmux new-session -s "$conn" -d ping 147.78.193.9
|
|
|
|
tmux split-window -t "$conn" -h ping 147.78.192.9
|
|
|
|
tmux split-window -t "$conn" -h ping 195.48.74.134
|
|
|
|
tmux select-layout -t "$conn" even-horizontal
|
|
|
|
tmux split-window -t "$conn" -v ping 195.48.74.135
|
|
|
|
tmux select-pane -t "$conn" -L
|
|
|
|
tmux split-window -t "$conn" -v ping 147.78.192.10
|
|
|
|
tmux select-pane -t "$conn" -L
|
|
|
|
tmux split-window -t "$conn" -v ping 147.78.193.10
|
|
|
|
tmux attach -t "$conn"
|
2023-02-22 10:19:45 +00:00
|
|
|
;;
|
2023-04-17 20:26:06 +00:00
|
|
|
ungleich)
|
|
|
|
tmux new-session -s "$conn" -d ping nico-vm.schottelius.org
|
|
|
|
tmux split-window -t "$conn" -h ping 147.78.192.9
|
|
|
|
;;
|
2023-05-12 09:35:12 +00:00
|
|
|
v6test)
|
|
|
|
tmux new-session -s v6test -d ping 2600::
|
|
|
|
tmux split-window -t v6test -h ping -6 heise.de
|
|
|
|
tmux split-window -t v6test -h ping emonitor1.place12.ungleich.ch
|
|
|
|
tmux select-layout -t v6test even-horizontal
|
|
|
|
tmux split-window -t v6test -v ping router1.place10.ungleich.ch
|
|
|
|
tmux select-pane -t v6test -L
|
|
|
|
tmux split-window -t v6test -v ping router1.place7.ungleich.ch
|
|
|
|
tmux select-pane -t v6test -L
|
|
|
|
tmux split-window -t v6test -v ping vm1.place11.ungleich.ch
|
|
|
|
tmux attach -t v6test
|
|
|
|
;;
|
2023-07-08 12:50:47 +00:00
|
|
|
148)
|
|
|
|
tmux new-session -s "$conn" -d ping 148.222.251.1
|
|
|
|
tmux split-window -t "$conn" -h ping 148.222.250.1
|
|
|
|
tmux split-window -t "$conn" -h ping 148.222.249.1
|
|
|
|
tmux select-layout -t "$conn" even-horizontal
|
|
|
|
tmux split-window -t "$conn" -v ping 148.222.248.1
|
|
|
|
tmux select-pane -t "$conn" -L
|
|
|
|
tmux split-window -t "$conn" -v ping 148.222.248.2
|
|
|
|
#tmux select-pane -t "$conn" -L
|
|
|
|
#tmux split-window -t "$conn" -v ping 91.194.139.5
|
|
|
|
tmux attach -t "$conn"
|
|
|
|
;;
|
2023-07-05 20:51:26 +00:00
|
|
|
91)
|
|
|
|
tmux new-session -s "$conn" -d ping 91.194.139.0
|
|
|
|
tmux split-window -t "$conn" -h ping 91.194.139.1
|
|
|
|
tmux split-window -t "$conn" -h ping 91.194.139.2
|
|
|
|
tmux select-layout -t "$conn" even-horizontal
|
|
|
|
tmux split-window -t "$conn" -v ping 91.194.139.3
|
|
|
|
tmux select-pane -t "$conn" -L
|
|
|
|
tmux split-window -t "$conn" -v ping 91.194.139.4
|
|
|
|
tmux select-pane -t "$conn" -L
|
|
|
|
tmux split-window -t "$conn" -v ping 91.194.139.5
|
|
|
|
tmux attach -t "$conn"
|
|
|
|
;;
|
2023-07-08 14:27:16 +00:00
|
|
|
p5-p10-p15)
|
|
|
|
tmux new-session -s "$conn" -d ping 2a0a:e5c0:33::1
|
|
|
|
tmux split-window -t "$conn" -h ping 2a0a:e5c0:42::1
|
|
|
|
tmux split-window -t "$conn" -h ping 2a0a:e5c0:2d::1
|
|
|
|
tmux select-layout -t "$conn" even-horizontal
|
|
|
|
tmux split-window -t "$conn" -v ping 2a0a:e5c0:2e::1
|
|
|
|
tmux select-pane -t "$conn" -L
|
|
|
|
tmux split-window -t "$conn" -v ping 2a0a:e5c0:43::1
|
|
|
|
tmux select-pane -t "$conn" -L
|
|
|
|
tmux split-window -t "$conn" -v ping 2a0a:e5c0:34::1
|
|
|
|
tmux attach -t "$conn"
|
|
|
|
;;
|
2023-08-31 07:04:52 +00:00
|
|
|
genauso)
|
|
|
|
tmux new-session -s "$conn" -d ping router2.ge.nau.so
|
|
|
|
tmux split-window -t "$conn" -h ping router3.ge.nau.so
|
|
|
|
tmux split-window -t "$conn" -h ping loch.un.ge.nau.so
|
|
|
|
tmux select-layout -t "$conn" even-horizontal
|
|
|
|
# tmux split-window -t "$conn" -v ping 2a0a:e5c0:2e::1
|
|
|
|
# tmux select-pane -t "$conn" -L
|
|
|
|
# tmux split-window -t "$conn" -v ping 2a0a:e5c0:43::1
|
|
|
|
# tmux select-pane -t "$conn" -L
|
|
|
|
# tmux split-window -t "$conn" -v ping 2a0a:e5c0:34::1
|
|
|
|
tmux attach -t "$conn"
|
|
|
|
;;
|
2023-11-17 13:11:52 +00:00
|
|
|
outside)
|
|
|
|
tmux new-session -s "$conn" -d ping 2600::
|
|
|
|
tmux split-window -t "$conn" -v ping 8.8.8.8
|
|
|
|
tmux attach -t "$conn"
|
|
|
|
;;
|
2023-02-13 16:24:47 +00:00
|
|
|
esac
|