ping on startup

Antworten
merovingi0
Registrierte Benutzer
Registrierte Benutzer
Beiträge: 39
Registriert: Sa 8. Sep 2012, 12:31
Hat sich bedankt: 0
Danksagung erhalten: 0

ping on startup

#1

Beitrag von merovingi0 »

Hi, i need to run at every startup a ping (without end) to one or 2 ip....
how can i do?
Benutzeravatar
DboxOldie
Co-Admin
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

#2

Beitrag 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.
MfG DboxOldie

KEIN SUPPORT PER PN > Bitte das Forum benutzen und ins Wiki schauen

Bild
Benutzeravatar
BPanther
Administrator
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

#3

Beitrag von BPanther »

Why an endless ping? Maybe that slow down the network...
MfG BPanther
KEIN SUPPORT PER PN -> Bitte das Forum nutzen und das Wiki lesen.


Bild Bild
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)
merovingi0
Registrierte Benutzer
Registrierte Benutzer
Beiträge: 39
Registriert: Sa 8. Sep 2012, 12:31
Hat sich bedankt: 0
Danksagung erhalten: 0

Re: ping on startup

#4

Beitrag 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
Benutzeravatar
DboxOldie
Co-Admin
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

#5

Beitrag 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 !!!!
MfG DboxOldie

KEIN SUPPORT PER PN > Bitte das Forum benutzen und ins Wiki schauen

Bild
Antworten

Zurück zu „UFS910 - FLASH“