# Script to ping computer

**URL:** <https://forum.inductiveautomation.com/t/script-to-ping-computer/16612>\
**Category:** Ignition\
**Created:** [January 16, 2018, 6:27pm UTC](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612 "2018-01-16T18:27:35Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 9, 2024, 4:24pm UTC](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612/22 "2024-02-09T16:24:19Z")

</div>

For anyone wanting to use ping with a Perspective application there are several utilities on the Ignition Exchange. Here's one.

> **[Ignition Exchange](https://inductiveautomation.com/exchange/2192/overview)**
>
> Discover, share, and download community made Ignition resources in collaboration with your organization or the Ignition community.

---

<div class="post-metadata">

**Author:** ![Cole\_Townsend](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cole_townsend/32/53149_2.png) [@Cole\_Townsend](https://forum.inductiveautomation.com/u/Cole_Townsend)\
**Post date:** [February 9, 2024, 4:32pm UTC](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612/23 "2024-02-09T16:32:15Z")

</div>

Hey Transistor, I've actually dug into a few of these utilities, but the issue isn't with them, it is with my gateway not being able to properly ping using the methods they use. Anytime I try to ping a device from the gateway, they always fail, even though the same pings from the CLI work just fine.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 9, 2024, 4:33pm UTC](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612/24 "2024-02-09T16:33:57Z")

</div>

Are you sure your gateway is being started with SystemD (not gwcmd) ? The privileges won't be applied if it is started with anything other than `systemctl`.

---

<div class="post-metadata">

**Author:** ![Cole\_Townsend](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cole_townsend/32/53149_2.png) [@Cole\_Townsend](https://forum.inductiveautomation.com/u/Cole_Townsend)\
**Post date:** [February 9, 2024, 4:38pm UTC](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612/25 "2024-02-09T16:38:11Z")

</div>

To my knowledge it is starting with SystemD. Unless I am misunderstanding the SystemD status.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/0/f04a47c5bef7f62c2b631a3ce0d171607c6e9bd7.png)

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [February 11, 2024, 7:40pm UTC](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612/26 "2024-02-11T19:40:53Z")

</div>

Here's the resource I posted to the exchange that will give you round-trip time also, but does require you to install fping on the gateway.

> **[Ignition Exchange](https://inductiveautomation.com/exchange/2248/overview)**
>
> Discover, share, and download community made Ignition resources in collaboration with your organization or the Ignition community.

[Previous page](https://forum.inductiveautomation.com/t/script-to-ping-computer/16612.md?page=1)
