Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2024.04 - RC1 #305

Closed
71 of 86 tasks
Teufelchen1 opened this issue Apr 11, 2024 · 12 comments
Closed
71 of 86 tasks

Release 2024.04 - RC1 #305

Teufelchen1 opened this issue Apr 11, 2024 · 12 comments

Comments

@Teufelchen1
Copy link
Contributor

Teufelchen1 commented Apr 11, 2024

This issue lists the status of all tests for the Release Candidate 1 of the 2024.04 release.

Specs tested:

@riot-ci
Copy link

riot-ci commented Apr 11, 2024

Test Report

Task Outcome
01. Task 02 - Unittests on native PASSED
01. Task 03 - Unittests on native separated [tests-analog_util] PASSED
01. Task 03 - Unittests on native separated [tests-base64] PASSED
01. Task 03 - Unittests on native separated [tests-bcd] PASSED
01. Task 03 - Unittests on native separated [tests-bhp_event] PASSED
01. Task 03 - Unittests on native separated [tests-bhp_msg] PASSED
01. Task 03 - Unittests on native separated [tests-bitfield] PASSED
01. Task 03 - Unittests on native separated [tests-bloom] PASSED
01. Task 03 - Unittests on native separated [tests-bluetil] PASSED
01. Task 03 - Unittests on native separated [tests-checksum] PASSED
01. Task 03 - Unittests on native separated [tests-chunked_ringbuffer] PASSED
01. Task 03 - Unittests on native separated [tests-clif] PASSED
01. Task 03 - Unittests on native separated [tests-coding] PASSED
01. Task 03 - Unittests on native separated [tests-color] PASSED
01. Task 03 - Unittests on native separated [tests-core] PASSED
01. Task 03 - Unittests on native separated [tests-credman] PASSED
01. Task 03 - Unittests on native separated [tests-div] PASSED
01. Task 03 - Unittests on native separated [tests-dns_cache] PASSED
01. Task 03 - Unittests on native separated [tests-ecc] PASSED
01. Task 03 - Unittests on native separated [tests-fib] PASSED
01. Task 03 - Unittests on native separated [tests-fib_sr] PASSED
01. Task 03 - Unittests on native separated [tests-fmt] PASSED
01. Task 03 - Unittests on native separated [tests-frac] PASSED
01. Task 03 - Unittests on native separated [tests-gcoap] PASSED
01. Task 03 - Unittests on native separated [tests-gnrc_ipv6] PASSED
01. Task 03 - Unittests on native separated [tests-gnrc_ipv6_hdr] PASSED
01. Task 03 - Unittests on native separated [tests-gnrc_ipv6_nib] PASSED
01. Task 03 - Unittests on native separated [tests-gnrc_mac_internal] PASSED
01. Task 03 - Unittests on native separated [tests-gnrc_netif_pktq] PASSED
01. Task 03 - Unittests on native separated [tests-gnrc_sixlowpan_frag_vrb] PASSED
01. Task 03 - Unittests on native separated [tests-gnrc_udp] PASSED
01. Task 03 - Unittests on native separated [tests-hashes] PASSED
01. Task 03 - Unittests on native separated [tests-ieee802154] PASSED
01. Task 03 - Unittests on native separated [tests-inet_csum] PASSED
01. Task 03 - Unittests on native separated [tests-ipv4_addr] PASSED
01. Task 03 - Unittests on native separated [tests-ipv6_addr] PASSED
01. Task 03 - Unittests on native separated [tests-kernel_defines] PASSED
01. Task 03 - Unittests on native separated [tests-libc] PASSED
01. Task 03 - Unittests on native separated [tests-luid] PASSED
01. Task 03 - Unittests on native separated [tests-matstat] PASSED
01. Task 03 - Unittests on native separated [tests-mtd] PASSED
01. Task 03 - Unittests on native separated [tests-nanocoap] PASSED
01. Task 03 - Unittests on native separated [tests-nanocoap_cache] PASSED
01. Task 03 - Unittests on native separated [tests-netopt] PASSED
01. Task 03 - Unittests on native separated [tests-netreg] PASSED
01. Task 03 - Unittests on native separated [tests-phydat] PASSED
01. Task 03 - Unittests on native separated [tests-pkt] PASSED
01. Task 03 - Unittests on native separated [tests-pktbuf] PASSED
01. Task 03 - Unittests on native separated [tests-pktqueue] PASSED
01. Task 03 - Unittests on native separated [tests-printf_float] PASSED
01. Task 03 - Unittests on native separated [tests-priority_pktqueue] PASSED
01. Task 03 - Unittests on native separated [tests-rtc] PASSED
01. Task 03 - Unittests on native separated [tests-rtt_rtc] PASSED
01. Task 03 - Unittests on native separated [tests-saul_reg] PASSED
01. Task 03 - Unittests on native separated [tests-scanf_float] PASSED
01. Task 03 - Unittests on native separated [tests-seq] PASSED
01. Task 03 - Unittests on native separated [tests-sht1x] PASSED
01. Task 03 - Unittests on native separated [tests-sixlowpan] PASSED
01. Task 03 - Unittests on native separated [tests-sixlowpan_ctx] PASSED
01. Task 03 - Unittests on native separated [tests-sixlowpan_sfr] PASSED
01. Task 03 - Unittests on native separated [tests-sock_util] PASSED
01. Task 03 - Unittests on native separated [tests-timex] PASSED
01. Task 03 - Unittests on native separated [tests-tsrb] PASSED
01. Task 03 - Unittests on native separated [tests-turo] PASSED
01. Task 03 - Unittests on native separated [tests-uri_parser] PASSED
01. Task 03 - Unittests on native separated [tests-ut_process] PASSED
01. Task 03 - Unittests on native separated [tests-uuid] PASSED
01. Task 03 - Unittests on native separated [tests-vfs] PASSED
01. Task 03 - Unittests on native separated [tests-zptr] PASSED
01. Task 03 - Unittests on native separated [tests-ztimer64] PASSED
01. Task 03 - Unittests on native separated [tests-ztimer] PASSED
01. Task 04 - Unittests on iotlab-m3 PASSED
03. Task 01 - ICMPv6 multicast echo on native PASSED
03. Task 02 - ICMPv6 link-local echo on native PASSED
03. Task 03 - ICMPv6 link-local echo on native (1 hour) PASSED
03. Task 04 - ICMPv6 stress test on native (1 hour) PASSED
03. Task 05 - ICMPv6 stress test on native (neighbor cache stress) PASSED
03. Task 06 - ICMPv6 link-local echo on native (IPv6 fragmentation) PASSED
04. Task 01 - ICMPv6 link-local echo with iotlab-m3 PASSED
04. Task 02 - ICMPv6 multicast echo with iotlab-m3/samr21-xpro PASSED
04. Task 03 - ICMPv6 echo with large payload PASSED
04. Task 04 - ICMPv6 echo with iotlab-m3/samr21-xpro 15 minutes PASSED
04. Task 05 (Experimental) - ICMPv6 multicast echo with iotlab-m3/cc2538 [strasbourg] PASSED
04. Task 06 (Experimental)- ICMPv6 link-local echo with iotlab-m3/cc2538 [strasbourg] PASSED
🟡 04. Task 07 (Experimental) - ICMPv6 multicast echo with samr21-xpro/zero + xbee SKIPPED
🟡 04. Task 08 (Experimental) - ICMPv6 echo with samr21-xpro/zero + xbee SKIPPED
04. Task 09 - ICMPv6 stress test on iotlab-m3 PASSED
04. Task 10 (Experimental) - ICMPv6 echo with large payload (IPv6 fragmentation) PASSED
04. Task 11 (Experimental) - ICMPv6 stress test on nrf802154 PASSED
04. Task 12 (Experimental) - ICMPv6 multicast echo with iotlab-m3/nrf802154 PASSED
04. Task 13 (Experimental) - ICMPv6 link-local echo with iotlab-m3/nrf802154 PASSED
05. Task 01 - ICMPv6 echo unicast addresess on native (default route) PASSED
05. Task 02 - ICMPv6 echo unicast addresess on iotlab-m3 (default route) PASSED
05. Task 03 - ICMPv6 echo unicast addresess on native (specific route) PASSED
05. Task 04 - ICMPv6 echo unicast addresess on iotlab-m3 (static route) PASSED
06. Task 01 - UDP on iotlab-m3 PASSED
06. Task 02 - UDP on iotlab-m3 (UDP port compression) PASSED
06. Task 03 - UDP on native (non-existent neighbor) PASSED
06. Task 04 - UDP on iotlab-m3 (non-existent neighbor) PASSED
06. Task 05 - Empty UDP on native PASSED
06. Task 06 - Empty UDP on iotlab-m3 PASSED
07. Task 01 - ICMPv6 echo on iotlab-m3 with three hops (static route) PASSED
07. Task 02 - UDP on iotlab-m3 with three hops (static route) PASSED
07. Task 03 - ICMPv6 echo on iotlab-m3 with three hops (RPL route) PASSED
07. Task 04 - UDP on iotlab-m3 with three hops (RPL route) PASSED
🟡 07. Task 05 (Experimental) - UDP with large payload on iotlab-m3 with three hops (RPL route) SKIPPED
08. Task 01 - ICMPv6 echo between native and Linux PASSED
08. Task 03 - ICMPv6 echo between RIOT and Contiki-NG PASSED
08. Task 08 - UDP between GNRC and lwIP on iotlab-m3 PASSED
09. Task 01 - CORD Endpoint PASSED
09. Task 02 - Confirmable retries [False-0] PASSED
09. Task 02 - Confirmable retries [True-1] PASSED
09. Task 03 - Block1 PASSED
09. Task 04 - Block2 PASSED
09. Task 05 - Observe registration and notification PASSED
10. Task 01 - Destination unreachable - no route to destination PASSED
10. Task 02 - Destination unreachable - Beyond scope of source address PASSED
10. Task 03 - Destination unreachable - address unreachable (target node address) PASSED
10. Task 04 - Destination unreachable - address unreachable (neighbor cache miss) PASSED
10. Task 05 - Destination unreachable - port unreachable PASSED
10. Task 06 - Destination unreachable - port unreachable (large payload) PASSED
10. Task 07 - Packet too big PASSED
10. Task 08 - Time exceeded - hop limit exceeded in transit PASSED
10. Task 09 - Parameter problem - erroneous header field encountered PASSED
10. Task 10 - IPv6-in-IPv6 encapsulation PASSED
11. Task 01 - LoRaWAN example PASSED
11. Task 02 - OTAA join procedure [0] PASSED
11. Task 02 - OTAA join procedure [3] FAILED
11. Task 02 - OTAA join procedure [5] FAILED
11. Task 03 - ABP join procedure [0] FAILED
11. Task 03 - ABP join procedure [3] PASSED
11. Task 03 - ABP join procedure [5] FAILED
11. Task 04 - LoRaWAN device parameters persistence PASSED
11. Task 05 - GNRC LoRaWAN (Over The Air Activation) [otaa] FAILED
🟡 11. Task 06 - GNRC LoRaWAN (ABP) [abp] SKIPPED

