<?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>Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43735/configure-6lowpan-router-using-ubuntu-16-04-laptop-with-nrf52840-dongle</link><description>Having trouble using a Raspberry Pi 3 as BLE/6LowPAN router in the IoT MQTT example project from nrf5_sdk_15.2.0 
 I was recommended to use Ubuntu box instead of Raspian(it has not been updated for a long time!??) 
 Linux kernel version on Ubuntu box</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Feb 2019 13:48:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43735/configure-6lowpan-router-using-ubuntu-16-04-laptop-with-nrf52840-dongle" /><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171651?ContentTypeID=1</link><pubDate>Mon, 18 Feb 2019 13:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:718edc7f-2cc4-4ca1-a296-df454c1c8aef</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You either need IPv6 connectivity between the Raspberry Pi and the MQTT Broker, or you need to setup a &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/create-hurricane-tunnel-broker-on-raspberry-pi"&gt;IPv6 tunnel service&lt;/a&gt; or &lt;a href="https://en.wikipedia.org/wiki/NAT64"&gt;NAT64&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171484?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 20:07:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e62c54d-c9c1-4a52-b052-dbe571c0814b</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;Is it a firm requirement to have IPv6 connectivity between Raspberry Pi BLE 6LoWPAN router and the MQTT Broker to get this MQTT example project to work? Is there any nRF52 MQTT soution available for IPv4?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171466?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 16:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b4c979c-985d-4229-88d6-8f05b0a1e590</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;I have IPv6 connection to nrf52840DK publisher over bt0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;root@raspberrypi:~# ping6 -I bt0 fe80::3e:e4ff:fe87:d3fb -c 2&lt;br /&gt;PING fe80::3e:e4ff:fe87:d3fb(fe80::3e:e4ff:fe87:d3fb) from fe80::b827:ebff:fefb:61f0%bt0 bt0: 56 data bytes&lt;br /&gt;64 bytes from fe80::3e:e4ff:fe87:d3fb%bt0: icmp_seq=1 ttl=255 time=88.7 ms&lt;br /&gt;64 bytes from fe80::3e:e4ff:fe87:d3fb%bt0: icmp_seq=2 ttl=255 time=62.6 ms&lt;/p&gt;
