{"id":444,"date":"2014-03-15T20:14:53","date_gmt":"2014-03-15T12:14:53","guid":{"rendered":"https:\/\/ros.tw\/wp\/?p=444"},"modified":"2014-07-27T22:25:16","modified_gmt":"2014-07-27T14:25:16","slug":"unifi-controller-on-debian","status":"publish","type":"post","link":"https:\/\/ros.tw\/wp\/?p=444","title":{"rendered":"Unifi controller on Debian"},"content":{"rendered":"<h2><strong><span style=\"color: #ff0000;\">\u628aUnifi\u7684\u63a7\u5236\u5668\u5b89\u88c5\u5728\u7f8e\u570b\u897f\u5cb8VPS\u4e0a\u9762<\/span><\/strong><\/h2>\n<p>https:\/\/ros.tw:8443<\/p>\n<p><a href=\"\/\/ros.tw\/wp\/wp-content\/uploads\/2014\/03\/20140315200315.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-442 size-full\" src=\"https:\/\/ros.tw\/wp\/wp-content\/uploads\/2014\/03\/20140315200315.png\" alt=\"\" width=\"1003\" height=\"793\" srcset=\"https:\/\/ros.tw\/wp\/wp-content\/uploads\/2014\/03\/20140315200315.png 1003w, https:\/\/ros.tw\/wp\/wp-content\/uploads\/2014\/03\/20140315200315-300x237.png 300w\" sizes=\"auto, (max-width: 1003px) 100vw, 1003px\" \/><\/a><\/p>\n<p>\u53c3\u8003\u6587\u7ae0<\/p>\n<p><a href=\"http:\/\/wiki.ubnt.com\/UniFi_FAQ\" target=\"_blank\">http:\/\/wiki.ubnt.com\/UniFi_FAQ<\/a><\/p>\n<p><a href=\"http:\/\/bbs.ubnt.com.cn\/forum.php?mod=viewthread&amp;tid=3315\" target=\"_blank\">http:\/\/bbs.ubnt.com.cn\/forum.php?mod=viewthread&amp;tid=3315<\/a><\/p>\n<p><a href=\"http:\/\/bbs.ubnt.com.cn\/forum.php?mod=viewthread&amp;tid=3315\" target=\"_blank\">\u00a0<\/a><\/p>\n<p>\u5982\u679c\u539f\u672c\u7684ap\u6709\u88ab\u5176\u4ed6ac\u63a7\u5236\u5668\u63a5\u7ba1\u904e,\u6709\u53ef\u80fd\u6703\u7121\u6cd5\u8f49\u79fb\u5230\u65b0\u7684ac\u63a7\u5236\u5668.<\/p>\n<p>\u9019\u6642\u53ef\u4ee5\u8a66\u8a66\u5c07uap\u9084\u539f\u5373\u53ef<\/p>\n<div lang=\"zh-TW\" style=\"color: #666666;\">\u5c07AP\u9084\u539f\u81f3\u51fa\u5ee0\u8a2d\u5b9a<\/div>\n<div style=\"color: #666666;\"><b>syswrapper.sh restore-default<\/b><\/div>\n<div style=\"color: #666666;\">default: ubnt\/ubnt<\/div>\n<div style=\"color: #666666;\"><\/div>\n<div style=\"color: #666666;\"><span lang=\"zh-TW\">\u56de<\/span>\u5230\u96f2ac\u7684 controller<span lang=\"zh-TW\">\u7ba1\u7406<\/span>\u9801\u9762\u00a0refresh<\/div>\n<div style=\"color: #666666;\">\u6703discovery\u00a0\u65b0\u7684devices\u6309\u4e0badopt<\/div>\n<div style=\"color: #666666;\"><\/div>\n<div style=\"color: #666666;\">\n<p style=\"color: #000000;\">\u5e95\u4e0b\u6587\u7ae0\u662f\u8b93RouterOS\u7684dhcp-server \u81ea\u52d5\u767c\u9001ac\u63a7\u5236\u5668\u7684ip\u4f4d\u5740\u7d66uap<\/p>\n<p style=\"color: #000000;\">\u65b0\u7684uap\u81ea\u52d5\u7372\u53d6\u5230RouterOS\u6240\u6d3e\u9001\u7684\u7684\u8cc7\u6599\u5f8c\uff0c\u5373\u6703\u81ea\u52d5\u9023\u5230\u96f2ac<\/p>\n<p style=\"color: #000000;\"><b>Mikrotik CLI (from\u00a0<a class=\"external text\" style=\"color: #3366bb;\" title=\"http:\/\/forum.ubnt.com\/showthread.php?t=51059|\" href=\"http:\/\/forum.ubnt.com\/showthread.php?t=51059|\" rel=\"nofollow\">rclewis<\/a>)<\/b><\/p>\n<pre style=\"color: #444444;\">\/ip dhcp-server option add code=43 name=unifi value=0x0104C0A8030A\r\n\/ip dhcp-server network set 0 dhcp-option=unifi\r\n\r\n# Why 0104C0A8030A\u00a0?\r\n#\r\n# 01: suboption\r\n# 04: length of the payload (must be 4)\r\n# C0A8030A: 192.168.3.10\r\n<\/pre>\n<p style=\"color: #000000;\">Cisco has a good\u00a0<a class=\"external text\" style=\"color: #3366bb;\" title=\"http:\/\/www.cisco.com\/en\/US\/tech\/tk722\/tk809\/technologies_configuration_example09186a00808714fe.shtml\" href=\"http:\/\/www.cisco.com\/en\/US\/tech\/tk722\/tk809\/technologies_configuration_example09186a00808714fe.shtml\" rel=\"nofollow\">write-up for DHCP option 43 setup<\/a>.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u628aUnifi\u7684\u63a7\u5236\u5668\u5b89\u88c5\u5728\u7f8e\u570b\u897f\u5cb8VPS\u4e0a\u9762 https:\/\/ros.tw:84 &hellip; <a href=\"https:\/\/ros.tw\/wp\/?p=444\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-ubnt"],"_links":{"self":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":7,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ros.tw\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}