Hi, i need to run at every startup a ping (without end) to one or 2 ip....
how can i do?
ping on startup
-
merovingi0
- Registrierte Benutzer

- Beiträge: 39
- Registriert: Sa 8. Sep 2012, 12:31
Re: ping on startup
You can use the scripts in /var/etc : voremu.sh or vorneutrino.sh for putting there own commands.
The scripts will execute while starting.
The scripts will execute while starting.
MfG DboxOldie


- BPanther
- Administrator

- Beiträge: 8683
- Registriert: Do 11. Jan 2007, 00:06
- Wohnort: Berlin
- Kontaktdaten:
Re: ping on startup
Why an endless ping? Maybe that slow down the network...
MfG BPanther
KEIN SUPPORT PER PN -> Bitte das Forum benutzen und ins [url=https://wiki.mbremer.de][b]Wiki[/b][/url] schauen.

Thx udog für das Bild.
TV: Sony Bravia KDL-46HX755, Sony Bravia KDL-40W4500 (old)
Boxen: 7x UFS910 (128MB), UFS912, UFS913, AV700, AV7000, AV7500 (DVB-S/C/T), Edision Argus Pingulux, Vizyon820HD
KEIN SUPPORT PER PN -> Bitte das Forum benutzen und ins [url=https://wiki.mbremer.de][b]Wiki[/b][/url] schauen.

Thx udog für das Bild.
TV: Sony Bravia KDL-46HX755, Sony Bravia KDL-40W4500 (old)
Boxen: 7x UFS910 (128MB), UFS912, UFS913, AV700, AV7000, AV7500 (DVB-S/C/T), Edision Argus Pingulux, Vizyon820HD
-
merovingi0
- Registrierte Benutzer

- Beiträge: 39
- Registriert: Sa 8. Sep 2012, 12:31
Re: ping on startup
how? I'm not a genius linuxDboxOldie 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.
i am connected with a 3g modem and I wanted to try to see if the vpn remained more stableBPanther hat geschrieben:Why an endless ping? Maybe that slow down the network...
Re: ping on startup
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 !!!!
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 !!!!
MfG DboxOldie



