Return a status for ping
|
2014-10-12, 12:22
Post: #1
|
|||
|
|||
Return a status for ping
I want tested uplink down or up with ping command
but it's not possible because the command is a loop ping ${netX/gateway} && echo Interface UP || echo Interface Down Is it possible to add a counter or a timer to ping ? Thank. |
|||
2014-12-03, 15:02
(This post was last modified: 2014-12-03 15:04 by robinsmidsrod.)
Post: #2
|
|||
|
|||
RE: Return a status for ping
A commit with the ability you need was committed with dea6a6c about 6 weeks ago. You should be able to do what you need to do if you use a current version of iPXE with the ping command enabled. See http://ipxe.org/cmd/ping for more details. The commit explaining the -c parameter to ping can be found here: https://git.ipxe.org/ipxe.git/commitdiff...f74c826d0c
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)