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.
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