@MrKevinWeiss
Copy link
Contributor

MrKevinWeiss commented Apr 15, 2024

Test Report

Task Outcome
08. Task 03 - ICMPv6 echo between RIOT and Contiki-NG PASSED

@maribu
Copy link
Member

maribu commented Apr 24, 2024

08. Task #12 - ICMPv6 echo between Border Router with WiFi uplink to named Internet host

The configuration via environment variables still doesn't work with BUILD_IN_DOCKER=1 - not sure if we really should pass through environment variables needed for just a signle application, though. Anyway, I configured it instead like this:

diff --git a/examples/gnrc_border_router/Makefile b/examples/gnrc_border_router/Makefile
index c52d31ce92..7459c59240 100644
--- a/examples/gnrc_border_router/Makefile
+++ b/examples/gnrc_border_router/Makefile
@@ -2,13 +2,13 @@
 APPLICATION = gnrc_border_router
 
 # If no BOARD is found in the environment, use this default:
-BOARD ?= native
+BOARD := esp32-mh-et-live-minikit
 
 # This has to be the absolute path to the RIOT base directory:
 RIOTBASE ?= $(CURDIR)/../..
 
 # Default to using ethos for providing the uplink when not on native
-UPLINK ?= ethos
+UPLINK := wifi
 
 # Check if the selected Uplink is valid
 ifeq (,$(filter ethos slip cdc-ecm wifi ethernet,$(UPLINK)))
@@ -16,8 +16,8 @@ ifeq (,$(filter ethos slip cdc-ecm wifi ethernet,$(UPLINK)))
 endif
 
 # Set the SSID and password of your WiFi network here
-WIFI_SSID ?= "Your_WiFi_name"
-WIFI_PASS ?= "Your_secure_password"
+WIFI_SSID ?= "foobar"
+WIFI_PASS ?= "foobar1337"
 
 # Include packages that pull up and auto-init the link layer.
 # NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
@@ -31,6 +31,8 @@ USEMODULE += gnrc_icmpv6_echo
 USEMODULE += shell
 USEMODULE += shell_cmds_default
 USEMODULE += ps
+USEMODULE += sock_dns
+USEMODULE += gnrc_ipv6_nib_dns
 
 # Optionally include RPL as a routing protocol. When includede gnrc_uhcpc will
 # configure the node as a RPL DODAG root when receiving a prefix.
 make BUILD_IN_DOCKER=1 flash term
Launching build container using image "docker.io/riot/riotbuild:latest".
podman run --rm --tty --userns keep-id -v '/etc/zoneinfo/Europe/Berlin:/etc/localtime:ro' -v '/home/maribu/Repos/software/RIOT/2024.04-branch:/data/riotbuild/riotbase:delegated' -v '/home/maribu/.cargo/registry:/data/riotbuild/.cargo/registry:delegated' -v '/home/maribu/.cargo/git:/data/riotbuild/.cargo/git:delegated' -e 'RIOTBASE=/data/riotbuild/riotbase' -e 'CCACHE_BASEDIR=/data/riotbuild/riotbase' -v '/home/maribu/.cache/RIOT:/data/riotbuild/build:delegated' -e 'BUILD_DIR=/data/riotbuild/build' -e 'RIOTPROJECT=/data/riotbuild/riotbase' -e 'RIOTCPU=/data/riotbuild/riotbase/cpu' -e 'RIOTBOARD=/data/riotbuild/riotbase/boards' -e 'RIOTMAKE=/data/riotbuild/riotbase/makefiles'    -v '/home/maribu/Repos/software/boards/riot:/data/riotbuild/external/riot:delegated' -v '/home/maribu/Repos/software/miot-pcbs/RIOT/boards:/data/riotbuild/external/boards:delegated' -v '/home/maribu/Repos/software/RIOT/master/.git:/home/maribu/Repos/software/RIOT/master/.git:delegated'  -e 'DISABLE_MODULE=' -e 'DEFAULT_MODULE=' -e 'FEATURES_REQUIRED=' -e 'FEATURES_BLACKLIST=' -e 'FEATURES_OPTIONAL=' -e 'USEMODULE=auto_init_gnrc_netif gnrc_dhcpv6_client_6lbr gnrc_icmpv6_echo gnrc_ipv6_nib_dns gnrc_sixlowpan_border_router_default netdev_default ps shell shell_cmds_default sock_dns' -e 'USEPKG='  -w '/data/riotbuild/riotbase/examples/gnrc_border_router/' 'docker.io/riot/riotbuild:latest' make   'EXTERNAL_BOARD_DIRS=/data/riotbuild/external/riot /data/riotbuild/external/boards'  
Building application "gnrc_border_router" for "esp32-mh-et-live-minikit" with CPU "esp32".

