{"id":6670,"date":"2024-09-06T07:44:24","date_gmt":"2024-09-06T07:44:24","guid":{"rendered":"https:\/\/www.mixtile.com\/?post_type=ht_kb&#038;p=6670"},"modified":"2024-11-04T06:30:46","modified_gmt":"2024-11-04T06:30:46","slug":"configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux","status":"publish","type":"ht_kb","link":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/","title":{"rendered":"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux"},"content":{"rendered":"<div class=\"wp-block-jetpack-markdown\"><p><!-- # Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux--><\/p>\n<h2>\u6982\u8981<\/h2>\n<p>Mixtile Edge 2 Kit has a mini-PCIe interface that can be used to integrate the LoRaWAN gateway for IoT application design. This tutorial describes how to configure a LoRaWAN gateway on Mixtile Edge 2 Kit that runs a Linux distribution.<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n<p>\u59cb\u3081\u308b\u524d\u306b\u3001\u3042\u306a\u305f\u304c\u6301\u3063\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<\/p>\n<ol>\n<li>\n<p>Installed a LoRaWAN gateway to Mixtile Edge 2 Kit as follows:<\/p>\n<p><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2024\/09\/lora_on_edge_2_with_screws.jpg?w=1020&#038;ssl=1\" alt=\"lora_on_edge_2_with_screws\" data-recalc-dims=\"1\"><\/p>\n<\/li>\n<li>\n<p>Installed a Linux distribution on Mixtile Edge 2 Kit. For details, see <a href=\"https:\/\/www.mixtile.com\/ja\/docs\/installing-an-operating-system-on-mixtile-edge2-kit\/\">Mixtile Edge 2\u30ad\u30c3\u30c8\u3078\u306e\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>.<\/p>\n<\/li>\n<li>\n<p>Connected Mixtile Edge 2 Kit to the Internet.<\/p>\n<\/li>\n<li>\n<p>Connected to Mixtile Edge 2 Kit as a standard user via SSH.<\/p>\n<\/li>\n<\/ol>\n<blockquote>\n<p>This guide takes LoRaWAN gateway SW8031 and Debian 11 (download the image <a href=\"https:\/\/downloads.mixtile.com\/edge2\/debian_image\/image-release-rockchip-format-mixtile-edge2-debian11-20240909.img.zip\">here<\/a>, username <code>mixtile<\/code>, password <code>mixtile<\/code>) to illustrate the configuration process. If you use a different Linux distribution, steps might vary slightly.<\/p>\n<\/blockquote>\n<h2>Setting up Chirpstack and LoRaWAN gateway<\/h2>\n<p>Mixtile provides a script to help you easily set up Chirpstack and the LoRaWAN gateway. You can run the script as follows:<\/p>\n<ol>\n<li>\n<p>Download the script to Mixtile Edge 2 Kit and run it:<\/p>\n<pre><code class=\"language-bash\">cd ~\nwget https:\/\/downloads.mixtile.com\/doc-files\/lora_linux.sh\nbash lora_linux.sh\n<\/code><\/pre>\n<blockquote>\n<p>\u6ce8\uff1a<\/p>\n<p>This script has only been tested on Debian 11. If you use another OS, you might need to modify the script accordingly.<\/p>\n<\/blockquote>\n<\/li>\n<li>\n<p>\u30a4\u30f3\u30d7\u30c3\u30c8 <code>yes<\/code> and then your password (<code>mixtile<\/code> in this case) when the messages below are prompted:<\/p>\n<pre><code class=\"language-bash\">\nAre you sure you want to continue connecting (yes\/no\/[fingerprint])? # Input yes\n\nmixtile@localhost's password:   # Input your password\n<\/code><\/pre>\n<\/li>\n<li>\n<p>Select a region for the LoRaWAN gateway based on the LoRaWAN module and devices you intend to use:<\/p>\n<pre><code class=\"language-sh\">Please select a region file:\n1. AS923\n2. CN490\n3. EU868\n4. US915\nEnter the option number:\n<\/code><\/pre>\n<\/li>\n<li>\n<p>Decide if you want to start the LoRaWAN gateway on boot:<\/p>\n<pre><code class=\"language-sh\">Do you want the LoRaWAN gateway to start on boot? (y\/n)\n<\/code><\/pre>\n<\/li>\n<li>\n<p>Select a Chirpstack configuration option based on your region. This region needs to match the one configured for the LoRaWAN gateway in Step 3 (otherwise, the communication may fail)\uff1a<\/p>\n<pre><code class=\"language-sh\">Please select an option:\n1. as923\n2. as923_2\n3. as923_3\n4. as923_4\n5. au915_0\n6. au915_1\n7. au915_2\n8. au915_3\n9. au915_4\n10. au915_5\n11. au915_6\n12. au915_7\n13. cn470_0\n14. cn470_1\n15. cn470_10\n16. cn470_11\n17. cn470_2\n18. cn470_3\n19. cn470_4\n20. cn470_5\n21. cn470_6\n22. cn470_7\n23. cn470_8\n24. cn470_9\n25. cn779\n26. eu433\n27. eu868\n28. in865\n29. ism2400\n30. kr920\n31. ru864\n32. us915_0\n33. us915_1\n34. us915_2\n35. us915_3\n36. us915_4\n37. us915_5\n38. us915_6\n39. us915_7\nEnter the option number:\n<\/code><\/pre>\n<blockquote>\n<p>Some regions may have more than one configuration option. In this case, the <code>*_0<\/code> option (for example, <code>us915_0<\/code> for US and <code>cn470_0<\/code> for CN) is recommended.<\/p>\n<\/blockquote>\n<\/li>\n<li>\n<p>Wait about 10 minutes for the script to complete. When it&#8217;s done, it returns the LoRaWAN gateway ID (<code>0016c001f160f372<\/code> in this example) and the <code>Script completed successfully<\/code> message as follows:<\/p>\n<p><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/app\/uploads\/edge2-chirpstack-lorawan-gateway-script-completed.png?w=1020&#038;ssl=1\" alt=\"\" data-recalc-dims=\"1\"><\/p>\n<blockquote>\n<p>Copy this ID somewhere convenient, as it&#8217;s needed in later steps.<\/p>\n<\/blockquote>\n<\/li>\n<\/ol>\n<h2>Adding the LoRaWAN gateway to ChirpStack<\/h2>\n<ol>\n<li>\n<p>Open a browser to access <code>&lt;IP-address&gt;:8080<\/code> (replace <code>&lt;IP-address&gt;<\/code> with the IP of your Mixtile Edge 2 Kit) and log into Chirpstack (username: <code>admin<\/code>; password: <code>admin<\/code>):<\/p>\n<p><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/app\/uploads\/login-chirpstack.png?w=1020&#038;ssl=1\" alt=\"login-chirpstack\" data-recalc-dims=\"1\"><\/p>\n<\/li>\n<li>\n<p>\u30af\u30ea\u30c3\u30af <strong>Gateways<\/strong> in the side navigation bar and click <strong>Add gateway<\/strong>:<\/p>\n<p><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2024\/09\/add-gateway-in-chirpstack.png?w=1020&#038;ssl=1\" alt=\"add-gateway-in-chirpstack\" data-recalc-dims=\"1\"><\/p>\n<\/li>\n<li>\n<p>In the <strong>\u540d\u79f0<\/strong> field, set a name for the LoRaWAN gateway as you like, set <strong>Gateway ID<\/strong> to the EUI obtained during the LoRaWAN gateway configuration (in this example, <code>0016c001f160f372<\/code>), and then scroll down to click <strong>\u6295\u7a3f\u3059\u308b<\/strong>:<\/p>\n<p><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/app\/uploads\/add-chirpstack-gateway-config.png?w=1020&#038;ssl=1\" alt=\"add-chirpstack-gateway-config\" data-recalc-dims=\"1\"><\/p>\n<\/li>\n<\/ol>\n<p>You have now added the LoRaWAN gateway to Chirpstack. You can go to the <strong>Dashboard<\/strong> \u307e\u305f\u306f <strong>Gateways &gt; Dashboard<\/strong> page to check the gateway status. If the gateway status is <code>online<\/code>, it&#8217;s configured successfully.<\/p>\n<p><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2024\/09\/chirpstack-dashboard.png?w=1020&#038;ssl=1\" alt=\"chirpstack-dashboard\" data-recalc-dims=\"1\"><\/p>\n<p><img src=\"https:\/\/i0.wp.com\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2024\/09\/chirpstack-gateways-dashboard.png?w=1020&#038;ssl=1\" alt=\"chirpstack-gateways-dashboard\" data-recalc-dims=\"1\"><\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Configure a LoRaWAN gateway on Mixtile Edge 2 Kit that runs a Linux distribution.<\/p>","protected":false},"author":110,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"spay_email":""},"ht-kb-category":[195],"ht-kb-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux | Mixtile<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux | Mixtile\" \/>\n<meta property=\"og:description\" content=\"Configure a LoRaWAN gateway on Mixtile Edge 2 Kit that runs a Linux distribution.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Mixtile\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-04T06:30:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.mixtile.com\/app\/uploads\/2024\/09\/lora_on_edge_2_with_screws.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\",\"name\":\"Mixtile Limited\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"contentUrl\":\"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg\",\"caption\":\"Mixtile Limited\"},\"image\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\",\"url\":\"https:\/\/www.mixtile.com\/ja\/\",\"name\":\"Mixtile\",\"description\":\"Hardware for IoT Solutions\",\"publisher\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#primaryimage\",\"inLanguage\":\"ja\",\"url\":\"https:\/\/www.mixtile.com\/app\/uploads\/2024\/09\/lora_on_edge_2_with_screws.jpg\",\"contentUrl\":\"https:\/\/www.mixtile.com\/app\/uploads\/2024\/09\/lora_on_edge_2_with_screws.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#webpage\",\"url\":\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/\",\"name\":\"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux | Mixtile\",\"isPartOf\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#primaryimage\"},\"datePublished\":\"2024-09-06T07:44:24+00:00\",\"dateModified\":\"2024-11-04T06:30:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.mixtile.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux\"}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux | Mixtile","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/","og_locale":"ja_JP","og_type":"article","og_title":"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux | Mixtile","og_description":"Configure a LoRaWAN gateway on Mixtile Edge 2 Kit that runs a Linux distribution.","og_url":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/","og_site_name":"Mixtile","article_modified_time":"2024-11-04T06:30:46+00:00","og_image":[{"url":"https:\/\/www.mixtile.com\/app\/uploads\/2024\/09\/lora_on_edge_2_with_screws.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Organization","@id":"https:\/\/www.mixtile.com\/ja\/#organization","name":"Mixtile Limited","url":"https:\/\/www.mixtile.com\/ja\/","sameAs":[],"logo":{"@type":"ImageObject","@id":"https:\/\/www.mixtile.com\/ja\/#logo","inLanguage":"ja","url":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","contentUrl":"https:\/\/dh19rycdk230a.cloudfront.net\/app\/uploads\/2022\/02\/logo.svg","caption":"Mixtile Limited"},"image":{"@id":"https:\/\/www.mixtile.com\/ja\/#logo"}},{"@type":"WebSite","@id":"https:\/\/www.mixtile.com\/ja\/#website","url":"https:\/\/www.mixtile.com\/ja\/","name":"Mixtile","description":"Hardware for IoT Solutions","publisher":{"@id":"https:\/\/www.mixtile.com\/ja\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mixtile.com\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"ImageObject","@id":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#primaryimage","inLanguage":"ja","url":"https:\/\/www.mixtile.com\/app\/uploads\/2024\/09\/lora_on_edge_2_with_screws.jpg","contentUrl":"https:\/\/www.mixtile.com\/app\/uploads\/2024\/09\/lora_on_edge_2_with_screws.jpg"},{"@type":"WebPage","@id":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#webpage","url":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/","name":"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux | Mixtile","isPartOf":{"@id":"https:\/\/www.mixtile.com\/ja\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#primaryimage"},"datePublished":"2024-09-06T07:44:24+00:00","dateModified":"2024-11-04T06:30:46+00:00","breadcrumb":{"@id":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.mixtile.com\/ja\/docs\/configuring-lorawan-gateways-on-mixtile-edge-2-kit-running-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.mixtile.com\/"},{"@type":"ListItem","position":2,"name":"Configuring LoRaWAN Gateways on Mixtile Edge 2 Kit Running Linux"}]}]}},"_links":{"self":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/6670"}],"collection":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/comments?post=6670"}],"version-history":[{"count":35,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/6670\/revisions"}],"predecessor-version":[{"id":7607,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb\/6670\/revisions\/7607"}],"wp:attachment":[{"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/media?parent=6670"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-category?post=6670"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mixtile.com\/ja\/wp-json\/wp\/v2\/ht-kb-tag?post=6670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}