# View pings sent from an external device to mangoh red

**URL:** <https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378>\
**Category:** Legato Application Framework\
**Created:** [August 27, 2020, 3:33pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378 "2020-08-27T15:33:30Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cada](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Cada](https://forum.legato.io/u/Cada)\
**Post date:** [August 27, 2020, 3:33pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/1 "2020-08-27T15:33:30Z")

</div>

I have a raspberry pi which is sending pings successfully from its IP address to the IP address of the ethernet IoT card on my mangoh red, in the raspberry pi’s command line I can see the packets are sent and received successfully with no lost packets, however I see no incoming packets on the mangoh red. Is there a way to view the incoming pings via ethernet on the mangoh red?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [August 27, 2020, 3:52pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/2 "2020-08-27T15:52:12Z")

</div>

You can capture wireshark log by tcpdump on the interface

> [@Developer Mode installs other debug/development tools such as tcpdump？](https://forum.legato.io/t/developer-mode-installs-other-debug-development-tools-such-as-tcpdump/4827):
>
> HI. I didn’t understand DeveloperMode on the website. How do I install tcpdump? I don’t quite understand what it means?

---

<div class="post-metadata">

**Author:** ![Cada](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Cada](https://forum.legato.io/u/Cada)\
**Post date:** [August 27, 2020, 5:24pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/3 "2020-08-27T17:24:54Z")

</div>

@jyijyi  
Is there a step by step process you can provide?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [August 27, 2020, 8:44pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/4 "2020-08-27T20:44:44Z")

</div>

You can have a look here:  
[https://www.wireshark.org/docs/wsug\_html\_chunked/AppToolstcpdump.html](https://www.wireshark.org/docs/wsug_html_chunked/AppToolstcpdump.html)

1. Download a ARM version of TCPDUMP and transfer to the module  
[static-binaries/tcpdump at master · andrew-d/static-binaries · GitHub](https://github.com/andrew-d/static-binaries/blob/master/binaries/linux/arm/tcpdump)
2. chmod 777 tcpdump\_arm
3. /home/root/tcpdump\_arm -s0 -i eth0 -w /tmp/test.pcap

---

<div class="post-metadata">

**Author:** ![Cada](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Cada](https://forum.legato.io/u/Cada)\
**Post date:** [August 28, 2020, 1:24pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/5 "2020-08-28T13:24:37Z")

</div>

@jyijyi Okay, I downloaded the file from git hub, that was okay. It is named tcpdump and not tcpdump\_arm. I transferred the file using scp (image below)

 ![Screenshot from 2020-08-28 08-21-34](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/e2461c3a572b171674ba407eaa155e30b7adab1c.png)

Then I changed the permission of the tcpdump file and tried to run it (image below)

 ![Screenshot from 2020-08-28 08-19-39](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/74819a06a15b552e4ef08284d3ad47b87720a9ce.png)  
with no success, all it shows is constant packets, but no clue as to what is sending these packets (image below):  
 ![Screenshot from 2020-08-28 08-26-56](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/31dbbb00546cfce6e32dbac52d41193f7db85ed0.png)  
I pressed ^C to end it.

What do you mean in step 3?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [August 28, 2020, 2:53pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/6 "2020-08-28T14:53:03Z")

</div>

/tmp/test.pcap is the wireshark log.

---

<div class="post-metadata">

**Author:** ![Cada](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Cada](https://forum.legato.io/u/Cada)\
**Post date:** [August 28, 2020, 6:11pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/7 "2020-08-28T18:11:04Z")

</div>

@jyijyi I still don’t understand, typing /home/root/tcpdump\_arm -s0 -i eth0 -w /tmp/test.pcap just returns an error.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [August 28, 2020, 6:24pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/8 "2020-08-28T18:24:09Z")

</div>

What kind of error is returned?

---

<div class="post-metadata">

**Author:** ![Cada](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@Cada](https://forum.legato.io/u/Cada)\
**Post date:** [August 28, 2020, 6:57pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/9 "2020-08-28T18:57:52Z")

</div>

![Screenshot from 2020-08-28 13-59-30](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/2X/3/3afd0cc5ddfad9b092de210674d170f05f802e17.png)

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [August 28, 2020, 7:17pm UTC](https://forum.legato.io/t/view-pings-sent-from-an-external-device-to-mangoh-red/5378/10 "2020-08-28T19:17:32Z")

</div>

You need to use full path, /home/root/tcpdump
