<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ping problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44430/ping-problem</link><description>Hello everyone! I have followed the tutorial &amp;quot; Installing a 6LoWPAN enabled Linux kernel and required modules&amp;quot; and i have compiled the UDP client IoT example in order to test the connectivity. the led state shows that the ble connection was successful</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Mar 2019 16:26:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44430/ping-problem" /><item><title>RE: Ping problem</title><link>https://devzone.nordicsemi.com/thread/175118?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 16:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc92e431-47e4-4015-ba5d-4c035df19deb</guid><dc:creator>arfhamza</dc:creator><description>&lt;p&gt;Hello Sir, thank you for your reply.&lt;/p&gt;
&lt;p&gt;The mac adress is &amp;quot;00:21:12:A7:AF:6A&amp;quot;&lt;br /&gt;i tried pinging using &amp;quot;fe80::21:12ff:fea7:af6a and&amp;nbsp;fe80::221:12ff:fea7:af6a&amp;quot;&lt;br /&gt;But the result remains the same.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;i guess the problem is that i was using the commands&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;quot;&amp;nbsp;&lt;span&gt;ifconfig bt0 add 2001:db8::1/64&amp;quot;&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;quot; /etc/init.d/radvd restart&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt; before connecting the device and not after.&lt;br /&gt;I will try it as soon as i get to my office.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank you so much&amp;nbsp; for your help sir !&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ping problem</title><link>https://devzone.nordicsemi.com/thread/175113?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2019 16:16:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51d276b6-1302-4ee7-b965-214cd1171259</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Make sure you have radvd installed and configured:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/strong&gt;sudo apt install radvd&lt;/p&gt;
&lt;p&gt;Save this config file to the&lt;strong&gt; /etc/&lt;/strong&gt; folder:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-ca23ac68ce16495989d11156f3d29401/radvd.conf"&gt;devzone.nordicsemi.com/.../radvd.conf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then execute these commands as root (write &lt;strong&gt;sudo -i&lt;/strong&gt; to get root privileges)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; modprobe bluetooth-6lowpan&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo 1 &amp;gt; /proc/sys/net/ipv6/conf/all/forwarding&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo 1 &amp;gt; /sys/kernel/debug/bluetooth/6lowpan_enable&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &amp;quot;connect XX:XX:XX:XX:XX:XX 1&amp;quot; &amp;gt; /sys/kernel/debug/bluetooth/6lowpan_control&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifconfig bt0 add 2001:db8::1/64&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /etc/init.d/radvd restart&lt;/p&gt;
&lt;p&gt;You should now see that the bt0 interface has a 2001:db8::1/64 ip using ifconfig.&lt;/p&gt;
&lt;p&gt;Translate the MAC address to ipv6 address this way&lt;/p&gt;
&lt;p&gt;AA:BB:CC:DD:EE:FF = 2BB:CCff:feDD:EEFF&lt;/p&gt;
&lt;p&gt;then to ping with global prefix:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ping6 2001:db8::2BB:CCff:feDD:EEFF&lt;/p&gt;
&lt;p&gt;or to ping link local:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ping6 fe80::2BB:CCff:feDD:EEFF&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looking at the way you translated the MAC address into ipv6, &lt;span style="color:#999999;"&gt;&lt;span style="background-color:#000000;"&gt;fe80::21:12ff:fea7:af6a&lt;/span&gt;&lt;/span&gt;, I think maybe you should write 201 instead of 21? What is the MAC address?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>