diff options
| author | jubeormk1 <[email protected]> | 2025-05-22 15:47:11 +1000 |
|---|---|---|
| committer | jubeormk1 <[email protected]> | 2025-05-22 15:47:11 +1000 |
| commit | bc80903d0affb0cff6f97b8da64d2ddb6549a5fb (patch) | |
| tree | 0f9a0d19a5c5cb3719bf6e22ff5cf30c8f1156c4 /examples | |
| parent | 43ff562b5a0327d575d2c02f299ad6d15680384e (diff) | |
Added some notes for net_ppp example
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/std/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/std/README.md b/examples/std/README.md index 5d7c384ae..ac2c2a1a6 100644 --- a/examples/std/README.md +++ b/examples/std/README.md | |||
| @@ -1,14 +1,16 @@ | |||
| 1 | 1 | ||
| 2 | ## Running the `embassy-net` examples | 2 | ## Running the `embassy-net` examples |
| 3 | 3 | ||
| 4 | To run `net`, `tcp_accept`, `net_udp` examples you will need a tap interface. Before running any example, create the tap99 interface. (The number was chosen to | 4 | To run `net`, `tcp_accept`, `net_udp` and `net_dns` examples you will need a tap interface. Before running these examples, create the tap99 interface. (The number was chosen to |
| 5 | hopefully not collide with anything.) You only need to do | 5 | hopefully not collide with anything.) You only need to do this once every time you reboot your computer. |
| 6 | this once every time you reboot your computer. | ||
| 7 | 6 | ||
| 8 | ```sh | 7 | ```sh |
| 8 | cd $EMBASSY_ROOT/examples/std/ | ||
| 9 | sudo sh tap.sh | 9 | sudo sh tap.sh |
| 10 | ``` | 10 | ``` |
| 11 | 11 | ||
| 12 | The example `net_ppp` requires different steps that are detailed in its section. | ||
| 13 | |||
| 12 | ### `net` example | 14 | ### `net` example |
| 13 | 15 | ||
| 14 | For this example, you need to have something listening in the correct port. For example `nc -lp 8000`. | 16 | For this example, you need to have something listening in the correct port. For example `nc -lp 8000`. |
