<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=General_Connectivity_Check_for_Internet_and_Specified_Subnets</id>
	<title>General Connectivity Check for Internet and Specified Subnets - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.1701technology.com/index.php?action=history&amp;feed=atom&amp;title=General_Connectivity_Check_for_Internet_and_Specified_Subnets"/>
	<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=General_Connectivity_Check_for_Internet_and_Specified_Subnets&amp;action=history"/>
	<updated>2026-05-06T13:58:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.1701technology.com/index.php?title=General_Connectivity_Check_for_Internet_and_Specified_Subnets&amp;diff=91&amp;oldid=prev</id>
		<title>Michael.mast: Created page with &quot;&lt;pre&gt; #!/bin/bash clear cat &lt;&lt; EOF &gt; /tmp/iplist &lt;User Friendly Name&gt; &lt;IP in remote subnet to be tested against&gt; EOF echo &quot;----Checking Internet----&quot; ping -c1 -W 1 8.8.8.8 &amp;&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.1701technology.com/index.php?title=General_Connectivity_Check_for_Internet_and_Specified_Subnets&amp;diff=91&amp;oldid=prev"/>
		<updated>2016-06-13T18:34:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;pre&amp;gt; #!/bin/bash clear cat &amp;lt;&amp;lt; EOF &amp;gt; /tmp/iplist &amp;lt;User Friendly Name&amp;gt; &amp;lt;IP in remote subnet to be tested against&amp;gt; EOF echo &amp;quot;----Checking Internet----&amp;quot; ping -c1 -W 1 8.8.8.8 &amp;amp;&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
clear&lt;br /&gt;
cat &amp;lt;&amp;lt; EOF &amp;gt; /tmp/iplist&lt;br /&gt;
&amp;lt;User Friendly Name&amp;gt; &amp;lt;IP in remote subnet to be tested against&amp;gt;&lt;br /&gt;
EOF&lt;br /&gt;
echo &amp;quot;----Checking Internet----&amp;quot;&lt;br /&gt;
ping -c1 -W 1 8.8.8.8 &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
A=$?&lt;br /&gt;
if [ $A = 0 ]; then&lt;br /&gt;
traceroute -n -m 3 8.8.8.8 &amp;gt; /tmp/trace&lt;br /&gt;
sed -i '/traceroute/d' /tmp/trace&lt;br /&gt;
sed -i '/&amp;lt;name of script&amp;gt;/d' /tmp/trace&lt;br /&gt;
sed -i '/10.*/d' /tmp/trace&lt;br /&gt;
sed -i '/192.168.*/d' /tmp/trace&lt;br /&gt;
hop=$(cat /tmp/trace | awk '{print $2}')&lt;br /&gt;
rm -f /tmp/trace&lt;br /&gt;
echo &amp;quot;Google = $(tput setaf 2)UP$(tput sgr 0) Tracepath : $(tput setab 7)$(tput setaf 0)$hop$(tput sgr 0)&amp;quot;&lt;br /&gt;
unset hop&lt;br /&gt;
elif [ $A = 1 ]; then&lt;br /&gt;
echo &amp;quot;Google = $(tput setaf 1)DOWN$(tput sgr 0)&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
echo &amp;quot;----Checking Subnets----&amp;quot;&lt;br /&gt;
while read line&lt;br /&gt;
do&lt;br /&gt;
name=$(echo $line | awk '{print $1}')&lt;br /&gt;
ip=$(echo $line | awk '{print $2}')&lt;br /&gt;
ping -c2 -W 1 $ip &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
A=$?&lt;br /&gt;
if [ $A = 0 ]; then&lt;br /&gt;
echo &amp;quot;$name = $(tput setaf 2)UP$(tput sgr 0)&amp;quot;&lt;br /&gt;
elif [ $A = 1 ]; then&lt;br /&gt;
echo &amp;quot;$name = $(tput setaf 1)DOWN$(tput sgr 0)&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
done &amp;lt; /tmp/iplist&lt;br /&gt;
rm -f /tmp/iplist&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael.mast</name></author>
		
	</entry>
</feed>