<p></p>
<blockquote>
<p>I would love to have a tutorial on both what you did with the IoT-Lab, and also on using socket_zep.</p>
</blockquote>
<p>For visualizing the DODAG on the IoT-Lab, I followed <a href="https://github.com/iot-lab/iot-lab/wiki/Using-Foren6-to-diagnose-in-realtime-your-6LoWPAN-experiment">this tutorial</a>.<br>
I used multiple sniffers and this script to set up the local device nodes for <code>foren6</code>:</p>
<div class="highlight highlight-source-shell"><pre><span class="pl-c"><span class="pl-c">#!</span>/bin/bash</span>

<span class="pl-c"><span class="pl-c">#</span> sniffer nodes I got assigned by the experiment</span>
NODES=<span class="pl-s"><span class="pl-pds">"</span>102 139 299 341 365<span class="pl-pds">"</span></span>
REMOT_PORT=20000
LOCAL_PORT=40000

TTY_N=0

<span class="pl-k">for</span> <span class="pl-smi">n</span> <span class="pl-k">in</span> <span class="pl-smi">$NODES</span><span class="pl-k">;</span> <span class="pl-k">do</span>
    <span class="pl-s"><span class="pl-pds">((</span>TTY_N<span class="pl-k">=</span>TTY_N<span class="pl-k">+</span><span class="pl-c1">1</span><span class="pl-pds">))</span></span>
    <span class="pl-s"><span class="pl-pds">((</span>LOCAL_PORT<span class="pl-k">=</span>LOCAL_PORT<span class="pl-k">+</span><span class="pl-c1">1</span><span class="pl-pds">))</span></span>
    screen -d -m ssh grenoble -L <span class="pl-smi">$LOCAL_PORT</span>:m3-<span class="pl-smi">$n</span>:<span class="pl-smi">$REMOT_PORT</span>
    sleep 1
    screen -d -m socat TCP4:127.0.0.1:<span class="pl-smi">$LOCAL_PORT</span> pty,link=/tmp/mytty<span class="pl-smi">$TTY_N</span>,raw
<span class="pl-k">done</span></pre></div>
<p>To do the same on <code>native</code> with <code>socket_zep</code>, the procedure is described in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1004314298" data-permission-text="Title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/16879" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/16879/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/16879">#16879</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/14623#issuecomment-924957898">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYHDQSMRBC3PLVGXP4DUDHOHTANCNFSM4PJITZ5A">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABE7WYBYPIGPBUNBCBV6PO3UDHOHTA5CNFSM4PJITZ5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG4Q3ZSQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/14623#issuecomment-924957898",
"url": "https://github.com/RIOT-OS/RIOT/pull/14623#issuecomment-924957898",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>