This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 3d016db226 Doc: Fix ping to external IP on simulator
3d016db226 is described below
commit 3d016db226de288e35e541cdd2dbc21aa02f2edc
Author: Alan Carvalho de Assis <[email protected]>
AuthorDate: Thu Dec 22 12:33:20 2022 -0300
Doc: Fix ping to external IP on simulator
---
Documentation/guides/simulator.rst | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/guides/simulator.rst
b/Documentation/guides/simulator.rst
index 33ca821250..307d38d80f 100644
--- a/Documentation/guides/simulator.rst
+++ b/Documentation/guides/simulator.rst
@@ -170,6 +170,12 @@ Accessing the Network
56 bytes from 8.8.8.8: icmp_seq=0 time=10 ms
1 packets transmitted, 1 received, 0% packet loss, time 1010 ms
+ If it doesn't work, then you need to enable the IP forward on your
computer:
+
+ .. code-block:: console
+
+ sudo sysctl -w net.ipv4.ip_forward=1
+
Success!
Testing / capturing TCP network traffic