#!/bin/sh
# ~jhs/bin/.sh/beep 
# Purpose is an endless series of beeps, to listen to while walking
# further from PC, & moving co-ax ethernet terminator to find where
# the break in a cable is.

address=192.168.91.55
address=scan

if [ "x$#" == "x0" ] ; then     #{{
	echo "Pinging default address $address"
else                            #}{
	echo "Pinging address $1"
fi                              #}}

while true ; do
	ping -c 1 $address
	echo ""
	echo "BEEP `date -u +%Y-%m-%dT%H:%M:%SZ`"
	# sleep 1
	done
