Hallo Gemeinde
Unter Ubuntu hat nc vielfältige Möglichkeiten:
usage: nc [-46CDdFhklNnrStUuvZz] [-I length] [-i interval] [-M ttl]
[-m minttl] [-O length] [-P proxy_username] [-p source_port]
[-q seconds] [-s source] [-T keyword] [-V rtable] [-W recvlimit] [-w timeout]
[-X proxy_protocol] [-x proxy_address[:port]] [destination] [port]
Ich nutze hier folgenden Befehl um per cron & script einen Port zu checken:
nc -z 192.168.1.105 16002
nc -z gibt es aber (im Standerd) nicht auf der VU:
BusyBox v1.23.2 (2018-03-02 19:58:21 CET) multi-call binary.
Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]
Open a pipe to IP:PORT or FILE
-l Listen mode, for inbound connects
(use -ll with -e for persistent server)
-p PORT Local port
-w SEC Connect timeout
-i SEC Delay interval for lines sent
-f FILE Use file (ala /dev/ttyS0) instead of network
-e PROG Run PROG after connect
Habe ich die Möglichkeit, ein zusätzliches Paket zu installieren, welches mir den vollen Funktionsumfang wie auf Ubuntu gibt?
Danke im Voraus!
Unter Ubuntu hat nc vielfältige Möglichkeiten:
usage: nc [-46CDdFhklNnrStUuvZz] [-I length] [-i interval] [-M ttl]
[-m minttl] [-O length] [-P proxy_username] [-p source_port]
[-q seconds] [-s source] [-T keyword] [-V rtable] [-W recvlimit] [-w timeout]
[-X proxy_protocol] [-x proxy_address[:port]] [destination] [port]
Ich nutze hier folgenden Befehl um per cron & script einen Port zu checken:
nc -z 192.168.1.105 16002
nc -z gibt es aber (im Standerd) nicht auf der VU:
BusyBox v1.23.2 (2018-03-02 19:58:21 CET) multi-call binary.
Usage: nc [-iN] [-wN] [-l] [-p PORT] [-f FILE|IPADDR PORT] [-e PROG]
Open a pipe to IP:PORT or FILE
-l Listen mode, for inbound connects
(use -ll with -e for persistent server)
-p PORT Local port
-w SEC Connect timeout
-i SEC Delay interval for lines sent
-f FILE Use file (ala /dev/ttyS0) instead of network
-e PROG Run PROG after connect
Habe ich die Möglichkeit, ein zusätzliches Paket zu installieren, welches mir den vollen Funktionsumfang wie auf Ubuntu gibt?
Danke im Voraus!
LG skamm71
"Alle sagten: Das geht nicht. Dann kam einer, der wusste das nicht und hat's gemacht."
"Alle sagten: Das geht nicht. Dann kam einer, der wusste das nicht und hat's gemacht."