Seite 1 von 1
ping on startup
Verfasst: Di 30. Jul 2013, 18:16
von merovingi0
Hi, i need to run at every startup a ping (without end) to one or 2 ip....
how can i do?
Re: ping on startup
Verfasst: Di 30. Jul 2013, 19:01
von DboxOldie
You can use the scripts in /var/etc : voremu.sh or vorneutrino.sh for putting there own commands.
The scripts will execute while starting.
Re: ping on startup
Verfasst: Di 30. Jul 2013, 20:31
von BPanther
Why an endless ping? Maybe that slow down the network...
Re: ping on startup
Verfasst: Di 30. Jul 2013, 20:49
von merovingi0
DboxOldie hat geschrieben:You can use the scripts in /var/etc : voremu.sh or vorneutrino.sh for putting there own commands.
The scripts will execute while starting.
how? I'm not a genius linux
BPanther hat geschrieben:Why an endless ping? Maybe that slow down the network...
i am connected with a 3g modem and I wanted to try to see if the vpn remained more stable
Re: ping on startup
Verfasst: Di 30. Jul 2013, 21:18
von DboxOldie
Put this command in for example:
ping -w 10 google.com > /tmp/ping.txt &
and 10 packets were send and the result is print in /tmp/ping.txt.
ATTENTION !!!
without the -w param the command will run endless and after some time your box memory blows up !!!
AND !!!
use a unix - able editor for changes, otherwise the box will hang !!!!