"make" -C /data/riotbuild/riotbase/pkg/esp32_sdk/ 
"make" -C /data/riotbuild/riotbase/pkg/esp32_sdk_lib_phy/ 
"make" -C /data/riotbuild/riotbase/pkg/esp32_sdk_lib_wifi/ 
"make" -C /data/riotbuild/riotbase/pkg/tlsf/ 
"make" -C /data/riotbuild/build/pkg/tlsf -f /data/riotbuild/riotbase/Makefile.base
"make" -C /data/riotbuild/riotbase/boards/common/init
"make" -C /data/riotbuild/riotbase/boards/esp32-mh-et-live-minikit
"make" -C /data/riotbuild/riotbase/boards/common/esp32
"make" -C /data/riotbuild/riotbase/boards/common/esp32x
"make" -C /data/riotbuild/riotbase/core
"make" -C /data/riotbuild/riotbase/core/lib
"make" -C /data/riotbuild/riotbase/cpu/esp32
"make" -C /data/riotbuild/riotbase/cpu/esp32/bootloader
esptool.py v3.2-dev
Merged 1 ELF section
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/adc
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/common
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/efuse
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/event
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/gpio
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/heap
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/nvs_flash
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/spi_flash
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wifi
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/esp_supplicant
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/port
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/ap
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/common
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/crypto
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/eap_peer
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/rsn_supp
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/tls
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/utils
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf/wpa_supplicant/src/wps
"make" -C /data/riotbuild/riotbase/cpu/esp32/esp-idf-api
"make" -C /data/riotbuild/riotbase/cpu/esp32/freertos
"make" -C /data/riotbuild/riotbase/cpu/esp32/periph
"make" -C /data/riotbuild/riotbase/cpu/esp_common
"make" -C /data/riotbuild/riotbase/cpu/esp_common/esp-now
"make" -C /data/riotbuild/riotbase/cpu/esp_common/esp-wifi
"make" -C /data/riotbuild/riotbase/cpu/esp_common/esp-xtensa
"make" -C /data/riotbuild/riotbase/cpu/esp_common/freertos
"make" -C /data/riotbuild/riotbase/cpu/esp_common/periph
"make" -C /data/riotbuild/riotbase/cpu/esp_common/vendor
"make" -C /data/riotbuild/riotbase/cpu/esp_common/vendor/xtensa
"make" -C /data/riotbuild/riotbase/drivers
"make" -C /data/riotbuild/riotbase/drivers/mtd
"make" -C /data/riotbuild/riotbase/drivers/netdev
"make" -C /data/riotbuild/riotbase/drivers/periph_common
"make" -C /data/riotbuild/riotbase/sys
"make" -C /data/riotbuild/riotbase/sys/auto_init
"make" -C /data/riotbuild/riotbase/sys/cpp_new_delete
"make" -C /data/riotbuild/riotbase/sys/div
"make" -C /data/riotbuild/riotbase/sys/event
"make" -C /data/riotbuild/riotbase/sys/evtimer
"make" -C /data/riotbuild/riotbase/sys/fmt
"make" -C /data/riotbuild/riotbase/sys/frac
"make" -C /data/riotbuild/riotbase/sys/iolist
"make" -C /data/riotbuild/riotbase/sys/isrpipe
"make" -C /data/riotbuild/riotbase/sys/libc
"make" -C /data/riotbuild/riotbase/sys/luid
"make" -C /data/riotbuild/riotbase/sys/net/application_layer/dhcpv6
"make" -C /data/riotbuild/riotbase/sys/net/application_layer/dns
"make" -C /data/riotbuild/riotbase/sys/net/application_layer/sock_dns
"make" -C /data/riotbuild/riotbase/sys/net/crosslayer/inet_csum
"make" -C /data/riotbuild/riotbase/sys/net/crosslayer/netopt
"make" -C /data/riotbuild/riotbase/sys/net/gnrc
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/application_layer/dhcpv6
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netapi
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netif
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netif/ethernet
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netif/hdr
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netif/init_devs
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netreg
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/icmpv6
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/icmpv6/echo
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ipv6
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ipv6/hdr
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ipv6/nib
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ndp
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/ctx
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/frag
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/frag/fb
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/frag/rb
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/iphc
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/nd
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/pkt
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/pktbuf
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/pktbuf_static
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/sock
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/sock/udp
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/transport_layer/udp
"make" -C /data/riotbuild/riotbase/sys/net/link_layer/eui_provider
"make" -C /data/riotbuild/riotbase/sys/net/link_layer/l2util
"make" -C /data/riotbuild/riotbase/sys/net/netif
"make" -C /data/riotbuild/riotbase/sys/net/netutils
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/icmpv6
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/ipv6/addr
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/ipv6/hdr
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/sixlowpan
"make" -C /data/riotbuild/riotbase/sys/net/sock
"make" -C /data/riotbuild/riotbase/sys/net/transport_layer/udp
"make" -C /data/riotbuild/riotbase/sys/newlib_syscalls_default
"make" -C /data/riotbuild/riotbase/sys/pm_layered
"make" -C /data/riotbuild/riotbase/sys/posix/inet
"make" -C /data/riotbuild/riotbase/sys/posix/pthread
"make" -C /data/riotbuild/riotbase/sys/preprocessor
"make" -C /data/riotbuild/riotbase/sys/ps
"make" -C /data/riotbuild/riotbase/sys/random
"make" -C /data/riotbuild/riotbase/sys/shell
"make" -C /data/riotbuild/riotbase/sys/shell/cmds
"make" -C /data/riotbuild/riotbase/sys/stdio
"make" -C /data/riotbuild/riotbase/sys/stdio_uart
"make" -C /data/riotbuild/riotbase/sys/timex
"make" -C /data/riotbuild/riotbase/sys/tsrb
"make" -C /data/riotbuild/riotbase/sys/ztimer
"make" -C /data/riotbuild/riotbase/sys/ztimer64
esptool.py v3.2-dev
Merged 24 ELF sections
Parsing CSV input...
   text	  data	   bss	   dec	   hex	filename
 421245	 58880	 46550	526675	 80953	/data/riotbuild/riotbase/examples/gnrc_border_router/bin/esp32-mh-et-live-minikit/gnrc_border_router.elf
