# Not able ping to 192.168.2.2 from Liux Machine

**URL:** https://mangoh.discourse.group/t/not-able-ping-to-192-168-2-2-from-liux-machine/843
**Category:** mangOH Green
**Created:** [October 25, 2017, 12:27pm UTC](https://mangoh.discourse.group/t/not-able-ping-to-192-168-2-2-from-liux-machine/843 "2017-10-25T12:27:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![murali3122](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@murali3122](https://mangoh.discourse.group/u/murali3122)
#### Post date: [October 25, 2017, 12:27pm UTC](https://mangoh.discourse.group/t/not-able-ping-to-192-168-2-2-from-liux-machine/843/1 "2017-10-25T12:27:34Z")

</div>

Hi,  
Following are the setup details:

1. Ubuntu.16 Machine
2. Connected mangOH green board to linux machine through USB cable.

When trying the steps mentioned in the “4118961\_mangOH\_Fundamentals\_LinuxCLI\_r5\_draft.pdf” after connecting everything  
as per the section 4.2.2 we tried to ping 192.168.2.2 which was failing.

Could please help us in solving this issue.

Thanks & Regards,  
Murali.

---

<div class="post-metadata">

### Author: ![shib](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@shib](https://mangoh.discourse.group/u/shib)
#### Post date: [October 31, 2017, 12:30am UTC](https://mangoh.discourse.group/t/not-able-ping-to-192-168-2-2-from-liux-machine/843/2 "2017-10-31T00:30:16Z")

</div>

Can you SSH in to it? Connect to it in any way?

If you can SSH in, or at least see it show up as a device on 192.168.2.2, it would be worth checking the iptable.  
/etc/iptables/rules.v4

Check to see that it has something similar to the below:  
# Allow SSH, PING and DHCP over ECM interface  
-A INPUT -i usb0 -p tcp -m tcp --dport 22 -j ACCEPT  
-A INPUT -i usb0 -p icmp -m icmp --icmp-type 8 -j ACCEPT  
-I INPUT -i usb0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT

And if you want to be able to ping/ssh over eth0, add these lines:  
# Allow SSH, PING and DHCP over eth0 interface  
-A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT  
-A INPUT -i eth0 -p icmp -m icmp --icmp-type 8 -j ACCEPT  
-I INPUT -i eth0 -p udp --dport 67:68 --sport 67:68 -j ACCEPT

---

<div class="post-metadata">

### Author: ![murali3122](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@murali3122](https://mangoh.discourse.group/u/murali3122)
#### Post date: [October 31, 2017, 4:46am UTC](https://mangoh.discourse.group/t/not-able-ping-to-192-168-2-2-from-liux-machine/843/3 "2017-10-31T04:46:38Z")

</div>

Hi,

Thank you for your reply. It’s really working. I can able to connect  
mangoh board from my linux machine.
