Merge pull request #15154 from aabadie/pr/doc/cleanup_readme
README.md: move tapsetup section to documentation
This commit is contained in:
commit
5c9e0dfa93
14
README.md
14
README.md
@ -86,20 +86,6 @@ For specific toolchain installation, follow instructions in the
|
|||||||
version of the documentation is uploaded daily to
|
version of the documentation is uploaded daily to
|
||||||
[riot-os.org/api](https://riot-os.org/api).
|
[riot-os.org/api](https://riot-os.org/api).
|
||||||
|
|
||||||
### USING THE NATIVE PORT WITH NETWORKING
|
|
||||||
If you compile RIOT for the native cpu and include the `netdev_tap` module,
|
|
||||||
you can specify a network interface like this: `PORT=tap0 make term`
|
|
||||||
|
|
||||||
#### SETTING UP A TAP NETWORK
|
|
||||||
There is a shell script in `RIOT/dist/tools/tapsetup` called `tapsetup` which
|
|
||||||
you can use to create a network of tap interfaces.
|
|
||||||
|
|
||||||
*USAGE*
|
|
||||||
|
|
||||||
To create a bridge and two (or `count` at your option) tap interfaces:
|
|
||||||
|
|
||||||
sudo ./dist/tools/tapsetup/tapsetup [-c [<count>]]
|
|
||||||
|
|
||||||
## CONTRIBUTE
|
## CONTRIBUTE
|
||||||
|
|
||||||
To contribute something to RIOT, please refer to our
|
To contribute something to RIOT, please refer to our
|
||||||
|
|||||||
@ -152,3 +152,22 @@ subset of modules).
|
|||||||
For instructions on how to configure via `CFLAGS` check the
|
For instructions on how to configure via `CFLAGS` check the
|
||||||
@ref config "identified compile-time configurations". To learn how to use
|
@ref config "identified compile-time configurations". To learn how to use
|
||||||
Kconfig in RIOT, please refer to the @ref kconfig-users-guide.
|
Kconfig in RIOT, please refer to the @ref kconfig-users-guide.
|
||||||
|
|
||||||
|
Using the native port with networking
|
||||||
|
=====================================
|
||||||
|
|
||||||
|
If you compile RIOT for the native cpu and include the `netdev_tap` module,
|
||||||
|
you can specify a network interface like this: `PORT=tap0 make term`
|
||||||
|
|
||||||
|
Setting up a tap network
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
There is a shell script in `RIOT/dist/tools/tapsetup` called `tapsetup` which
|
||||||
|
you can use to create a network of tap interfaces.
|
||||||
|
|
||||||
|
*USAGE*
|
||||||
|
|
||||||
|
To create a bridge and two (or `count` at your option) tap interfaces:
|
||||||
|
~~~~~~~{.sh}
|
||||||
|
sudo ./dist/tools/tapsetup/tapsetup [-c [<count>]]
|
||||||
|
~~~~~~~
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user