Hi, i need to run at every startup a ping (without end) to one or 2 ip....
how can i do?
ping on startup
-
- Registrierte Benutzer
- Beiträge: 39
- Registriert: Sa 8. Sep 2012, 12:31
- Hat sich bedankt: 0
- Danksagung erhalten: 0
- DboxOldie
- Co-Admin
- Beiträge: 5423
- Registriert: Sa 6. Aug 2011, 15:21
- Hat sich bedankt: 79 Mal
- Danksagung erhalten: 298 Mal
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.
- BPanther
- Administrator
- Beiträge: 13444
- Registriert: Do 11. Jan 2007, 00:06
- Wohnort: Berlin
- Hat sich bedankt: 672 Mal
- Danksagung erhalten: 1491 Mal
- Kontaktdaten:
Re: ping on startup
Why an endless ping? Maybe that slow down the network...
MfG BPanther
KEIN SUPPORT PER PN -> Bitte das Forum nutzen und das Wiki lesen.
Thx udog für das Bild.
TV: Sony Bravia KDL-46HX755
Boxen mit NMP und Unicable2 (Jess):
SH4: 7x UFS910 (1W, 128MB), 1x UFS910 (14W, 64MB), 1x UFS912, 2x UFS913, 1x AV700, 1x AV7000, 1x AV7500 (DVB-S/C/T), 1x Edision Argus Pingulux, 1x Vizyon820HD
MIPS: 1x VU+DUO, 1x VU+DUO2, 1x DM8000, 1x DM800
ARM: 3x AX 4K HD51 (DVB-S/SX/C/T/T2), 1x VU+Solo4K (DVB-S/SX (FBC)/C/T/T2 (DUAL)), 1x VU+Duo4K (DVB-S/SX (FBC)/C (FBC)), 3x E4HD 4K Ultra (DVB-S/SX/C/T/T2)
ARM: 1x VU+Duo4KSE (DVB-S/SX (FBC)/C (FBC)), 1x VU+Ultimo4K (DVB-S/SX (FBC)/C (DUAL)), 1x VU+Uno4KSE (DVB-S/SX (FBC)/C (FBC)), 2x VU+Zero4K (DVB-S/SX)
KEIN SUPPORT PER PN -> Bitte das Forum nutzen und das Wiki lesen.
Thx udog für das Bild.
TV: Sony Bravia KDL-46HX755
Boxen mit NMP und Unicable2 (Jess):
SH4: 7x UFS910 (1W, 128MB), 1x UFS910 (14W, 64MB), 1x UFS912, 2x UFS913, 1x AV700, 1x AV7000, 1x AV7500 (DVB-S/C/T), 1x Edision Argus Pingulux, 1x Vizyon820HD
MIPS: 1x VU+DUO, 1x VU+DUO2, 1x DM8000, 1x DM800
ARM: 3x AX 4K HD51 (DVB-S/SX/C/T/T2), 1x VU+Solo4K (DVB-S/SX (FBC)/C/T/T2 (DUAL)), 1x VU+Duo4K (DVB-S/SX (FBC)/C (FBC)), 3x E4HD 4K Ultra (DVB-S/SX/C/T/T2)
ARM: 1x VU+Duo4KSE (DVB-S/SX (FBC)/C (FBC)), 1x VU+Ultimo4K (DVB-S/SX (FBC)/C (DUAL)), 1x VU+Uno4KSE (DVB-S/SX (FBC)/C (FBC)), 2x VU+Zero4K (DVB-S/SX)
-
- Registrierte Benutzer
- Beiträge: 39
- Registriert: Sa 8. Sep 2012, 12:31
- Hat sich bedankt: 0
- Danksagung erhalten: 0
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...
- DboxOldie
- Co-Admin
- Beiträge: 5423
- Registriert: Sa 6. Aug 2011, 15:21
- Hat sich bedankt: 79 Mal
- Danksagung erhalten: 298 Mal
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 !!!!