<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: redhat network status unpluged in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363473#M81944</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;yeah i know this way but im looking for a way for linux to recognize an unpluged network card.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;mohannad</description>
    <pubDate>Mon, 23 Feb 2009 10:20:54 GMT</pubDate>
    <dc:creator>mohannad</dc:creator>
    <dc:date>2009-02-23T10:20:54Z</dc:date>
    <item>
      <title>redhat network status unpluged</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363471#M81942</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;im trying to find a command or a way to detect network fauilers on redhat es 5.&lt;BR /&gt;&lt;BR /&gt;mii and ethtool are no use ethtool link status is always yes and its not even supported for my driver also the mii tool  , also thers no ifplugd for the kernel 2.6 only working version is for 2.4.&lt;BR /&gt;&lt;BR /&gt;the ifconfig always giv status up.&lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;BR /&gt;&lt;BR /&gt;i noted that when ever the network is un pluged the avahi deamon starts to dump errors into the messages&lt;BR /&gt;&lt;BR /&gt;but i need a more relaiable way for detecting the unpluged network&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2009 23:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363471#M81942</guid>
      <dc:creator>mohannad</dc:creator>
      <dc:date>2009-02-20T23:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: redhat network status unpluged</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363472#M81943</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Pick an IP address on the network at a location that means there is a network if it can be pinged.&lt;BR /&gt;&lt;BR /&gt;ping -c 1 -W 30 &lt;DESTINATION ip="" address=""&gt;&lt;BR /&gt;rc=$?&lt;BR /&gt;&lt;BR /&gt;if [ $rc -ne 0 ]&lt;BR /&gt;then &lt;BR /&gt;   echo "No network!!!"&lt;BR /&gt;else&lt;BR /&gt;   echo "Network up"&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;The ping statement is 1 ping timeout 30 seconds.&lt;BR /&gt;&lt;BR /&gt;The code has echo statements where you can place code and do notification of network failure.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;/DESTINATION&gt;</description>
      <pubDate>Sun, 22 Feb 2009 13:32:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363472#M81943</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-22T13:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: redhat network status unpluged</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363473#M81944</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;yeah i know this way but im looking for a way for linux to recognize an unpluged network card.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;mohannad</description>
      <pubDate>Mon, 23 Feb 2009 10:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363473#M81944</guid>
      <dc:creator>mohannad</dc:creator>
      <dc:date>2009-02-23T10:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: redhat network status unpluged</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363474#M81945</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you can use "ethtool"&lt;BR /&gt;&lt;BR /&gt;it gives (among other information):&lt;BR /&gt;&lt;BR /&gt;Link detected: yes&lt;BR /&gt;&lt;BR /&gt;rgds&lt;BR /&gt;HGH&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2009 10:43:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363474#M81945</guid>
      <dc:creator>Hemmetter</dc:creator>
      <dc:date>2009-02-23T10:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: redhat network status unpluged</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363475#M81946</link>
      <description>Shalom Mohannad,&lt;BR /&gt;&lt;BR /&gt;My script provides the basis for the system knowing the network is disconnected.&lt;BR /&gt;&lt;BR /&gt;Replacing the echo statement with what you want the system to do accomplishes the goal.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 23 Feb 2009 10:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363475#M81946</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-23T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: redhat network status unpluged</title>
      <link>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363476#M81947</link>
      <description>If youâ  re specifically looking for an unplugged cable between the server &amp;amp; switch I think the switch is best place to monitor this. Have your switch send SNMP traps to your monitoring system when it detects the link is down.&lt;BR /&gt;&lt;BR /&gt;We also have the HP NIC agents running so that when a network cable is unplugged an SNMP trap is sent to our monitoring system. This picks up if the link is down but as the traps are generated from the server you need network connectivity in order for the traps to reach their destination. &lt;BR /&gt;&lt;BR /&gt;If you need more in-depth checking like errors or collisions (duplex mismatch, dodgy cable etc..) or that the routes are up youâ  ll need something a bit more than the basic up/down type events above, really depends on what exactly youâ  re after.&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Feb 2009 11:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/redhat-network-status-unpluged/m-p/4363476#M81947</guid>
      <dc:creator>StarAdmin</dc:creator>
      <dc:date>2009-02-24T11:21:40Z</dc:date>
    </item>
  </channel>
</rss>

