Skip to content

Commit

Permalink
net: doc: add section about networking with qemu
Browse files Browse the repository at this point in the history
Change-Id: I478231b6932c379201deaf4e1ca9ff57b43bd05f
Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Jan 16, 2017
1 parent d4efb9a commit 43b9e7d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions samples/net/net.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ Networking Samples
:maxdepth: 1
:glob:

qemu_setup.rst
**/*
31 changes: 31 additions & 0 deletions samples/net/qemu_setup.rst
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion samples/samples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Samples and Demos

kernel
basic/*
net/*
net/net.rst
sensor/*
grove/*
advanced
Expand Down

0 comments on commit 43b9e7d

Please sign in to comment.