{"id":318,"date":"2023-09-09T23:11:41","date_gmt":"2023-09-09T21:11:41","guid":{"rendered":"https:\/\/it4home.dk\/?p=318"},"modified":"2023-12-03T14:17:39","modified_gmt":"2023-12-03T12:17:39","slug":"setting-up-omada-controller-on-a-raspberry-pi-4-with-docker","status":"publish","type":"post","link":"https:\/\/it4home.dk\/index.php\/2023\/09\/09\/setting-up-omada-controller-on-a-raspberry-pi-4-with-docker\/","title":{"rendered":"Setting Up Omada Controller on a Raspberry Pi 4 with Docker"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-top-right\"><a href=\"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/318?print=pdf\" class=\"pdfprnt-button pdfprnt-button-pdf\" target=\"_blank\" ><\/a><a href=\"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/318?print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\" ><img decoding=\"async\" src=\"https:\/\/it4home.dk\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div>\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Managing TP-Link EAP devices becomes a breeze when you have a centralized controller. In this guide, we&#8217;ll walk through the steps to set up an Omada Controller on a Raspberry Pi 4 using Docker. This is an excellent solution for both home and small business networks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Raspberry Pi 4 with 4GB RAM<\/li>\n\n\n\n<li>Docker installed on the Raspberry Pi<\/li>\n\n\n\n<li>SSH access to the Raspberry Pi<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Step-by-Step Guide<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: SSH into Your Raspberry Pi<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, connect to your Raspberry Pi using SSH. This will allow you to execute commands remotely.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Pull the Omada Controller Docker Image<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run the following command to pull the latest Omada Controller Docker image:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker pull mbentley\/omada-controller:latest<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Create Data Directories<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Create directories to store Omada Controller&#8217;s data and work files:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir -p \/opt\/tplink\/OmadaController\/data\nmkdir -p \/opt\/tplink\/OmadaController\/work<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Run the Omada Controller Container<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Execute the following command to run the Omada Controller container:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d \\\n  --name omada-controller \\\n  --restart unless-stopped \\\n  -e TZ='Europe\/Copenhagen' \\\n  -e SMALL_FILES=false \\\n  -p 8088:8088 \\\n  -p 8043:8043 \\\n  -p 27001:27001\/udp \\\n  -p 27002:27002 \\\n  -p 29810:29810\/udp \\\n  -p 29811:29811 \\\n  -p 29812:29812 \\\n  -p 29813:29813 \\\n  -v \/opt\/tplink\/OmadaController\/data:\/opt\/tplink\/EAPController\/data \\\n  -v \/opt\/tplink\/OmadaController\/work:\/opt\/tplink\/EAPController\/work \\\n  mbentley\/omada-controller:latest<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Access the Omada Controller<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, open a web browser and navigate to <code>https:\/\/&lt;Raspberry_Pi_IP&gt;:8043<\/code>. Follow the setup wizard to complete the installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note<\/strong>: Replace <code>&lt;Raspberry_Pi_IP&gt;<\/code> with the actual IP address of your Raspberry Pi.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">You&#8217;ve successfully set up an Omada Controller on your Raspberry Pi 4 using Docker. This will help you manage your TP-Link EAP devices efficiently. If you have any questions or run into issues, feel free to reach out.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Feel free to add this to your homepage, and let me know if you&#8217;d like any adjustments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Managing TP-Link EAP devices becomes a breeze when you have a centralized controller. In this guide, we&#8217;ll walk through the steps to set up an Omada Controller on a Raspberry Pi 4 using&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":388,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[2,9,31,12],"tags":[],"class_list":["post-318","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-network","category-server","category-wifi"],"_links":{"self":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/comments?post=318"}],"version-history":[{"count":1,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/posts\/318\/revisions\/319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/media\/388"}],"wp:attachment":[{"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/media?parent=318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/categories?post=318"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it4home.dk\/index.php\/wp-json\/wp\/v2\/tags?post=318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}