Thanks:
0
Likes:
0
Dislikes:
0
-
Standard RSP member
- Rep Power
- 59
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 (www.ping.eu)"
data="`ping -c 1 www.ping.eu | 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
###################################
locatie
var/tuxbox/plugins
NET.sh..Attributes>755
editati ip (192.168.8.1) cu ip-ul vostru
si (***.***.***.***) cu numele hostului
download
http://www.girlshare.ro/559942.9
-
Re: NET diagnostic plugins E1
Este foarte bun, intr-adevar !
A incercat totusi cineva plugin-ul fara net ???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules