summaryrefslogtreecommitdiff
path: root/samples/net/qemu_setup.rst
blob: b0a783b08212af491bd586fab34e2dc2eb0d716f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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