&lt;p&gt;root@raspberrypi:~# ifconfig bt0 add 2001:db8::1/64&lt;br /&gt;root@raspberrypi:~# ifconfig&lt;br /&gt;bt0: flags=4161&amp;lt;UP,RUNNING,MULTICAST&amp;gt; mtu 1280&lt;br /&gt; inet6 2001:db8::1 prefixlen 64 scopeid 0x0&amp;lt;global&amp;gt;&lt;br /&gt; inet6 fe80::b827:ebff:fefb:61f0 prefixlen 64 scopeid 0x20&amp;lt;link&amp;gt;&lt;br /&gt; unspec B8-27-EB-FB-61-F0-28-FD-00-00-00-00-00-00-00-00 txqueuelen 1000 (UNSPEC)&lt;br /&gt; RX packets 5 bytes 157 (157.0 B)&lt;br /&gt; RX errors 0 dropped 2 overruns 0 frame 0&lt;br /&gt; TX packets 32 bytes 3184 (3.1 KiB)&lt;br /&gt; TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171464?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 16:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6c64ff5-1db6-4fd8-ba7f-c83eb66b8f04</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;No right now i can&amp;#39;t ping6 my linux pc from Raspberry pi, ping6 ::ffff:c0a8:0073 =&amp;gt;&amp;nbsp;&amp;quot;Ping: sendmsg: Network is unreachable&amp;quot;&lt;/p&gt;
&lt;p&gt;and yes I am running MQTT example on the&amp;nbsp;&lt;span&gt;nRF52840 dongle attached to Raspberry pi as 6lowpan router. Using nrf52840DK as Publisher endnode, and Ubuntu Laptop as Mosquitto MQTT Broker.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the clue&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171462?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 16:38:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1893562e-23dd-4804-9492-70064ee69bd3</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Did you have IPv6 connectivity between the Raspberry Pi and the Ubuntu Linux PC? Are you running the MQTT example on the nRF52840 dongle?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171459?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 16:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f2d8512-b5f7-460d-b79b-4be4cb916435</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;Sorry I will provide more details.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would like to verify the IoT MQTT example from SDK 15.2.0 and first I tried with Raspberry Pi 3 running Raspbian 4.14.79 (newest noobs 3.0.0) as the 6lowpan router with a nrf52840DK as Publisher endnode and a Ubuntu Linux PC as MQTT broker.&lt;/p&gt;
&lt;p&gt;It worked as far as establish BLE connection and IPv6 link was up between endnode and router, but could not get MQTT connection to work (LED2 on LED1 off)&lt;/p&gt;
&lt;p&gt;see&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/43393/setting-up-a-raspberry-pi-3-as-iot-ble-6lowpan-border-router-using-an-nrf52840-dongle-pca10059-where-is-the-router-program-that-should-run-on-the-rpi3"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/43393/setting-up-a-raspberry-pi-3-as-iot-ble-6lowpan-border-router-using-an-nrf52840-dongle-pca10059-where-is-the-router-program-that-should-run-on-the-rpi3&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I asked about the raspberry pi 3 6lowpan router , and his answer assumed my question was about the Broker on a raspberry pi or something.&lt;/p&gt;
&lt;p&gt;Anyway I could not get the Raspberry pi partly to work as a&amp;nbsp;&lt;span&gt;6lowpan router, so I am trying alternative way like using a Ubuntu Laptop with the nrf52840 dongle plugged in.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So you have used a &amp;quot;Raspberry Pi 3 and this have worked well&amp;quot; ! Have you tested it with the IoT MQTT publisher example? Or could you , please?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For more background info&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/support/222408"&gt;devzone.nordicsemi.com/.../222408&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171446?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 15:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fefea4b-a522-44e4-bf1a-39443d7dbf1c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I understand exactly what you are trying to do. You mention laptop in the subject, but Raspberry Pi in the text. Are you using a laptop, and does it have an integrated bluetooth card that support Bluetooth Low Energy, or are you trying to use the nRF52840 dongle to connect to the MQTT example? Or are you using a Raspberry Pi 3?&lt;/p&gt;
&lt;p&gt;Note that the dongle does not come with any HCI firmware, and this is only available from Nordic through Zephyr OS. If the dongle &amp;quot;breathe&amp;quot; red, this normally means that it is in bootloader mode and that no firmware have been programmed.&lt;/p&gt;
&lt;p&gt;I have only tried 6lowpan together with Raspberry Pi 3 running Raspbian, and this have worked well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171407?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 14:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5c13ce4-d2c2-46ca-b10b-34e08f542f5a</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;Things I have done before retried &amp;quot;sudo su&amp;nbsp;- user guide steps&amp;quot;&lt;/p&gt;
&lt;p&gt;sudo&amp;nbsp;apt-get install bluez radvd libcap-ng0&lt;/p&gt;
&lt;p&gt;sudo&amp;nbsp;apt-get upgrade&lt;/p&gt;
&lt;p&gt;sudo apt-get update&lt;/p&gt;
&lt;p&gt;But hcitool&amp;nbsp;lescan&amp;nbsp;gave the same result &amp;quot;Set scan parameters failed: Connection timed out&amp;quot;&lt;/p&gt;
&lt;p&gt;The dongle is breathing red.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171365?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 12:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18c24af8-0c1a-4b51-8ddf-7108d530eb14</guid><dc:creator>Olaf</dc:creator><description>&lt;p&gt;plp@toby:~$ sudo su&lt;br /&gt;[sudo] password for plp: &lt;br /&gt;root@toby:/home/plp# mount -t debugfs none /sys/kernel/debug&lt;br /&gt;mount: none is already mounted or /sys/kernel/debug busy&lt;br /&gt;root@toby:/home/plp# ls /sys/kernel/debug&lt;br /&gt;acpi dynamic_debug iwlwifi pm_qos suspend_stats&lt;br /&gt;aufs extfrag kprobes pstate_snb tracing&lt;br /&gt;bdi fault_around_bytes kvm pwm usb&lt;br /&gt;bluetooth frontswap kvm-guest ras virtio-ports&lt;br /&gt;cleancache gpio mce regmap wakeup_sources&lt;br /&gt;clk ieee80211 mei0 regulator x86&lt;br /&gt;dma_buf intel_powerclamp pinctrl sched_features zswap&lt;br /&gt;dri iosf_sb pkg_temp_thermal sleep_time&lt;br /&gt;root@toby:/home/plp# modprobe bluetooth_6lowpan&lt;br /&gt;root@toby:/home/plp# echo 1 &amp;gt; /sys/kernel/debug/bluetooth/6lowpan_enable&lt;br /&gt;root@toby:/home/plp# hciconfig&lt;br /&gt;hci0: Type: BR/EDR Bus: USB&lt;br /&gt;BD Address: BC:77:37:31:6A:0E ACL MTU: 310:10 SCO MTU: 64:8&lt;br /&gt;UP RUNNING PSCAN ISCAN &lt;br /&gt;RX bytes:1142 acl:0 sco:0 events:66 errors:0&lt;br /&gt;TX bytes:3657 acl:0 sco:0 commands:65 errors:0&lt;/p&gt;
&lt;p&gt;root@toby:/home/plp# hciconfig hci0 reset&lt;br /&gt;root@toby:/home/plp# hcitool lescan&lt;br /&gt;Set scan parameters failed: Connection timed out&lt;br /&gt;root@toby:/home/plp#&lt;/p&gt;
&lt;p&gt;I have the nrf52840 dongle pluged in while running the commands.&lt;/p&gt;
&lt;p&gt;root@toby:/home/plp# lsmod&lt;br /&gt;Module Size Used by&lt;br /&gt;bluetooth_6lowpan 20480 0&lt;br /&gt;6lowpan 20480 8 nhc_fragment,nhc_hop,nhc_udp,bluetooth_6lowpan,nhc_dest,nhc_ipv6,nhc_mobility,nhc_routing&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;plp@toby:~$ lsusb&lt;br /&gt;Bus 002 Device 003: ID 8086:0189 Intel Corp. &lt;br /&gt;Bus 002 Device 009: ID 1915:521f Nordic Semiconductor ASA &lt;br /&gt;Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub&lt;br /&gt;Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;Bus 001 Device 003: ID 04f2:b213 Chicony Electronics Co., Ltd Fujitsu Integrated Camera&lt;br /&gt;Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub&lt;br /&gt;Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;plp@toby:~$&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any suggestion to solve &amp;quot;Set scan parameters failed: Connection timed out&amp;quot; ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configure 6lowpan router using Ubuntu 16.04 laptop with nRF52840 dongle.</title><link>https://devzone.nordicsemi.com/thread/171345?ContentTypeID=1</link><pubDate>Fri, 15 Feb 2019 11:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05673bfb-f84e-4216-9866-6325069fe643</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend trying to login as root user: &amp;#39;sudo su&amp;#39;, then follow the commands in the &lt;a href="https://www.nordicsemi.com/DocLib/Content/SDK_Doc/nRF5_SDK/v15-2-0/iot_sdk_user_guides_linux_commands"&gt;documentation user guide&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>