esptool.py --chip esp32 --port /dev/ttyUSB1 --baud 460800 --before default_reset write_flash -z --flash_mode dout --flash_freq 40m --flash_size detect 0x1000 /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_border_router/bin/esp32-mh-et-live-minikit/esp_bootloader/bootloader.bin 0x8000 /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_border_router/bin/esp32-mh-et-live-minikit/partitions.bin 0x10000 /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_border_router/bin/esp32-mh-et-live-minikit/gnrc_border_router.elf.bin
esptool.py v4.7.0
Serial port /dev/ttyUSB1
Connecting.....
Chip is ESP32-D0WDQ6 (revision v1.0)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: a4:cf:12:44:d6:a4
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00083fff...
Warning: Image file at 0x1000 is protected with a hash checksum, so not changing the flash size setting. Use the --flash_size=keep option instead of --flash_size=4MB in order to remove this warning, or use the --dont-append-digest option for the elf2image command in order to generate an image file without a hash checksum
Compressed 17488 bytes to 11680...
Wrote 17488 bytes (11680 compressed) at 0x00001000 in 0.5 seconds (effective 279.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 85...
Wrote 3072 bytes (85 compressed) at 0x00008000 in 0.0 seconds (effective 598.1 kbit/s)...
Hash of data verified.
Compressed 472864 bytes to 325149...
Wrote 472864 bytes (325149 compressed) at 0x00010000 in 7.8 seconds (effective 486.9 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/pyterm/pyterm -p "/dev/ttyUSB1" -b "115200"  
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2024-04-24 15:36:05,748 # Connect to serial port /dev/ttyUSB1
2024-04-24 15:36:06,771 # Pro cpu up.
Welcome to pyterm!
Type '/exit' to exit.
2024-04-24 15:36:06,771 # Single core mode
2024-04-24 15:36:06,772 # Initializing. RAM available for dynamic allocation:
2024-04-24 15:36:06,772 # At 3FFAE6E0 len 00001920 (6 KiB): DRAM
2024-04-24 15:36:06,772 # At 3FFBD8D0 len 00022730 (137 KiB): DRAM
2024-04-24 15:36:06,773 # At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
2024-04-24 15:36:06,773 # At 40078000 len 00008000 (32 KiB): IRAM
2024-04-24 15:36:06,773 # At 4008FE2C len 000101D4 (64 KiB): IRAM
2024-04-24 15:36:06,773 # 
2024-04-24 15:36:07,899 # DHCPv6: Selecting interface 10 as upstream
2024-04-24 15:36:07,899 # DHCPv6: Selecting interface 10 as upstream
2024-04-24 15:36:07,899 # main(): This is RIOT! (Version: 2024.07-devel-7-ga8069-2024.04-branch)
2024-04-24 15:36:07,900 # RIOT border router example application
2024-04-24 15:36:07,900 # All up, running the shell now
> 2024-04-24 15:36:12,044 # WiFi connected to ssid foobar, channel 1
ifconfig
2024-04-24 15:44:47,388 # ifconfig
2024-04-24 15:44:47,389 # Iface  9  HWaddr: A4:CF:12:44:D6:A5  Channel: 1 
2024-04-24 15:44:47,389 #           L2-PDU:249  MTU:1280  HL:64  RTR  
2024-04-24 15:44:47,389 #           RTR_ADV  6LO  Source address length: 6
2024-04-24 15:44:47,389 #           Link type: wireless
2024-04-24 15:44:47,390 #           inet6 addr: fe80::a6cf:12ff:fe44:d6a5  scope: link  VAL
2024-04-24 15:44:47,410 #           inet6 addr: 2a01:c22:ac3e:fb7f:a6cf:12ff:fe44:d6a5  scope: global  VAL
2024-04-24 15:44:47,410 #           inet6 group: ff02::2
2024-04-24 15:44:47,411 #           inet6 group: ff02::1
2024-04-24 15:44:47,411 #           inet6 group: ff02::1:ff44:d6a5
2024-04-24 15:44:47,411 #           
2024-04-24 15:44:47,411 # Iface  10  HWaddr: A4:CF:12:44:D6:A4  Channel: 1  Link: up 
2024-04-24 15:44:47,433 #           L2-PDU:1500  MTU:1492  HL:255  RTR  
2024-04-24 15:44:47,434 #           Source address length: 6
2024-04-24 15:44:47,434 #           Link type: wireless
2024-04-24 15:44:47,434 #           inet6 addr: fe80::a6cf:12ff:fe44:d6a4  scope: link  VAL
2024-04-24 15:44:47,435 #           inet6 addr: 2a01:c22:ac3e:fb00:a6cf:12ff:fe44:d6a4  scope: global  VAL
2024-04-24 15:44:47,442 #           inet6 group: ff02::2
2024-04-24 15:44:47,443 #           inet6 group: ff02::1
2024-04-24 15:44:47,443 #           inet6 group: ff02::1:ff44:d6a4
2024-04-24 15:44:47,443 #           
> ping google.de
2024-04-24 15:45:10,864 # ping google.de
2024-04-24 15:45:10,933 # 12 bytes from 2a00:1450:4001:81c::2003: icmp_seq=0 ttl=116 time=36.213 ms
2024-04-24 15:45:11,931 # 12 bytes from 2a00:1450:4001:81c::2003: icmp_seq=1 ttl=116 time=33.321 ms
2024-04-24 15:45:12,945 # 12 bytes from 2a00:1450:4001:81c::2003: icmp_seq=2 ttl=116 time=34.492 ms
2024-04-24 15:45:12,945 # 
2024-04-24 15:45:12,946 # --- google.de PING statistics ---
2024-04-24 15:45:12,946 # 3 packets transmitted, 3 packets received, 0% packet loss
2024-04-24 15:45:12,946 # round-trip min/avg/max = 33.321/34.675/36.213 ms

@maribu
Copy link
Member

maribu commented Apr 24, 2024

08. Task #13 - ICMPv6 echo between ESP and named Internet host through RIOT BR with 6LowPAN

diff --git a/examples/gnrc_networking/Makefile b/examples/gnrc_networking/Makefile
index 555b89eee5..ca9baae993 100644
--- a/examples/gnrc_networking/Makefile
+++ b/examples/gnrc_networking/Makefile
@@ -28,6 +28,8 @@ USEMODULE += ps
 USEMODULE += netstats_l2
 USEMODULE += netstats_ipv6
 USEMODULE += netstats_rpl
+USEMODULE += sock_dns
+USEMODULE += gnrc_ipv6_nib_dns
 
 # Optionally include DNS support. This includes resolution of names at an
 # upstream DNS server and the handling of RDNSS options in Router Advertisements
make BOARD=esp8266-esp-12x BUILD_IN_DOCKER=1 PORT=/dev/ttyUSB0 flash term
Launching build container using image "docker.io/riot/riotbuild:latest".
podman run --rm --tty --userns keep-id -v '/etc/zoneinfo/Europe/Berlin:/etc/localtime:ro' -v '/home/maribu/Repos/software/RIOT/2024.04-branch:/data/riotbuild/riotbase:delegated' -v '/home/maribu/.cargo/registry:/data/riotbuild/.cargo/registry:delegated' -v '/home/maribu/.cargo/git:/data/riotbuild/.cargo/git:delegated' -e 'RIOTBASE=/data/riotbuild/riotbase' -e 'CCACHE_BASEDIR=/data/riotbuild/riotbase' -v '/home/maribu/.cache/RIOT:/data/riotbuild/build:delegated' -e 'BUILD_DIR=/data/riotbuild/build' -e 'RIOTPROJECT=/data/riotbuild/riotbase' -e 'RIOTCPU=/data/riotbuild/riotbase/cpu' -e 'RIOTBOARD=/data/riotbuild/riotbase/boards' -e 'RIOTMAKE=/data/riotbuild/riotbase/makefiles'    -v '/home/maribu/Repos/software/boards/riot:/data/riotbuild/external/riot:delegated' -v '/home/maribu/Repos/software/miot-pcbs/RIOT/boards:/data/riotbuild/external/boards:delegated'  -v '/home/maribu/Repos/software/RIOT/master/.git:/home/maribu/Repos/software/RIOT/master/.git:delegated' -e 'BOARD=esp8266-esp-12x' -e 'DISABLE_MODULE=' -e 'DEFAULT_MODULE=' -e 'FEATURES_REQUIRED=' -e 'FEATURES_BLACKLIST=' -e 'FEATURES_OPTIONAL=' -e 'USEMODULE=auto_init_gnrc_netif auto_init_gnrc_rpl gnrc_icmpv6_echo gnrc_icmpv6_error gnrc_ipv6_nib_dns gnrc_ipv6_router_default gnrc_rpl netdev_default netstats_ipv6 netstats_l2 netstats_rpl ps shell shell_cmd_gnrc_udp shell_cmds_default sock_dns' -e 'USEPKG='  -w '/data/riotbuild/riotbase/examples/gnrc_networking/' 'docker.io/riot/riotbuild:latest' make 'BOARD=esp8266-esp-12x'  'EXTERNAL_BOARD_DIRS=/data/riotbuild/external/riot /data/riotbuild/external/boards /data/riotbuild/riotbase/tests/build_system/external_board_dirs/esp-ci-boards'  
Building application "gnrc_networking" for "esp8266-esp-12x" with CPU "esp8266".

"make" -C /data/riotbuild/riotbase/pkg/esp8266_sdk/ 
"make" -C /data/riotbuild/riotbase/boards/common/init
"make" -C /data/riotbuild/riotbase/boards/esp8266-esp-12x
"make" -C /data/riotbuild/riotbase/boards/common/esp8266
"make" -C /data/riotbuild/riotbase/core
"make" -C /data/riotbuild/riotbase/core/lib
"make" -C /data/riotbuild/riotbase/cpu/esp8266
"make" -C /data/riotbuild/riotbase/cpu/esp8266/freertos
"make" -C /data/riotbuild/riotbase/cpu/esp8266/periph
"make" -C /data/riotbuild/riotbase/cpu/esp8266/sdk
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor/esp-idf
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor/esp-idf/esp8266/source
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor/esp-idf/nvs_flash/src
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor/esp-idf/spi_flash
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor/esp-idf/util/src
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor/esp-idf/wpa_supplicant
"make" -C /data/riotbuild/riotbase/cpu/esp8266/vendor/esp-idf/wpa_supplicant/src/crypto
"make" -C /data/riotbuild/riotbase/cpu/esp_common
"make" -C /data/riotbuild/riotbase/cpu/esp_common/esp-now
"make" -C /data/riotbuild/riotbase/cpu/esp_common/esp-xtensa
"make" -C /data/riotbuild/riotbase/cpu/esp_common/freertos
"make" -C /data/riotbuild/riotbase/cpu/esp_common/periph
"make" -C /data/riotbuild/riotbase/cpu/esp_common/vendor
"make" -C /data/riotbuild/riotbase/cpu/esp_common/vendor/xtensa
"make" -C /data/riotbuild/riotbase/drivers
"make" -C /data/riotbuild/riotbase/drivers/mtd
"make" -C /data/riotbuild/riotbase/drivers/netdev
"make" -C /data/riotbuild/riotbase/drivers/periph_common
"make" -C /data/riotbuild/riotbase/pkg/esp8266_sdk/bootloader
"make" -C /data/riotbuild/riotbase/sys
"make" -C /data/riotbuild/riotbase/sys/auto_init
"make" -C /data/riotbuild/riotbase/sys/cpp_new_delete
"make" -C /data/riotbuild/riotbase/sys/div
"make" -C /data/riotbuild/riotbase/sys/event
"make" -C /data/riotbuild/riotbase/sys/evtimer
"make" -C /data/riotbuild/riotbase/sys/fmt
"make" -C /data/riotbuild/riotbase/sys/frac
"make" -C /data/riotbuild/riotbase/sys/iolist
"make" -C /data/riotbuild/riotbase/sys/isrpipe
"make" -C /data/riotbuild/riotbase/sys/libc
"make" -C /data/riotbuild/riotbase/sys/luid
"make" -C /data/riotbuild/riotbase/sys/net/application_layer/dns
"make" -C /data/riotbuild/riotbase/sys/net/application_layer/sock_dns
"make" -C /data/riotbuild/riotbase/sys/net/crosslayer/inet_csum
"make" -C /data/riotbuild/riotbase/sys/net/crosslayer/netopt
"make" -C /data/riotbuild/riotbase/sys/net/gnrc
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netapi
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netif
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netif/hdr
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netif/init_devs
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/netreg
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/icmpv6
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/icmpv6/echo
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/icmpv6/error
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ipv6
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ipv6/hdr
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ipv6/nib
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/ndp
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/ctx
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/frag
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/frag/fb
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/frag/rb
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/iphc
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/network_layer/sixlowpan/nd
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/pkt
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/pktbuf
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/pktbuf_static
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/pktdump
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/routing/rpl
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/sock
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/sock/udp
"make" -C /data/riotbuild/riotbase/sys/net/gnrc/transport_layer/udp
"make" -C /data/riotbuild/riotbase/sys/net/link_layer/eui_provider
"make" -C /data/riotbuild/riotbase/sys/net/link_layer/l2util
"make" -C /data/riotbuild/riotbase/sys/net/netif
"make" -C /data/riotbuild/riotbase/sys/net/netutils
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/icmpv6
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/ipv6/addr
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/ipv6/hdr
"make" -C /data/riotbuild/riotbase/sys/net/network_layer/sixlowpan
"make" -C /data/riotbuild/riotbase/sys/net/sock
"make" -C /data/riotbuild/riotbase/sys/net/transport_layer/udp
"make" -C /data/riotbuild/riotbase/sys/newlib_syscalls_default
"make" -C /data/riotbuild/riotbase/sys/od
"make" -C /data/riotbuild/riotbase/sys/posix/inet
"make" -C /data/riotbuild/riotbase/sys/preprocessor
"make" -C /data/riotbuild/riotbase/sys/ps
"make" -C /data/riotbuild/riotbase/sys/random
"make" -C /data/riotbuild/riotbase/sys/shell
"make" -C /data/riotbuild/riotbase/sys/shell/cmds
"make" -C /data/riotbuild/riotbase/sys/stdio
"make" -C /data/riotbuild/riotbase/sys/stdio_uart
"make" -C /data/riotbuild/riotbase/sys/trickle
"make" -C /data/riotbuild/riotbase/sys/tsrb
"make" -C /data/riotbuild/riotbase/sys/ztimer
esptool.py v2.4.0
Parsing CSV input...
   text	  data	   bss	   dec	   hex	filename
 389032	  5396	 49320	443748	 6c564	/data/riotbuild/riotbase/examples/gnrc_networking/bin/esp8266-esp-12x/gnrc_networking.elf
esptool.py --chip esp8266 --port /dev/ttyUSB0 --baud 460800 --before default_reset write_flash -z --flash_mode dout --flash_freq 26m --flash_size detect 0x0000 /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/esp8266-esp-12x/esp_bootloader/bootloader.bin 0x8000 /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/esp8266-esp-12x/partitions.bin 0x10000 /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/esp8266-esp-12x/gnrc_networking.elf.bin
esptool.py v4.7.0
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 4c:eb:d6:ed:bb:2f
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x00001fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x00070fff...
Flash params set to 0x0341
Compressed 5552 bytes to 4464...
Wrote 5552 bytes (4464 compressed) at 0x00000000 in 0.1 seconds (effective 349.4 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 85...
Wrote 3072 bytes (85 compressed) at 0x00008000 in 0.0 seconds (effective 1539.5 kbit/s)...
Hash of data verified.
Compressed 394512 bytes to 269796...
Wrote 394512 bytes (269796 compressed) at 0x00010000 in 6.1 seconds (effective 520.7 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/pyterm/pyterm -p "/dev/ttyUSB0" -b "115200" --set-rts 0 --set-dtr 0 
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2024-04-24 16:01:26,085 # Connect to serial port /dev/ttyUSB0
Welcome to pyterm!
Type '/exit' to exit.
2024-04-24 16:01:27,105 # 
2024-04-24 16:01:27,105 # 
2024-04-24 16:01:27,242 # NETOPT_TX_END_IRQ not implemented by driver
2024-04-24 16:01:27,247 # main(): This is RIOT! (Version: 2024.07-devel-7-ga8069-2024.04-branch)
2024-04-24 16:01:27,250 # RIOT network stack example application
2024-04-24 16:01:27,255 # All up, running the shell now
ifconfig 11 set channel 1
2024-04-24 16:01:29,388 # ifconfig 11 set channel 1
2024-04-24 16:01:29,401 # success: set channel on interface 11 to 1
> ifconfig
2024-04-24 16:01:32,569 # ifconfig
2024-04-24 16:01:32,576 # Iface  11  HWaddr: 4E:EB:D6:ED:BB:2F  Channel: 1 
2024-04-24 16:01:32,578 #           L2-PDU:249  MTU:1280  HL:64  RTR  
2024-04-24 16:01:32,583 #           RTR_ADV  6LO  Source address length: 6
2024-04-24 16:01:32,586 #           Link type: wireless
2024-04-24 16:01:32,592 #           inet6 addr: fe80::4ceb:d6ff:feed:bb2f  scope: link  VAL
2024-04-24 16:01:32,595 #           inet6 group: ff02::2
2024-04-24 16:01:32,597 #           inet6 group: ff02::1
2024-04-24 16:01:32,600 #           inet6 group: ff02::1:ffed:bb2f
2024-04-24 16:01:32,603 #           inet6 group: ff02::1a
2024-04-24 16:01:32,606 #           
2024-04-24 16:01:32,608 #           Statistics for Layer 2
2024-04-24 16:01:32,611 #             RX packets 0  bytes 0
2024-04-24 16:01:32,614 #             TX packets 0 (Multicast: 0)  bytes 0
2024-04-24 16:01:32,617 #             TX succeeded 0 errors 0
2024-04-24 16:01:32,620 #           Statistics for IPv6
2024-04-24 16:01:32,623 #             RX packets 0  bytes 0
2024-04-24 16:01:32,628 #             TX packets 3 (Multicast: 3)  bytes 162
2024-04-24 16:01:32,632 #             TX succeeded 3 errors 0
2024-04-24 16:01:32,632 # 
> 
2024-04-24 16:01:34,591 # ifconfig
2024-04-24 16:01:34,597 # Iface  11  HWaddr: 4E:EB:D6:ED:BB:2F  Channel: 1 
2024-04-24 16:01:34,600 #           L2-PDU:249  MTU:1280  HL:64  RTR  
2024-04-24 16:01:34,606 #           RTR_ADV  6LO  Source address length: 6
2024-04-24 16:01:34,608 #           Link type: wireless
2024-04-24 16:01:34,614 #           inet6 addr: fe80::4ceb:d6ff:feed:bb2f  scope: link  VAL
2024-04-24 16:01:34,616 #           inet6 group: ff02::2
2024-04-24 16:01:34,619 #           inet6 group: ff02::1
2024-04-24 16:01:34,622 #           inet6 group: ff02::1:ffed:bb2f
2024-04-24 16:01:34,625 #           inet6 group: ff02::1a
2024-04-24 16:01:34,627 #           
2024-04-24 16:01:34,630 #           Statistics for Layer 2
2024-04-24 16:01:34,633 #             RX packets 0  bytes 0
2024-04-24 16:01:34,636 #             TX packets 0 (Multicast: 0)  bytes 0
2024-04-24 16:01:34,639 #             TX succeeded 0 errors 0
2024-04-24 16:01:34,642 #           Statistics for IPv6
2024-04-24 16:01:34,644 #             RX packets 0  bytes 0
2024-04-24 16:01:34,650 #             TX packets 3 (Multicast: 3)  bytes 162
2024-04-24 16:01:34,653 #             TX succeeded 3 errors 0
2024-04-24 16:01:34,654 # 
> 
2024-04-24 16:01:36,509 # ifconfig
2024-04-24 16:01:36,515 # Iface  11  HWaddr: 4E:EB:D6:ED:BB:2F  Channel: 1 
2024-04-24 16:01:36,518 #           L2-PDU:249  MTU:1280  HL:64  RTR  
2024-04-24 16:01:36,523 #           RTR_ADV  6LO  Source address length: 6
2024-04-24 16:01:36,526 #           Link type: wireless
2024-04-24 16:01:36,532 #           inet6 addr: fe80::4ceb:d6ff:feed:bb2f  scope: link  VAL
2024-04-24 16:01:36,535 #           inet6 group: ff02::2
2024-04-24 16:01:36,538 #           inet6 group: ff02::1
2024-04-24 16:01:36,541 #           inet6 group: ff02::1:ffed:bb2f
2024-04-24 16:01:36,543 #           inet6 group: ff02::1a
2024-04-24 16:01:36,546 #           
2024-04-24 16:01:36,548 #           Statistics for Layer 2
2024-04-24 16:01:36,551 #             RX packets 0  bytes 0
2024-04-24 16:01:36,555 #             TX packets 0 (Multicast: 0)  bytes 0
2024-04-24 16:01:36,557 #             TX succeeded 0 errors 0
2024-04-24 16:01:36,560 #           Statistics for IPv6
2024-04-24 16:01:36,563 #             RX packets 0  bytes 0
2024-04-24 16:01:36,568 #             TX packets 3 (Multicast: 3)  bytes 162
2024-04-24 16:01:36,572 #             TX succeeded 3 errors 0
2024-04-24 16:01:36,572 # 
> 
2024-04-24 16:01:38,249 # ifconfig
2024-04-24 16:01:38,255 # Iface  11  HWaddr: 4E:EB:D6:ED:BB:2F  Channel: 1 
2024-04-24 16:01:38,258 #           L2-PDU:249  MTU:1280  HL:64  RTR  
2024-04-24 16:01:38,263 #           RTR_ADV  6LO  Source address length: 6
2024-04-24 16:01:38,266 #           Link type: wireless
2024-04-24 16:01:38,272 #           inet6 addr: fe80::4ceb:d6ff:feed:bb2f  scope: link  VAL
2024-04-24 16:01:38,280 #           inet6 addr: 2a01:c22:ac3e:fb7f:4ceb:d6ff:feed:bb2f  scope: global  VAL
2024-04-24 16:01:38,280 #           inet6 group: ff02::2
2024-04-24 16:01:38,283 #           inet6 group: ff02::1
2024-04-24 16:01:38,288 #           inet6 group: ff02::1:ffed:bb2f
2024-04-24 16:01:38,292 #           inet6 group: ff02::1a
2024-04-24 16:01:38,292 #           
2024-04-24 16:01:38,294 #           Statistics for Layer 2
2024-04-24 16:01:38,297 #             RX packets 0  bytes 0
2024-04-24 16:01:38,302 #             TX packets 0 (Multicast: 0)  bytes 148
2024-04-24 16:01:38,305 #             TX succeeded 2 errors 0
2024-04-24 16:01:38,308 #           Statistics for IPv6
2024-04-24 16:01:38,311 #             RX packets 2  bytes 240
2024-04-24 16:01:38,316 #             TX packets 5 (Multicast: 4)  bytes 306
2024-04-24 16:01:38,319 #             TX succeeded 5 errors 0
2024-04-24 16:01:38,319 # 
> ping riot-os.org
2024-04-24 16:01:42,517 # ping riot-os.org
2024-04-24 16:01:42,761 # 12 bytes from 2a01:4f9:1a:9508::1: icmp_seq=0 ttl=57 time=50.499 ms
2024-04-24 16:01:43,761 # 12 bytes from 2a01:4f9:1a:9508::1: icmp_seq=1 ttl=57 time=50.963 ms
2024-04-24 16:01:44,764 # 12 bytes from 2a01:4f9:1a:9508::1: icmp_seq=2 ttl=57 time=53.247 ms
2024-04-24 16:01:44,764 # 
2024-04-24 16:01:44,766 # --- riot-os.org PING statistics ---
2024-04-24 16:01:44,772 # 3 packets transmitted, 3 packets received, 0% packet loss
2024-04-24 16:01:44,777 # round-trip min/avg/max = 50.499/51.569/53.247 ms
> ping  2a01:c22:ac3e:fb00:a6cf:12ff:fe44:d6a4
2024-04-24 16:03:40,650 # ping  2a01:c22:ac3e:fb00:a6cf:12ff:fe44:d6a4
2024-04-24 16:03:40,669 # 12 bytes from 2a01:c22:ac3e:fb00:a6cf:12ff:fe44:d6a4: icmp_seq=0 ttl=64 time=8.835 ms
2024-04-24 16:03:41,672 # 12 bytes from 2a01:c22:ac3e:fb00:a6cf:12ff:fe44:d6a4: icmp_seq=1 ttl=64 time=11.053 ms
2024-04-24 16:03:42,668 # 12 bytes from 2a01:c22:ac3e:fb00:a6cf:12ff:fe44:d6a4: icmp_seq=2 ttl=64 time=8.294 ms
2024-04-24 16:03:42,668 # 
2024-04-24 16:03:42,673 # --- 2a01:c22:ac3e:fb00:a6cf:12ff:fe44:d6a4 PING statistics ---
2024-04-24 16:03:42,679 # 3 packets transmitted, 3 packets received, 0% packet loss
2024-04-24 16:03:42,681 # round-trip min/avg/max = 8.294/9.394/11.053 ms
> ping 2a01:c22:ac3e:fb7f:a6cf:12ff:fe44:d6a5
2024-04-24 16:03:50,466 # ping 2a01:c22:ac3e:fb7f:a6cf:12ff:fe44:d6a5
2024-04-24 16:03:50,484 # 12 bytes from 2a01:c22:ac3e:fb7f:a6cf:12ff:fe44:d6a5: icmp_seq=0 ttl=64 time=7.712 ms
2024-04-24 16:03:51,483 # 12 bytes from 2a01:c22:ac3e:fb7f:a6cf:12ff:fe44:d6a5: icmp_seq=1 ttl=64 time=7.151 ms
2024-04-24 16:03:52,482 # 12 bytes from 2a01:c22:ac3e:fb7f:a6cf:12ff:fe44:d6a5: icmp_seq=2 ttl=64 time=7.145 ms
2024-04-24 16:03:52,483 # 
2024-04-24 16:03:52,488 # --- 2a01:c22:ac3e:fb7f:a6cf:12ff:fe44:d6a5 PING statistics ---
2024-04-24 16:03:52,493 # 3 packets transmitted, 3 packets received, 0% packet loss
2024-04-24 16:03:52,496 # round-trip min/avg/max = 7.145/7.336/7.712 ms

@miri64
Copy link
Member

miri64 commented Apr 24, 2024

The configuration via environment variables still doesn't work with BUILD_IN_DOCKER=1 - not sure if we really should pass through environment variables needed for just a signle application, though. Anyway, I configured it instead like this:

You should be able to expose applictation specific environment variable through the DOCKER_ENV_VARS environment variable.

@maribu
Copy link
Member

maribu commented Apr 24, 2024

04. Task #7 (Experimental) - ICMPv6 multicast echo with samr21-xpro/zero + xbee

samr21-xpro

make BOARD=samr21-xpro flash term -C examples/gnrc_networking
make: Entering directory '/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking'
Building application "gnrc_networking" for "samr21-xpro" with CPU "samd21".

"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/pkg/cmsis/ 
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/samr21-xpro
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core/lib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/vectors
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/at86rf2xx
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/edbg_eui
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/netdev
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/periph_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/auto_init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/div
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/event
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/evtimer
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/fmt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/frac
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/isrpipe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/libc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/luid
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/malloc_thread_safe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/crosslayer/inet_csum
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netapi
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/ieee802154
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/init_devs
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netreg
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/echo
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/error
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/nib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ndp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/ctx
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/fb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/rb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/iphc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/nd
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pkt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf_static
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktdump
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/routing/rpl
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/eui_provider
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/ieee802154
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/l2util
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netutils
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/addr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/newlib_syscalls_default
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/od
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/pm_layered
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/preprocessor
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ps
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/random
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell/cmds
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/stdio
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/stdio_uart
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/trickle
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/tsrb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ztimer
   text	  data	   bss	   dec	   hex	filename
  95932	   220	 18628	114780	 1c05c	/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/samr21-xpro/gnrc_networking.elf
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/edbg/edbg.sh flash /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/samr21-xpro/gnrc_networking.bin
### Flashing Target ###
Debugger: ATMEL EDBG CMSIS-DAP ATML2127031800009225 03.25.01B6 (S)
Clock frequency: 16.0 MHz
Target: SAM R21G18 (Rev C)
Verification............... done.
Done flashing
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/pyterm/pyterm -p "/dev/ttyACM1" -b "115200"  
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2024-04-24 17:12:44,783 # Connect to serial port /dev/ttyACM1
Welcome to pyterm!
Type '/exit' to exit.
2024-04-24 17:12:45,786 # main(): This is RIOT! (Version: 2024.07-devel-7-ga8069-2024.04-branch)
2024-04-24 17:12:45,787 # RIOT network stack example application
2024-04-24 17:12:45,787 # All up, running the shell now
> ifconfig
2024-04-24 17:13:05,066 # ifconfig
2024-04-24 17:13:05,072 # Iface  6  HWaddr: 42:29  Channel: 26  NID: 0x23  PHY: O-QPSK 
2024-04-24 17:13:05,073 #           
2024-04-24 17:13:05,078 #           Long HWaddr: 00:04:25:19:18:01:C2:29 
2024-04-24 17:13:05,085 #            TX-Power: 0dBm  State: IDLE  max. Retrans.: 3  CSMA Retries: 4 
2024-04-24 17:13:05,092 #           AUTOACK  ACK_REQ  CSMA  L2-PDU:102  MTU:1280  HL:64  RTR  
2024-04-24 17:13:05,095 #           RTR_ADV  6LO  IPHC  
2024-04-24 17:13:05,098 #           Source address length: 8
2024-04-24 17:13:05,101 #           Link type: wireless
2024-04-24 17:13:05,107 #           inet6 addr: fe80::204:2519:1801:c229  scope: link  VAL
2024-04-24 17:13:05,110 #           inet6 group: ff02::2
2024-04-24 17:13:05,112 #           inet6 group: ff02::1
2024-04-24 17:13:05,116 #           inet6 group: ff02::1:ff01:c229
2024-04-24 17:13:05,119 #           inet6 group: ff02::1a
2024-04-24 17:13:05,120 #           
2024-04-24 17:13:05,123 #           Statistics for Layer 2
2024-04-24 17:13:05,126 #             RX packets 2  bytes 86
2024-04-24 17:13:05,131 #             TX packets 4 (Multicast: 4)  bytes 158
2024-04-24 17:13:05,134 #             TX succeeded 4 errors 0
2024-04-24 17:13:05,137 #           Statistics for IPv6
2024-04-24 17:13:05,140 #             RX packets 2  bytes 128
2024-04-24 17:13:05,145 #             TX packets 4 (Multicast: 4)  bytes 242
2024-04-24 17:13:05,148 #             TX succeeded 4 errors 0
2024-04-24 17:13:05,148 # 
> ifconfig 6 set channel 17
2024-04-24 17:13:12,450 # ifconfig 6 set channel 17
2024-04-24 17:13:12,455 # success: set channel on interface 6 to 17
2024-04-24 17:13:59,649 # ping fe80::213:a200:417c:2394
2024-04-24 17:13:59,729 # 12 bytes from fe80::213:a200:417c:2394%6: icmp_seq=0 ttl=64 rssi=-46 dBm time=71.717 ms
2024-04-24 17:14:00,737 # 12 bytes from fe80::213:a200:417c:2394%6: icmp_seq=1 ttl=64 rssi=-46 dBm time=72.715 ms
2024-04-24 17:14:01,744 # 12 bytes from fe80::213:a200:417c:2394%6: icmp_seq=2 ttl=64 rssi=-46 dBm time=72.582 ms
2024-04-24 17:14:01,744 # 
2024-04-24 17:14:01,748 # --- fe80::213:a200:417c:2394 PING statistics ---
2024-04-24 17:14:01,753 # 3 packets transmitted, 3 packets received, 0% packet loss
2024-04-24 17:14:01,758 # round-trip min/avg/max = 71.717/72.338/72.715 ms

wemos-zero + xbee

USEMODULE=xbee make BOARD=wemos-zero flash term -C examples/gnrc_networking
make: Entering directory '/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking'
Building application "gnrc_networking" for "wemos-zero" with CPU "samd21".

"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/pkg/cmsis/ 
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/wemos-zero
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/arduino-zero
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/samdx1-arduino-bootloader
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core/lib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/vectors
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/netdev
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/periph_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/xbee
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/auto_init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/auto_init/usb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/div
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/event
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/evtimer
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/fmt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/frac
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/isrpipe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/libc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/luid
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/malloc_thread_safe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/crosslayer/inet_csum
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netapi
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/init_devs
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netreg
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/echo
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/error
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/nib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ndp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/ctx
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/fb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/rb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/iphc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/nd
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pkt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf_static
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktdump
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/routing/rpl
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/eui_provider
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/ieee802154
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/l2util
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netutils
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/addr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/newlib_syscalls_default
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/od
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/pm_layered
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/preprocessor
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ps
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/random
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell/cmds
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/stdio
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/trickle
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/tsrb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/usb/usbus
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/usb/usbus/cdc/acm
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/usb_board_reset
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ztimer
   text	  data	   bss	   dec	   hex	filename
  96200	   220	 21024	117444	 1cac4	/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/wemos-zero/gnrc_networking.elf
stty -F /dev/ttyACM0 raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
sleep 2
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/bossa-1.9/bossac -p /dev/ttyACM0 -o 0x2000 -e -i -w -v -b -R /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/wemos-zero/gnrc_networking.bin
Device       : ATSAMD21x18
Version      : v2.0 [Arduino:XYZ] Apr 11 2019 13:09:49
Address      : 0x0
Pages        : 4096
Page Size    : 64 bytes
Total Size   : 256KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
BOD          : true
BOR          : true
Erase flash

Done in 0.869 seconds
Write 96420 bytes to flash (1507 pages)
[==============================] 100% (1507/1507 pages)
Done in 0.578 seconds
Verify 96420 bytes of flash
[==============================] 100% (1507/1507 pages)
Verify successful
Done in 0.757 seconds
Set boot flash true
sleep 2
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200"  
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2024-04-24 17:12:41,538 # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
2024-04-24 17:12:42,543 # NETOPT_TX_END_IRQ not implemented by driver
2024-04-24 17:12:42,581 # main(): This is RIOT! (Version: 2024.07-devel-7-ga8069-2024.04-branch)
2024-04-24 17:12:42,581 # RIOT network stack example application
2024-04-24 17:12:42,581 # All up, running the shell now
> ifconfig
2024-04-24 17:12:46,898 # ifconfig
2024-04-24 17:12:46,939 # Iface  7  HWaddr: 23:14  Channel: 26  NID: 0x23 
2024-04-24 17:12:46,940 #           Long HWaddr: 00:13:A2:00:41:7C:23:94 
2024-04-24 17:12:46,940 #           L2-PDU:100  MTU:1280  HL:64  RTR  
2024-04-24 17:12:46,941 #           RTR_ADV  6LO  IPHC  
2024-04-24 17:12:46,942 #           Source address length: 8
2024-04-24 17:12:46,942 #           Link type: wireless
2024-04-24 17:12:46,942 #           inet6 addr: fe80::213:a200:417c:2394  scope: link  VAL
2024-04-24 17:12:46,942 #           inet6 group: ff02::2
2024-04-24 17:12:46,943 #           inet6 group: ff02::1
2024-04-24 17:12:46,943 #           inet6 group: ff02::1:ff7c:2394
2024-04-24 17:12:46,943 #           inet6 group: ff02::1a
2024-04-24 17:12:46,943 #           
2024-04-24 17:12:46,943 #           Statistics for Layer 2
2024-04-24 17:12:46,944 #             RX packets 0  bytes 0
2024-04-24 17:12:46,944 #             TX packets 0 (Multicast: 0)  bytes 94
2024-04-24 17:12:46,944 #             TX succeeded 0 errors 0
2024-04-24 17:12:46,944 #           Statistics for IPv6
2024-04-24 17:12:46,945 #             RX packets 3  bytes 178
2024-04-24 17:12:46,945 #             TX packets 3 (Multicast: 3)  bytes 178
2024-04-24 17:12:46,945 #             TX succeeded 3 errors 0
2024-04-24 17:12:46,945 # 
> ifconfig 7 set channel 17
2024-04-24 17:13:53,812 # ifconfig 7 set channel 17
2024-04-24 17:13:53,833 # success: set channel on interface 7 to 17
ping fe80::204:2519:1801:c229
2024-04-24 17:13:56,838 # ping fe80::204:2519:1801:c229
2024-04-24 17:13:56,916 # 12 bytes from fe80::204:2519:1801:c229%7: icmp_seq=0 ttl=64 rssi=39 dBm time=74.795 ms
2024-04-24 17:13:57,918 # 12 bytes from fe80::204:2519:1801:c229%7: icmp_seq=1 ttl=64 rssi=37 dBm time=74.954 ms
2024-04-24 17:13:58,921 # 12 bytes from fe80::204:2519:1801:c229%7: icmp_seq=2 ttl=64 rssi=37 dBm time=75.034 ms
2024-04-24 17:13:58,921 # 
2024-04-24 17:13:58,923 # --- fe80::204:2519:1801:c229 PING statistics ---
2024-04-24 17:13:58,923 # 3 packets transmitted, 3 packets received, 0% packet loss
2024-04-24 17:13:58,923 # round-trip min/avg/max = 74.795/74.927/75.034 ms
> ping -c 1000 -i 150 -s 50 ff02::1
2024-04-24 17:14:44,598 # ping -c 1000 -i 150 -s 50 ff02::1
2024-04-24 17:14:44,825 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=0 ttl=64 rssi=38 dBm time=224.833 ms
2024-04-24 17:14:44,976 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=1 ttl=64 rssi=37 dBm time=224.830 ms
2024-04-24 17:14:45,127 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=2 ttl=64 rssi=39 dBm time=224.833 ms
2024-04-24 17:14:45,278 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=3 ttl=64 rssi=40 dBm time=224.835 ms
2024-04-24 17:14:45,428 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=4 ttl=64 rssi=42 dBm time=224.832 ms
[...]
2024-04-24 17:17:14,284 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=994 ttl=64 rssi=37 dBm time=224.830 ms
2024-04-24 17:17:14,434 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=995 ttl=64 rssi=38 dBm time=224.833 ms
2024-04-24 17:17:14,586 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=996 ttl=64 rssi=38 dBm time=224.829 ms
2024-04-24 17:17:14,736 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=997 ttl=64 rssi=37 dBm time=224.832 ms
2024-04-24 17:17:14,886 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=998 ttl=64 rssi=37 dBm time=224.835 ms
2024-04-24 17:17:14,979 # 58 bytes from fe80::204:2519:1801:c229%7: icmp_seq=999 ttl=64 rssi=37 dBm time=167.592 ms
2024-04-24 17:17:15,811 # 
2024-04-24 17:17:15,812 # --- ff02::1 PING statistics ---
2024-04-24 17:17:15,812 # 1000 packets transmitted, 992 packets received, 0% packet loss
2024-04-24 17:17:15,813 # round-trip min/avg/max = 167.592/224.775/224.843 ms

@maribu
Copy link
Member

maribu commented Apr 24, 2024

Task #8 (Experimental) - ICMPv6 echo with samr21-xpro/zero + xbee

Note

I had to cold boot the wemos-zero to have connectivity (see the first failed ping). I assume the xbee hardware and driver state's got out of sync.

samr21-xpro

make BOARD=samr21-xpro flash term -C examples/gnrc_networking
make: Entering directory '/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking'
Building application "gnrc_networking" for "samr21-xpro" with CPU "samd21".

"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/pkg/cmsis/ 
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/samr21-xpro
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core/lib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/vectors
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/at86rf2xx
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/edbg_eui
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/netdev
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/periph_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/auto_init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/div
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/event
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/evtimer
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/fmt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/frac
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/isrpipe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/libc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/luid
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/malloc_thread_safe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/crosslayer/inet_csum
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netapi
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/ieee802154
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/init_devs
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netreg
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/echo
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/error
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/nib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ndp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/ctx
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/fb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/rb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/iphc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/nd
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pkt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf_static
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktdump
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/routing/rpl
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/eui_provider
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/ieee802154
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/l2util
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netutils
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/addr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/newlib_syscalls_default
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/od
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/pm_layered
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/preprocessor
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ps
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/random
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell/cmds
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/stdio
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/stdio_uart
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/trickle
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/tsrb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ztimer
   text	  data	   bss	   dec	   hex	filename
  95932	   220	 18628	114780	 1c05c	/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/samr21-xpro/gnrc_networking.elf
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/edbg/edbg.sh flash /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/samr21-xpro/gnrc_networking.bin
### Flashing Target ###
Debugger: ATMEL EDBG CMSIS-DAP ATML2127031800009225 03.25.01B6 (S)
Clock frequency: 16.0 MHz
Target: SAM R21G18 (Rev C)
Verification............... done.
Done flashing
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/pyterm/pyterm -p "/dev/ttyACM1" -b "115200"  
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2024-04-24 17:20:42,260 # Connect to serial port /dev/ttyACM1
Welcome to pyterm!
Type '/exit' to exit.
2024-04-24 17:20:43,263 # main(): This is RIOT! (Version: 2024.07-devel-7-ga8069-2024.04-branch)
2024-04-24 17:20:43,263 # RIOT network stack example application
2024-04-24 17:20:43,264 # All up, running the shell now
> ifconfig
2024-04-24 17:20:48,942 # ifconfig
2024-04-24 17:20:48,948 # Iface  6  HWaddr: 42:29  Channel: 26  NID: 0x23  PHY: O-QPSK 
2024-04-24 17:20:48,949 #           
2024-04-24 17:20:48,954 #           Long HWaddr: 00:04:25:19:18:01:C2:29 
2024-04-24 17:20:48,961 #            TX-Power: 0dBm  State: IDLE  max. Retrans.: 3  CSMA Retries: 4 
2024-04-24 17:20:48,968 #           AUTOACK  ACK_REQ  CSMA  L2-PDU:102  MTU:1280  HL:64  RTR  
2024-04-24 17:20:48,971 #           RTR_ADV  6LO  IPHC  
2024-04-24 17:20:48,974 #           Source address length: 8
2024-04-24 17:20:48,977 #           Link type: wireless
2024-04-24 17:20:48,983 #           inet6 addr: fe80::204:2519:1801:c229  scope: link  VAL
2024-04-24 17:20:48,986 #           inet6 group: ff02::2
2024-04-24 17:20:48,988 #           inet6 group: ff02::1
2024-04-24 17:20:48,992 #           inet6 group: ff02::1:ff01:c229
2024-04-24 17:20:48,995 #           inet6 group: ff02::1a
2024-04-24 17:20:48,996 #           
2024-04-24 17:20:48,999 #           Statistics for Layer 2
2024-04-24 17:20:49,002 #             RX packets 0  bytes 0
2024-04-24 17:20:49,007 #             TX packets 3 (Multicast: 3)  bytes 115
2024-04-24 17:20:49,010 #             TX succeeded 3 errors 0
2024-04-24 17:20:49,013 #           Statistics for IPv6
2024-04-24 17:20:49,016 #             RX packets 0  bytes 0
2024-04-24 17:20:49,020 #             TX packets 3 (Multicast: 3)  bytes 178
2024-04-24 17:20:49,023 #             TX succeeded 3 errors 0
2024-04-24 17:20:49,023 # 

wemos-zero + xbee

USEMODULE=xbee make BOARD=wemos-zero flash term -C examples/gnrc_networking
make: Entering directory '/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking'
Building application "gnrc_networking" for "wemos-zero" with CPU "samd21".

"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/pkg/cmsis/ 
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/wemos-zero
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/arduino-zero
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/boards/common/samdx1-arduino-bootloader
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/core/lib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/cortexm_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/sam0_common/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/periph
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/cpu/samd21/vectors
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/netdev
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/periph_common
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/drivers/xbee
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/auto_init
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/auto_init/usb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/div
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/event
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/evtimer
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/fmt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/frac
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/isrpipe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/libc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/luid
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/malloc_thread_safe
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/crosslayer/inet_csum
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netapi
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netif/init_devs
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/netreg
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/echo
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/icmpv6/error
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ipv6/nib
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/ndp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/ctx
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/fb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/frag/rb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/iphc
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/network_layer/sixlowpan/nd
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pkt
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktbuf_static
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/pktdump
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/routing/rpl
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/gnrc/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/eui_provider
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/ieee802154
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/link_layer/l2util
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netif
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/netutils
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/icmpv6
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/addr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/ipv6/hdr
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/network_layer/sixlowpan
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/net/transport_layer/udp
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/newlib_syscalls_default
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/od
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/pm_layered
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/preprocessor
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ps
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/random
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/shell/cmds
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/stdio
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/trickle
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/tsrb
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/usb/usbus
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/usb/usbus/cdc/acm
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/usb_board_reset
"make" -C /home/maribu/Repos/software/RIOT/2024.04-branch/sys/ztimer
   text	  data	   bss	   dec	   hex	filename
  96200	   220	 21024	117444	 1cac4	/home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/wemos-zero/gnrc_networking.elf
stty -F /dev/ttyACM0 raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
sleep 2
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/bossa-1.9/bossac -p /dev/ttyACM0 -o 0x2000 -e -i -w -v -b -R /home/maribu/Repos/software/RIOT/2024.04-branch/examples/gnrc_networking/bin/wemos-zero/gnrc_networking.bin
Device       : ATSAMD21x18
Version      : v2.0 [Arduino:XYZ] Apr 11 2019 13:09:49
Address      : 0x0
Pages        : 4096
Page Size    : 64 bytes
Total Size   : 256KB
Planes       : 1
Lock Regions : 16
Locked       : none
Security     : false
BOD          : true
BOR          : true
Erase flash

Done in 0.869 seconds
Write 96420 bytes to flash (1507 pages)
[==============================] 100% (1507/1507 pages)
Done in 0.539 seconds
Verify 96420 bytes of flash
[==============================] 100% (1507/1507 pages)
Verify successful
Done in 0.757 seconds
Set boot flash true
sleep 2
/home/maribu/Repos/software/RIOT/2024.04-branch/dist/tools/pyterm/pyterm -p "/dev/ttyACM0" -b "115200"  
Twisted not available, please install it if you want to use pyterm's JSON capabilities
2024-04-24 17:20:53,364 # Connect to serial port /dev/ttyACM0
Welcome to pyterm!
Type '/exit' to exit.
2024-04-24 17:20:55,307 # gnrc_netif: init 7 failed: -5
2024-04-24 17:20:55,307 # main(): This is RIOT! (Version: 2024.07-devel-7-ga8069-2024.04-branch)
2024-04-24 17:20:55,308 # RIOT network stack example application
2024-04-24 17:20:55,308 # All up, running the shell now
> ifconfig
2024-04-24 17:20:57,261 # ifconfig
> ping -s 100 -c 1000 -i 350 fe80::204:2519:1801:c229
2024-04-24 17:21:18,318 # ping -s 100 -c 1000 -i 350 fe80::204:2519:1801:c229
2024-04-24 17:21:32,874 # Serial port disconnected, waiting to get reconnected...
2024-04-24 17:21:33,875 # Serial port disconnected, waiting to get reconnected...
2024-04-24 17:21:34,876 # Serial port disconnected, waiting to get reconnected...
2024-04-24 17:21:35,876 # Serial port disconnected, waiting to get reconnected...
2024-04-24 17:21:36,877 # Try to reconnect to /dev/ttyACM0 again...
2024-04-24 17:21:36,880 # Reconnected to serial port /dev/ttyACM0
2024-04-24 17:21:38,105 # NETOPT_TX_END_IRQ not implemented by driver
2024-04-24 17:21:38,196 # main(): This is RIOT! (Version: 2024.07-devel-7-ga8069-2024.04-branch)
2024-04-24 17:21:38,196 # RIOT network stack example application
2024-04-24 17:21:38,196 # All up, running the shell now
> ping -s 100 -c 1000 -i 350 fe80::204:2519:1801:c229
2024-04-24 17:21:39,618 # ping -s 100 -c 1000 -i 350 fe80::204:2519:1801:c229
2024-04-24 17:21:39,947 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=0 ttl=64 rssi=42 dBm time=326.309 ms
2024-04-24 17:21:40,300 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=1 ttl=64 rssi=42 dBm time=327.544 ms
2024-04-24 17:21:40,650 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=2 ttl=64 rssi=42 dBm time=327.280 ms
2024-04-24 17:21:41,000 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=3 ttl=64 rssi=41 dBm time=327.022 ms
2024-04-24 17:21:41,351 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=4 ttl=64 rssi=41 dBm time=326.548 ms
2024-04-24 17:21:41,702 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=5 ttl=64 rssi=41 dBm time=327.326 ms
2024-04-24 17:21:42,053 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=6 ttl=64 rssi=41 dBm time=327.498 ms
2024-04-24 17:21:42,404 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=7 ttl=64 rssi=42 dBm time=327.044 ms
[...]
2024-04-24 17:27:28,984 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=995 ttl=64 rssi=44 dBm time=325.610 ms
2024-04-24 17:27:29,335 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=996 ttl=64 rssi=44 dBm time=325.744 ms
2024-04-24 17:27:29,686 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=997 ttl=64 rssi=44 dBm time=326.104 ms
2024-04-24 17:27:30,038 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=998 ttl=64 rssi=43 dBm time=327.928 ms
2024-04-24 17:27:30,388 # 108 bytes from fe80::204:2519:1801:c229%7: icmp_seq=999 ttl=64 rssi=44 dBm time=327.699 ms
2024-04-24 17:27:31,061 # 
2024-04-24 17:27:31,062 # --- fe80::204:2519:1801:c229 PING statistics ---
2024-04-24 17:27:31,062 # 1000 packets transmitted, 992 packets received, 0% packet loss
2024-04-24 17:27:31,062 # round-trip min/avg/max = 325.296/326.821/343.661 ms

@Teufelchen1
Copy link
Contributor Author

Task #4 - ICMPv6 echo between iotlab-m3 and Internet host through Linux with 6LowPAN

Works as intended but the desciption says:

Since Linux' 6Lo implementation doesn't support 6Lo-ND DAD yet, the RIOT image needs to be compiled with CFLAGS += -DGNRC_IPV6_NIB_CONF_SLAAC=1 to be able to fall back to classic SLAAC + DAD.

I did not do that but it still worked. 😬

@miri64
Copy link
Member

miri64 commented Apr 25, 2024

I did not do that but it still worked. 😬

Maybe Linux finally implemented 6Lo-ND?

@miri64
Copy link
Member

miri64 commented Apr 25, 2024

(or more likely: the standard config of the application in RIOT changed ;-))

@Teufelchen1
Copy link
Contributor Author

Task #5 - ICMPv6 echo between iotlab-m3 and Internet host through RIOT border router
Task #6 - UDP between iotlab-m3 and Internet host through RIOT border router
Task #7 - UDP between iotlab-m3 and Internet host through RIOT border router (200b payload)

No issues here - but I did use the nrf52840dk as the border router and the nrf52840dongle instead of the iotlab-m3. In addition, for "internet host" I assumed that routing a packet from the router interface to my loop-back is enough "internet". As soon as I can route packets, all arising issues are not RIOT related.

@Teufelchen1
Copy link
Contributor Author

Closing in favor of #307

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants