Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
ea18d6ec
Commit
ea18d6ec
authored
6 years ago
by
Lotte Steenbrink
Browse files
Options
Downloads
Patches
Plain Diff
examples/gnrc_networking/README.md: fix 404s
parent
64afc748
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/gnrc_networking/README.md
+6
-8
6 additions, 8 deletions
examples/gnrc_networking/README.md
with
6 additions
and
8 deletions
examples/gnrc_networking/README.md
+
6
−
8
View file @
ea18d6ec
...
...
@@ -46,10 +46,8 @@ RIOT console and run `ifconfig`:
inet6 addr: fe80::ccf5:e1ff:fec5:f75a/64 scope: local
inet6 addr: ff02::1:ffc5:f75a/128 scope: local [multicast]
Copy the [link-local address] of the RIOT node (prefixed with
`fe80`
)
and try to ping it
**from the Linux node**
:
[
link-local address
]:
https://gist.github.com/backenklee/dad5e80b764b3b3d0d3e
Copy the link-local address of the RIOT node (prefixed with
`fe80`
) and
try to ping it
**from the Linux node**
:
ping6 fe80::ccf5:e1ff:fec5:f75a%tap0
...
...
@@ -96,10 +94,8 @@ Now, on the RIOT side, send a UDP packet using:
You should see
`testmessage`
appear in netcat. Instead of using netcat,
you can of course write your own software, but you may have to bind the
socket to a specific interface (tap0 in this case). For an example that
shows how to do so, see
[
here
][
tap-socket
]
[
tap-socket
]:
(https://gist.github.com/backenklee/dad5e80b764b3b3d0d3e).
socket to a specific interface (tap0 in this case). To do so, have a
look at
[
setting the `SO_BINDTODEVICE` option using `setsocketopt()`
][
sso
]
.
## Connecting two RIOT instances
...
...
@@ -159,3 +155,5 @@ In your first terminal, you should now see output that looks like this.
src_l2addr: a2:8a:84:68:54:4f
dst_l2addr: 62:fc:3c:5e:40:df
~~ PKT - 4 snips, total size: 79 byte
[
sso
]:
https://stackoverflow.com/questions/14478167/bind-socket-to-network-interface#14478657
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment