doc: replace ping6 with ping
This commit is contained in:
parent
c84a40abc4
commit
a23fa5253f
@ -19,7 +19,7 @@ USEMODULE += asymcute
|
||||
USEMODULE += shell
|
||||
USEMODULE += shell_commands
|
||||
USEMODULE += ps
|
||||
# For testing we also include the ping6 command and some stats
|
||||
# For testing we also include the ping command and some stats
|
||||
USEMODULE += gnrc_icmpv6_echo
|
||||
|
||||
# Comment this out to disable code in RIOT that does safety checking
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
#define TOPIC_BUF_NUMOF (8U + SUB_CTX_NUMOF)
|
||||
#endif
|
||||
|
||||
/* needed for the `ping6` shell command */
|
||||
/* needed for the `ping` shell command */
|
||||
#define MAIN_QUEUE_SIZE (8)
|
||||
static msg_t _main_msg_queue[MAIN_QUEUE_SIZE];
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ USEMODULE += emcute
|
||||
USEMODULE += shell
|
||||
USEMODULE += shell_commands
|
||||
USEMODULE += ps
|
||||
# For testing we also include the ping6 command and some stats
|
||||
# For testing we also include the ping command and some stats
|
||||
USEMODULE += gnrc_icmpv6_echo
|
||||
# Optimize network stack to for use with a single network interface
|
||||
USEMODULE += gnrc_netif_single
|
||||
|
||||
@ -263,7 +263,7 @@ int main(void)
|
||||
puts("Type 'help' to get started. Have a look at the README.md for more"
|
||||
"information.");
|
||||
|
||||
/* the main thread needs a msg queue to be able to run `ping6`*/
|
||||
/* the main thread needs a msg queue to be able to run `ping`*/
|
||||
msg_init_queue(queue, ARRAY_SIZE(queue));
|
||||
|
||||
/* initialize our subscription buffers */
|
||||
|
||||
@ -62,6 +62,6 @@ Finally, set the BR as the RPL DAG root.
|
||||
|
||||
Ping the TUN interface from the router mote, via the BR:
|
||||
|
||||
ping6 bbbb::1
|
||||
ping bbbb::1
|
||||
|
||||
[1]: https://github.com/RIOT-OS/RIOT/tree/master/examples/gnrc_border_router "SLIP instructions"
|
||||
@ -113,7 +113,7 @@ For instance, if you use the [`gnrc_networking`](https://github.com/RIOT-OS/RIOT
|
||||
ping it from your machine with:
|
||||
|
||||
```
|
||||
> ping6 2001:db8:0:1234:0:567:8:1
|
||||
> ping 2001:db8:0:1234:0:567:8:1
|
||||
```
|
||||
|
||||
Just replace this address by your mote's address.
|
||||
@ -140,7 +140,7 @@ You can check your ULA on your PC with `ifconfig` Linux command.
|
||||
On this example, such address can be pinged from 6lo motes:
|
||||
|
||||
```
|
||||
> ping6 fd00:dead:beef::1
|
||||
> ping fd00:dead:beef::1
|
||||
```
|
||||
|
||||
Thus far, IPv6 communication with between your PC and your motes is enabled.
|
||||
@ -228,7 +228,7 @@ Now, you should be able to ping your nodes.
|
||||
Use the global address starting by your prefix, on our case `2001:db8::`:
|
||||
|
||||
```
|
||||
> ping6 2001:db8:0:1234:0:567:8:1
|
||||
> ping 2001:db8:0:1234:0:567:8:1
|
||||
```
|
||||
|
||||
# gnrc_networking_border_router with SLIP
|
||||
|
||||
@ -49,7 +49,7 @@ RIOT console and run `ifconfig`:
|
||||
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
|
||||
ping fe80::ccf5:e1ff:fec5:f75a%tap0
|
||||
|
||||
Note that the interface on which to send the ping needs to be appended
|
||||
to the IPv6 address, `%tap0` in the above example. When talking to the
|
||||
|
||||
@ -137,7 +137,7 @@ Here the global IPv6 is `2001:db8::7b7e:3255:1313:8d96`.
|
||||
**The address will be different according to your device and the chosen prefix**.
|
||||
In this case the RIOT node can be reached from the host using its global address:
|
||||
|
||||
$ ping6 2001:db8::7b7e:3255:1313:8d96
|
||||
$ ping 2001:db8::7b7e:3255:1313:8d96
|
||||
|
||||
_NOTE_: when using BLE the connection might take a little longer, and you might not
|
||||
see the global address right away. But the global address will always consist of the
|
||||
@ -224,7 +224,7 @@ command:
|
||||
|
||||
- You should now be able to ping the device
|
||||
|
||||
$ ping6 fe80::e4dd:e0ff:fe8f:7365%bt0
|
||||
$ ping fe80::e4dd:e0ff:fe8f:7365%bt0
|
||||
|
||||
- **optional**: follow the guide for distributing a routable Prefix in
|
||||
[README.ipv6-over-ble.md](../../pkg/nimble/README.ipv6-over-ble.md).
|
||||
|
||||
@ -119,7 +119,7 @@ You should also be able to ping your RIOT node. The devices link local address
|
||||
is also printed when running `ble info` on your RIOT device.
|
||||
|
||||
# Substitute the actual device address,
|
||||
ping6 fe80::uuvv:wwff:fexx:yyzz%bt0
|
||||
ping fe80::uuvv:wwff:fexx:yyzz%bt0
|
||||
|
||||
Now everything should be fine :-)
|
||||
|
||||
@ -176,4 +176,4 @@ prefix assigned. Simply verify with `ifconfig` on the RIOT node.
|
||||
Also you should be able to ping the RIOT node from Linux:
|
||||
|
||||
# make sure to use the actual devices address here...
|
||||
ping6 -I bt0 2001:db8::uuvv:wwff:fexx:yyzz
|
||||
ping -I bt0 2001:db8::uuvv:wwff:fexx:yyzz
|
||||
|
||||
@ -114,8 +114,8 @@ int main(void)
|
||||
" loss: The incoming signal can only be demodulated when the\n"
|
||||
" input signal is at most +10 dBm on the CC1101.\n"
|
||||
" - Check the statistics for correctness/plausibility (after\n"
|
||||
" sending frames using \"txtsnd\" or \"ping6\")\n"
|
||||
"- Using \"ping6\":\n"
|
||||
" sending frames using \"txtsnd\" or \"ping\")\n"
|
||||
"- Using \"ping\":\n"
|
||||
" - Does the other device respond to the ping?\n"
|
||||
" - Does the measured RSSI increase when the nodes are closer\n"
|
||||
" together?\n"
|
||||
|
||||
@ -33,7 +33,7 @@ int main(void)
|
||||
msg_init_queue(_main_msg_queue, MAIN_QUEUE_SIZE);
|
||||
puts("Test application for the enc28j60 driver\n");
|
||||
puts("This test just pulls in parts of the GNRC network stack, use the\n"
|
||||
"provided shell commands (i.e. ifconfig, ping6) to interact with\n"
|
||||
"provided shell commands (i.e. ifconfig, ping) to interact with\n"
|
||||
"your enc28j60 device.\n");
|
||||
|
||||
/* start shell */
|
||||
|
||||
@ -36,7 +36,7 @@ int main(void)
|
||||
|
||||
puts("Test application for the encx24j600 driver\n");
|
||||
puts("This test just pulls in parts of the GNRC network stack, use the\n"
|
||||
"provided shell commands (i.e. ifconfig, ping6) to interact with\n"
|
||||
"provided shell commands (i.e. ifconfig, ping) to interact with\n"
|
||||
"your encx24j600 device.\n");
|
||||
|
||||
/* start shell */
|
||||
|
||||
@ -69,7 +69,7 @@ int main(void)
|
||||
nimble_rpble_eventcb(_on_rpble_event);
|
||||
|
||||
/* we need a message queue for the thread running the shell in order to
|
||||
* receive potentially fast incoming networking packets (ping6) */
|
||||
* receive potentially fast incoming networking packets (ping) */
|
||||
msg_init_queue(_main_msg_queue, MAIN_QUEUE_SIZE);
|
||||
|
||||
/* start shell */
|
||||
|
||||
@ -289,7 +289,7 @@ on local boards:
|
||||
Once DAOs are received you can ping nodes in the network from your host:
|
||||
|
||||
```
|
||||
$ ping6 -s 40 -i 5 bbbb:0:0:0:2ab5:fc65:106b:1114
|
||||
$ ping -s 40 -i 5 bbbb:0:0:0:2ab5:fc65:106b:1114
|
||||
PING bbbb:0:0:0:2ab5:fc65:106b:1114(bbbb::2ab5:fc65:106b:1114) 40 data bytes
|
||||
48 bytes from bbbb::2ab5:fc65:106b:1114: icmp_seq=1 ttl=64 time=1064 ms
|
||||
48 bytes from bbbb::2ab5:fc65:106b:1114: icmp_seq=2 ttl=64 time=2111 ms
|
||||
|
||||
@ -33,7 +33,7 @@ int main(void)
|
||||
msg_init_queue(_main_msg_queue, MAIN_QUEUE_SIZE);
|
||||
puts("Test application for the USBUS CDC ECM interface\n");
|
||||
puts("This test pulls in parts of the GNRC network stack, use the\n"
|
||||
"provided shell commands (i.e. ifconfig, ping6) to interact with\n"
|
||||
"provided shell commands (i.e. ifconfig, ping) to interact with\n"
|
||||
"the CDC ECM based network interface.\n");
|
||||
|
||||
/* start shell */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user