{"id":12130,"date":"2016-04-19T15:41:52","date_gmt":"2016-04-19T20:41:52","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=12130"},"modified":"2016-04-19T16:00:13","modified_gmt":"2016-04-19T21:00:13","slug":"mlinux-the-things-network","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/lora\/mlinux-the-things-network\/","title":{"rendered":"Conduit mLinux: Configure for The Things Network"},"content":{"rendered":"<p><em>For Conduit MTCDT-x-210L models only<\/em><\/p>\n<h3>Basic Setup<\/h3>\n<ol>\n<li>Install the LoRa mCard. Refer to <a href='https:\/\/www.multitech.net\/developer\/products\/multiconnect-conduit-platform\/accessory-cards\/installing-an-accessory-card\/' title='Installing an mCard Accessory Card'>Installing an mCard Accessory Card<\/a>.<\/li>\n<li>Attach the LoRa antenna to the LoRa mCard.<\/li>\n<li>Use the power cable to connect power to the Conduit and wait for the Conduit to boot up.<\/li>\n<li>With an ethernet cable, connect the Conduit to an internet accessible network.<\/li>\n<li>Connect your PC to the back of the Conduit using a USB to micro USB cable.<\/li>\n<li>Use a serial terminal app such as Putty or Minicom to connect to the Conduit&#8217;s virtual USB COM port\n<ol>\n<li>If you need a driver on Windows, <a href=\"https:\/\/www.exar.com\/product\/interface\/uarts\/usb-uarts\/xr21b1411\">download here under Applications<\/a><\/li>\n<li>Baud rate 115,200 8N1 without flow control<\/li>\n<\/ol>\n<\/li>\n<li>When greeted with the mLinux login text (you may need to press Enter), login with <code>root<\/code> and <code>root<\/code>.<br \/>\n<a href=\"https:\/\/www.multitech.net\/developer\/wp-content\/uploads\/2016\/04\/ml-login.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12131\" alt=\"ml-login\" src=\"https:\/\/www.multitech.net\/developer\/wp-content\/uploads\/2016\/04\/ml-login.png\" width=\"352\" height=\"231\" srcset=\"https:\/\/www.multitech.net\/developer\/wp-content\/uploads\/2016\/04\/ml-login.png 352w, https:\/\/www.multitech.net\/developer\/wp-content\/uploads\/2016\/04\/ml-login-300x196.png 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><\/li>\n<\/ol>\n<h3>Configure Network Access<\/h3>\n<ol>\n<li>Issue this command to configure the Conduit&#8217;s ethernet port as a DHCP client and gain internet access.\n<pre class=\"brush:shell\">sed -i -e's\/^\\(if.*\\)static$\/\\1dhcp\/' -e's\/^add\/# &amp;\/' -e's\/^net\/# &amp;\/' \/var\/config\/network\/interfaces; ifdown eth0; ifup eth0<\/pre>\n<\/li>\n<li>Test your internet connection. Press <code>Ctrl-C<\/code> to stop ping.\n<pre class=\"brush:shell\">$ ping google.com\r\nPING google.com (216.58.218.206) 56(84) bytes of data.\r\n64 bytes from dfw06s47-in-f14.1e100.net (216.58.218.206): icmp_seq=1 ttl=50 time=112 ms\r\n64 bytes from dfw06s47-in-f14.1e100.net (216.58.218.206): icmp_seq=2 ttl=50 time=171 ms<\/pre>\n<\/li>\n<\/ol>\n<h3>Configure LoRa<\/h3>\n<ol>\n<li>Issue this command to download the TTN configuration script:\n<pre class=\"brush:text\">curl -#O https:\/\/www.multitech.net\/downloads\/configure-for-ttn.sh; chmod +x configure-for-ttn.sh<\/pre>\n<\/li>\n<li>Run the TTN configuration script with your country code:\n<pre class=\"brush:shell\">.\/configure-for-ttn.sh EU<\/pre>\n<\/li>\n<li>Now your gateway should be ready to receive LoRa packets and forward them to the TTN network server!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>For Conduit MTCDT-x-210L models only Basic Setup Install the LoRa mCard. Refer to . Attach the LoRa antenna to the LoRa mCard. Use the power cable to connect power to the Conduit and wait for the Conduit to boot up. With an ethernet cable, connect the Conduit to an internet accessible network. Connect your PC [&hellip;]<\/p>\n","protected":false},"author":1235,"featured_media":0,"parent":8462,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-12130","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/1235"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=12130"}],"version-history":[{"count":28,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12130\/revisions"}],"predecessor-version":[{"id":12207,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/12130\/revisions\/12207"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/8462"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=12130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}