diff --git a/samples/net/net.rst b/samples/net/net.rst index 21eb954a83d7..6c37aab00202 100644 --- a/samples/net/net.rst +++ b/samples/net/net.rst @@ -5,4 +5,5 @@ Networking Samples :maxdepth: 1 :glob: + qemu_setup.rst **/* diff --git a/samples/net/qemu_setup.rst b/samples/net/qemu_setup.rst new file mode 100644 index 000000000000..b0a783b08212 --- /dev/null +++ b/samples/net/qemu_setup.rst @@ -0,0 +1,31 @@ +.. _networking_with_qemu: + +Networking with Qemu +#################### + +Follow the instructions described in `QEMU Network Setup`_ to prepare your +environment for testing networking using Qemu. + +Follow the prerequisites described in + +.. code-block:: console + + git clone https://gerrit.zephyrproject.org/r/net-tools + cd net-tools + make + +From a terminal window, type: + +.. code-block:: console + + ./loop-socat.sh + +Open another terminal window, change directory to the one where net-tools +are + +.. code-block:: console + + sudo ./loop-slip-tap.sh + + +.. _`QEMU Network Setup`: https://wiki.zephyrproject.org/view/Networking-with-Qemu diff --git a/samples/samples.rst b/samples/samples.rst index 61ab7a11f51d..139b45403e6a 100644 --- a/samples/samples.rst +++ b/samples/samples.rst @@ -8,7 +8,7 @@ Samples and Demos kernel basic/* - net/* + net/net.rst sensor/* grove/* advanced