Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

NET diagnostic Plugins E1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aslambhatti
    Senior Member
    • Jun 2010
    • 185

    NET diagnostic Plugins E1

    NET diagnostic Plugins E1
    NET diagnostic Plugins E1

    #!/bin/sh
    date
    echo "Begin_Testing router (192.168.8.1)"
    data="`ping -c 1 192.168.8.1 | grep '100%'`"
    if [ "$data" = "" ];
    then
    echo "Router OK"
    else
    echo "Router NOT WORK"
    fi
    echo "Begin_Testing internet (http://www.ping.eu)"
    data="`ping -c 1 Online Ping, Traceroute, DNS lookup, WHOIS, Port check, Reverse lookup, Proxy checker, Mail relaying, Bandwidth meter, Network calculator, Network mask calculator, Country by IP, Unit converter | grep '100%'`"
    if [ "$data" = "" ];
    then
    echo "Internet OK"
    else
    echo "Internet NOT WORK"
    fi
    echo "Begin_Testing sharing (***.***.***.***)"
    data="`ping -c 1 ***.***.***.*** | grep '100%'`"
    if [ "$data" = "" ];
    then
    echo "Sharing OK"
    else
    echo "Sharing NOT WORK"
    fi

    edit line data=****

    Download the latest 7-Zip for Windows 11. Free、fast、secure download. Easy installation, top compression. Your go-to 7zip solution
  • anisbh
    Junior Member
    • Sep 2010
    • 12

    #2
    Re: NET diagnostic Plugins E1

    what is the "fi", you mean end if ?

    Comment

    Working...