How to talk to Windows host from mangOH Red

I have successfully set up my mangOH Red board on my Windows 10 PC.
It’s connected via USB and I can ssh into the mangOH via IP address 192.168.2.2.
Now I would like to talk to the PC from the mangOH (for example to a web server running on the PC).

On the mangOH I can see the usb0 interface:

> ifconfig usb0
usb0      Link encap:Ethernet  HWaddr 76:B8:CF:5E:5D:28
      inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
      inet6 addr: fe80::74b8:cfff:fe5e:5d28/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:4879 errors:0 dropped:0 overruns:0 frame:0
      TX packets:2260 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:3835497 (3.6 MiB)  TX bytes:422113 (412.2 KiB)

And on Windows 10 the corresponding interface:

> ipconfig
Ethernet adapter Ethernet 8:

    Connection-specific DNS Suffix  . :
    Link-local IPv6 Address . . . . . : fe80::a817:6449:2bfb:bf66%27
    IPv4 Address. . . . . . . . . . . : 192.168.2.3
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :

But when I try to ping the Windows host from mangOH it just times out:

> ping 192.168.2.3
PING 192.168.2.3 (192.168.2.3): 56 data bytes
^C
--- 192.168.2.3 ping statistics ---
10 packets transmitted, 0 packets received, 100% packet loss

What am I missing here?

Control panel -> Network and Sharing Center -> change adpter setting -> Double click the "Sierra Wireless LEGATO EthLink ECM -> properties -> internet protocol version 4 (TCP/IPv4) -> properties ->

IP address : 192.168.2.3
subnet mask: 255.255.255.0
default gateway: 192.168.2.2

Click OK.

1 Like

-Works like a charm. Thank you very much!-

Actually no, ping still times out.

Did you choose yes when Win10 asked you this?

Yes I did. Everything seems ok to me:

2021-01-13 16_34_37-Window

But still no ping

Have you shutdown firewall of win10

1 Like

That did the trick! Thank you!