{"id":1123,"date":"2022-05-04T12:08:35","date_gmt":"2022-05-04T04:08:35","guid":{"rendered":"https:\/\/www.zhinaidexiaowo.top\/?p=1123"},"modified":"2022-05-04T12:08:35","modified_gmt":"2022-05-04T04:08:35","slug":"openwrt","status":"publish","type":"post","link":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/","title":{"rendered":"<center>\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528)<\/center>"},"content":{"rendered":"<p><center>\u524d\u8a00\uff0c\u7531\u4e8e\u767e\u5ea6\u67e5\u51fa\u6765\u7684\u5168\u662f\u4e00\u5806\u6563\u7684\u6559\u7a0b\uff0c\u6709\u7684\u6709\u73af\u5883\u6709\u7684\u6ca1\u73af\u5883\u7136\u540e\u7f16\u8bd1\u51fa\u6765\u4e00\u5806\u62a5\u9519\uff0c\u5c31\u5f04\u4e86\u8fd9\u4e2a\u57fa\u672c\u901a\u7528\u7684\u6559\u7a0b\u5427\uff0c\u5bf9\u4e8e\u5c0f\u767d\u6765\u8bf4\u57fa\u672c\u5c31\u662f\u590d\u5236\u7c98\u8d34\u5c31\u53ef\u4ee5\u7684\u57fa\u7840\u6559\u7a0b\u3002\u5e9f\u8bdd\u5c11\u8bf4\uff0c\u76f4\u63a5\u5f00\u59cb\u3002<\/center><\/p>\n<p><center><br \/>\n\u5b89\u88c5\u73af\u5883<br \/>\nsystem:ubuntu<br \/>\nplatform:X86_X64<br \/>\n<\/center><br \/>\n<center><\/p>\n<h1>\u9996\u6b21\u7f16\u8bd1\u73af\u5883\u642d\u5efa<\/h1>\n<p><\/center><br \/>\n\u7cfb\u7edf\u73af\u5883<\/p>\n<pre><code class=\"language-shell \">sudo apt-get update\n<\/code><\/pre>\n<p>\u5b89\u88c5\u7f16\u8bd1\u9700\u8981\u7684\u7ec4\u4ef6\uff1a<\/p>\n<pre><code class=\"language-shell \">sudo apt-get install gcc\nsudo apt-get install g++\nsudo apt-get install binutils\nsudo apt-get install patch\nsudo apt-get install bzip2\nsudo apt-get install flex\nsudo apt-get install bison\nsudo apt-get install make\nsudo apt-get install autoconf\nsudo apt-get install gettext\nsudo apt-get install texinfo\nsudo apt-get install unzip\nsudo apt-get install sharutils\nsudo apt-get install subversion\nsudo apt-get install libncurses5-dev\nsudo apt-get install ncurses-term\nsudo apt-get install zlib1g-dev\nsudo apt-get install gawk\nsudo apt-get install asciidoc\nsudo apt-get install libz-dev\n<\/code><\/pre>\n<p>\u5982\u679c\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u63d0\u793a\u7f3a\u5c11\u67d0\u4e2a\u7ec4\u4ef6\uff0c\u540c\u6837\u4f7f\u7528sudo apt-get install\u5b89\u88c5\u5373\u53ef<br \/>\n\u7f16\u8bd1\u73af\u5883\u642d\u5efa\u5b8c\u6210<\/p>\n<p>\u66f4\u65b0\u672c\u5730\u73af\u5883<br \/>\n\u66f4\u65b0\u8f6f\u4ef6\u5217\u8868\u3001\u5347\u7ea7\u8f6f\u4ef6\u5305&lt;<\/p>\n<pre><code class=\"language-shell \">sudo sh -c \"apt update &amp;&amp; apt upgrade -y\"\n<\/code><\/pre>\n<p><center><\/p>\n<h1>\u9996\u6b21\u7f16\u8bd1<\/h1>\n<p><\/center><br \/>\n\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0c\u5343\u4e07\u522b\u7528root\u73af\u5883\u7f16\u8bd1!!!<br \/>\n\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0c\u5343\u4e07\u522b\u7528root\u73af\u5883\u7f16\u8bd1!!!<br \/>\n\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0c\u5343\u4e07\u522b\u7528root\u73af\u5883\u7f16\u8bd1!!!<br \/>\n\u5230\u8fd9\u91cc\u5c31\u53ef\u4ee5\u9000\u51faroot\u7528\u6237\u4e86\uff0c\u7528\u666e\u901a\u7528\u6237\u5373\u53ef.<br \/>\n\u91cd\u8981\u7684\u4e8b\u60c5\u8bf4\u4e09\u904d<\/p>\n<p>\u62c9\u53d6\u6e90\u7801<br \/>\n\u62c9\u53d6\u6e90\u7801\u5230\u7f16\u8bd1\u73af\u5883<\/p>\n<pre><code class=\"language-shell \">git clone https:\/\/github.com\/coolsnowwolf\/lede.git openwrt\n<\/code><\/pre>\n<p>\u6dfb\u52a0\u81ea\u5b9a\u4e49\u6e90<br \/>\n\u6ce8\uff1a\u4ee5\u4e0b\u662f\u81ea\u5df1\u6b63\u5728\u4f7f\u7528\u7684\u8f6f\u4ef6\u6e90\uff0c\u8fd9\u91cc\u4f60\u4e5f\u53ef\u4ee5\u6362\u6210\u81ea\u5df1\u559c\u6b22\u7684\u8f6f\u4ef6\u6e90<\/p>\n<pre><code class=\"language-shell \"># \u8fdb\u5165openwrt\u76ee\u5f55\ncd ~\/openwrt\n\n# \u6dfb\u52a0\u81ea\u5b9a\u4e49\u6e90\ncat &gt;&gt; feeds.conf.default &lt;&lt;EOF\nsrc-git kenzo https:\/\/github.com\/kenzok8\/openwrt-packages\nsrc-git passwall https:\/\/github.com\/xiaorouji\/openwrt-passwall\nEOF\n<\/code><\/pre>\n<p>\u66f4\u65b0\u4e0b\u8f7d\u8f6f\u4ef6\u4ed3\u5e93\u7684\u6e90\u7801\u5230\u672c\u5730\uff0c\u5e76\u5b89\u88c5\u81ea\u5b9a\u4e49\u6e90\u5305\u542b\u7684\u8f6f\u4ef6\u5305<\/p>\n<pre><code class=\"language-shell \">.\/scripts\/feeds update -a &amp;&amp; .\/scripts\/feeds install -a\n<\/code><\/pre>\n<p>\u5355\u72ec\u6dfb\u52a0\u8f6f\u4ef6\u5305\uff08\u53ef\u9009\u9879\uff09<br \/>\n\u5982\u679c\u9700\u8981\u5355\u72ec\u6dfb\u52a0\u8f6f\u4ef6\uff0c\u8bf7\u62c9\u53d6\u6e90\u7801\u5230 pack\u00adage \u76ee\u5f55\u4e4b\u4e0b\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-shell \"># \u6dfb\u52a0 OpenAppFilter \u5e94\u7528\u8fc7\u6ee4\u63d2\u4ef6\ngit clone https:\/\/github.com\/destan19\/OpenAppFilter package\/OpenAppFilter\n<\/code><\/pre>\n<p>\u8bbe\u7f6e\u9ed8\u8ba4\u4e3b\u9898\uff08\u53ef\u9009\u9879\uff09<br \/>\n\u6ce8\uff1a\u6b64\u64cd\u4f5c\u8bf7\u5728\u7f16\u8bd1\u524d\u6267\u884c\uff0c\u8bbe\u7f6e ar\u00adgon \u4e3a\u9ed8\u8ba4\u4e3b\u9898\uff0c\u4ee5\u6b64\u4e3a\u4f8b\u4e3e\u4e00\u53cd\u4e09<\/p>\n<pre><code class=\"language-shell \"># \u5220\u9664\u81ea\u5b9a\u4e49\u6e90\u9ed8\u8ba4\u7684 argon \u4e3b\u9898\nrm -rf package\/lean\/luci-theme-argon\n\n# \u62c9\u53d6 argon \u539f\u4f5c\u8005\u7684\u6e90\u7801\ngit clone -b 18.06 https:\/\/github.com\/jerrykuku\/luci-theme-argon.git package\/lean\/luci-theme-argon\n\n# \u66ff\u6362\u9ed8\u8ba4\u4e3b\u9898\u4e3a luci-theme-argon\nsed -i 's\/luci-theme-bootstrap\/luci-theme-argon\/' feeds\/luci\/collections\/luci\/Makefile\n<\/code><\/pre>\n<p>\u8bbe\u7f6e\u8def\u7531\u5668\u9ed8\u8ba4\u7684 LAN IP\uff08\u53ef\u9009\u9879\uff09<br \/>\n\u6ce8\uff1a\u6b64\u64cd\u4f5c\u8bf7\u5728\u7f16\u8bd1\u524d\u6267\u884c<\/p>\n<pre><code class=\"language-shell \"># \u8bbe\u7f6e\u9ed8\u8ba4IP\u4e3a 192.168.199.1\nsed -i 's\/192.168.1.1\/192.168.199.1\/g' package\/base-files\/files\/bin\/config_generate\n<\/code><\/pre>\n<p>\u4ec5\u5236\u4f5c.config\u6587\u4ef6\uff0c\u65e0\u9700\u672c\u5730\u7f16\u8bd1\u56fa\u4ef6\uff08\u53ef\u9009\u9879\uff09<br \/>\n\u6839\u636e\u81ea\u5df1\u7684\u5b9a\u5236\u9700\u6c42\uff0c\u8c03\u6574 Open\u00adWrt \u7cfb\u7edf\u7ec4\u4ef6<\/p>\n<pre><code class=\"language-shell \">make menuconfig\n<\/code><\/pre>\n<p>\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u884c\u83b7\u5f97 seed.config \u914d\u7f6e\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528 GitHub Ac\u00adtions \u4e91\u7f16\u8bd1\u3002<\/p>\n<pre><code class=\"language-shell \"># \u82e5\u5728\u8c03\u6574OpenWrt\u7cfb\u7edf\u7ec4\u4ef6\u7684\u8fc7\u7a0b\u6709\u591a\u6b21\u4fdd\u5b58\u64cd\u4f5c\uff0c\u5219\u5efa\u8bae\u5148\u5220\u9664.config.old\u6587\u4ef6\u518d\u7ee7\u7eed\u64cd\u4f5c\nrm -f .config.old\n\n# \u6839\u636e\u7f16\u8bd1\u73af\u5883\u751f\u6210\u9ed8\u8ba4\u914d\u7f6e\nmake defconfig\n\n# \u5bf9\u6bd4\u9ed8\u8ba4\u914d\u7f6e\u7684\u5dee\u5f02\u90e8\u5206\u751f\u6210\u914d\u7f6e\u6587\u4ef6\uff08\u53ef\u4ee5\u7406\u89e3\u4e3a\u589e\u91cf\uff09\n.\/scripts\/diffconfig.sh &gt; seed.config\n<\/code><\/pre>\n<p>\u82e5\u9700\u8981\u7f16\u8bd1\u56fa\u4ef6<br \/>\n\u6839\u636e\u81ea\u5df1\u7684\u5b9a\u5236\u9700\u6c42\uff0c\u8c03\u6574 Open\u00adWrt \u7cfb\u7edf\u7ec4\u4ef6<\/p>\n<pre><code class=\"language-shell \">make menuconfig\n<\/code><\/pre>\n<p>\u4e0b\u8f7d\u7f16\u8bd1\u6240\u9700\u7684\u8f6f\u4ef6\u5305<\/p>\n<pre><code class=\"language-shell \">make download -j8 V=s\n<\/code><\/pre>\n<p>\u7f16\u8bd1 Open\u00adWrt \u56fa\u4ef6<\/p>\n<pre><code class=\"language-shell \"># -j1\uff1a\u5355\u7ebf\u7a0b\u7f16\u8bd1\nmake -j1 V=s\n<\/code><\/pre>\n<p>\u5355\u7ebf\u7a0b\u7f16\u8bd1\u53ef\u63d0\u9ad8\u7f16\u8bd1\u6210\u529f\u7387\uff0c\u4f46\u8fc7\u7a0b\u975e\u5e38\u6f2b\u957f\uff0c\u4e5f\u5b8c\u5168\u53d6\u51b3\u4e8e\u673a\u5668\u7684\u6027\u80fd\u3002\u7f16\u8bd1\u5b8c\u6210\u540e\u56fa\u4ef6\u8f93\u51fa\u8def\u5f84\uff1a \/openwrt\/bin\/targets\/ \u4e4b\u4e0b\u3002<\/p>\n<p><center><\/p>\n<h1>\u4e8c\u6b21\u7f16\u8bd1<\/h1>\n<p><\/center><br \/>\n\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0c\u5343\u4e07\u522b\u7528root\u73af\u5883\u7f16\u8bd1!!!<br \/>\n\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0c\u5343\u4e07\u522b\u7528root\u73af\u5883\u7f16\u8bd1!!!<br \/>\n\u4e00\u5b9a\u8981\u8bb0\u4f4f\uff0c\u5343\u4e07\u522b\u7528root\u73af\u5883\u7f16\u8bd1!!!<br \/>\n\u5230\u8fd9\u91cc\u5c31\u53ef\u4ee5\u9000\u51faroot\u7528\u6237\u4e86\uff0c\u7528\u666e\u901a\u7528\u6237\u5373\u53ef.<br \/>\n\u91cd\u8981\u7684\u4e8b\u60c5\u8bf4\u4e09\u904d<\/p>\n<p>\u66f4\u65b0\u672c\u5730\u7f16\u8bd1\u73af\u5883<\/p>\n<pre><code class=\"language-shell \"># \u66f4\u65b0\u8f6f\u4ef6\u5217\u8868\u3001\u5347\u7ea7\u8f6f\u4ef6\u5305\nsudo sh -c \"apt update &amp;&amp; apt upgrade -y\"\n\n# \u62c9\u53d6\u6700\u65b0\u6e90\u7801\ncd ~\/openwrt &amp;&amp; git pull\n\n# \u66f4\u65b0\u4e0b\u8f7d\u5b89\u88c5\u8ba2\u9605\u6e90\u5305\u542b\u7684\u8f6f\u4ef6\u5305\ncd ~\/openwrt\n.\/scripts\/feeds update -a &amp;&amp; .\/scripts\/feeds install -a\n<\/code><\/pre>\n<p>\u6e05\u7406\u65e7\u6587\u4ef6<\/p>\n<pre><code class=\"language-shell \"># \u5220\u9664\/bin\u548c\/build_dir\u76ee\u5f55\u4e2d\u7684\u6587\u4ef6\nmake clean\n<\/code><\/pre>\n<p>\u5982\u679c\u8981\u66f4\u6362\u67b6\u6784\uff0c\u4f8b\u5982\u8981\u4ece x86_64 \u6362\u5230 MediaTek Ralink MIPS \u5efa\u8bae\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u6df1\u5ea6\u6e05\u7406 \/bin \u548c \/build_dir \u76ee\u5f55\u7684\u4e2d\u7684\u6587\u4ef6 (make clean) \u4ee5\u53ca \/staging_dir\u3001\/toolchain\u3001\/tmp \u548c \/logs \u4e2d\u7684\u6587\u4ef6\u3002<\/p>\n<pre><code class=\"language-shell \">make dirclean\n<\/code><\/pre>\n<p>\u5982\u679c\u9700\u8981\u5bf9\u7ec4\u4ef6\u91cd\u65b0\u8c03\u6574\uff0c\u5219\u5efa\u8bae\u5148\u5220\u9664\u65e7\u914d\u7f6e<\/p>\n<pre><code class=\"language-shell \">rm -rf .\/tmp &amp;&amp; rm -rf .config\n<\/code><\/pre>\n<p>\u6839\u636e\u81ea\u5df1\u7684\u5b9a\u5236\u9700\u6c42\uff0c\u518d\u6b21\u8c03\u6574 Open\u00adWrt \u7cfb\u7edf\u7ec4\u4ef6<\/p>\n<pre><code class=\"language-shell \">make menuconfig\n<\/code><\/pre>\n<p>\u4e0b\u8f7d\u7f16\u8bd1\u6240\u9700\u7684\u8f6f\u4ef6\u5305<\/p>\n<pre><code class=\"language-shell \">make download -j8 V=s\n<\/code><\/pre>\n<p>\u7f16\u8bd1 Open\u00adWrt \u56fa\u4ef6<\/p>\n<pre><code class=\"language-shell \">make -j$(nproc) || make -j1 || make -j1 V=s\n<\/code><\/pre>\n<p>\u4e8c\u6b21\u7f16\u8bd1\u53ef\u4ee5\u4f18\u5148\u4f7f\u7528\u591a\u7ebf\u7a0b\uff0c\u62a5\u9519\u4f1a\u81ea\u52a8\u4f7f\u7528\u5355\u7ebf\u7a0b\uff0c\u4ecd\u7136\u62a5\u9519\u4f1a\u5355\u7ebf\u7a0b\u6267\u884c\u7f16\u8bd1\u5e76\u8f93\u51fa\u8be6\u7ec6\u65e5\u5fd7\u3002<\/p>\n<p><center><\/p>\n<h1>\u9644\u52a0\u5185\u5bb9<\/h1>\n<p><\/center><br \/>\n\u5982\u679c\u6ca1\u6709\u7279\u6b8a\u7684\u5b9a\u5236\u9700\u6c42\uff0c\u8fd0\u884c make menuconfig \u547d\u4ee4\u914d\u7f6e\u76ee\u6807\u67b6\u6784\u5b8c\u6210\u540e\uff0c\u8fdb\u5165 LUCI --> Applications \u9009\u62e9\u9700\u8981\u7684\u63d2\u4ef6\uff0c\u8fdb\u5165 LUCI --> Themes \u9009\u62e9\u559c\u6b22\u7684\u4e3b\u9898\u76ae\u80a4\uff0c\u7f16\u8bd1\u5373\u53ef\u3002<br \/>\n\u5982\u679c\u662f\u786c\u8def\u7531\u52a1\u5fc5\u8bb0\u5f97\u52fe\u9009 luci-app-mtwifi \u95ed\u6e90\u7684 Wi-Fi \u9a71\u52a8<\/p>\n<ol>\n<li>x86_64 \u5e73\u53f0<\/li>\n<\/ol>\n<pre><code class=\"\">Target System (x86)  ---&gt;\nSubtarget (x86_64)  ---&gt;\nTarget Profile (Generic x86\/64)  ---&gt;\n<\/code><\/pre>\n<p>\u65e0\u7279\u6b8a\u9700\u6c42\uff0c\u90a3\u4e48 Target Images \u52fe\u9009<\/p>\n<pre><code class=\"\">[*] squashfs (NEW)\n[*] Build GRUB images (Linux x86 or x86_64 host only) (NEW)\n[*] GZip images (NEW)\n<\/code><\/pre>\n<p>\u81ea\u5b9a\u4e49\u56fa\u4ef6\u5927\u5c0f<\/p>\n<pre><code class=\"\">(32) Kernel partition size (in MB) (NEW)\n(400) Root filesystem partition size (in MB) (NEW)\n<\/code><\/pre>\n<p>\u5982\u679c\u56e0\u4e3a\u52fe\u9009\u57fa\u4e8e EXT4 \u6587\u4ef6\u7cfb\u7edf\u7f16\u8bd1\u56fa\u4ef6\u800c\u9020\u6210\u7f16\u8bd1\u62a5\u9519\uff0c\u5efa\u8bae\u8c03\u9ad8 <code>Root filesystem partition size<\/code><\/p>\n<ol start=\"2\">\n<li>\u5e38\u7528\u63d2\u4ef6\u5217\u8868<br \/>\n\u5728\u8c03\u6574 Open\u00adWrt \u7cfb\u7edf\u7ec4\u4ef6\u65f6\uff1a[*] \u8868\u793a\u7f16\u8bd1\u8f6f\u4ef6\u5305\u5e76\u52a0\u5165\u5230\u56fa\u4ef6\uff1b[M] \u8868\u793a\u7f16\u8bd1\u8f6f\u4ef6\u5305\u4f46\u4e0d\u52a0\u5165\u56fa\u4ef6\uff1b[ ] \u5219\u8868\u793a\u4e0d\u5bf9\u8f6f\u4ef6\u5305\u8fdb\u884c\u4efb\u4f55\u8bbe\u7f6e\u3002<\/li>\n<\/ol>\n<pre><code class=\"\">## \u63d2\u4ef6\u7c7b\nLuCI ---&gt; Applications ---&gt; luci-app-adbyby-plus   #\u53bb\u5e7f\u544a\nLuCI ---&gt; Applications ---&gt; luci-app-arpbind  #IP\/MAC\u7ed1\u5b9a\nLuCI ---&gt; Applications ---&gt; luci-app-autoreboot  #\u9ad8\u7ea7\u91cd\u542f\nLuCI ---&gt; Applications ---&gt; luci-app-aliddns   #\u963f\u91ccDDNS\u5ba2\u6237\u7aef\nLuCI ---&gt; Applications ---&gt; luci-app-ddns   #\u52a8\u6001\u57df\u540d DNS\nLuCI ---&gt; Applications ---&gt; luci-app-filetransfer  #\u6587\u4ef6\u4f20\u8f93\nLuCI ---&gt; Applications ---&gt; luci-app-firewall   #\u6dfb\u52a0\u9632\u706b\u5899\nLuCI ---&gt; Applications ---&gt; luci-app-frpc   #\u5185\u7f51\u7a7f\u900f Frp\nLuCI ---&gt; Applications ---&gt; luci-app-mwan3   #MWAN\u8d1f\u8f7d\u5747\u8861\nLuCI ---&gt; Applications ---&gt; luci-app-nlbwmon   #\u7f51\u7edc\u5e26\u5bbd\u76d1\u89c6\u5668\nLuCI ---&gt; Applications ---&gt; luci-app-ramfree  #\u91ca\u653e\u5185\u5b58\nLuCI ---&gt; Applications ---&gt; luci-app-samba   #\u7f51\u7edc\u5171\u4eab(Samba)\nLuCI ---&gt; Applications ---&gt; luci-app-sqm  #\u6d41\u91cf\u667a\u80fd\u961f\u5217\u7ba1\u7406(QOS)\nLuCI ---&gt; Applications ---&gt; luci-app-openclash #\u4f60\u61c2\u7684\u90a3\u53ea\u732b\nLuCI ---&gt; Applications ---&gt; luci-app-dnsfilter #\u5e7f\u544a\u8fc7\u6ee4\nLuCI ---&gt; Applications ---&gt; luci-app-passwall #\u4e0d\u6562\u89e3\u91ca\nLuCI ---&gt; Applications ---&gt; luci-app-mtwifi #\u95ed\u6e90Wi-Fi\u9a71\u52a8\nLuCI ---&gt; Applications ---&gt; luci-app-eqos #\u6839\u636eIP\u63a7\u5236\u7f51\u901f\nLuCI ---&gt; Applications ---&gt; luci-app-syncdial #\u859b\u5b9a\u8c14\u7684\u591a\u62e8\u5e94\u7528\nLuCI ---&gt; Applications ---&gt; luci-app-zerotier #\u865a\u62df\u5c40\u57df\u7f51\nLuCI ---&gt; Applications ---&gt; luci-app-jd-dailybonus #\u4eac\u4e1c\u7b7e\u5230\u81ea\u52a8\u9886\u8c46\nLuCI ---&gt; Applications ---&gt; luci-app-oaf #\u5e94\u7528\u8fc7\u6ee4\u795e\u5668\nLuCI ---&gt; Applications ---&gt; luci-app-watchcat #\u65ad\u7f51\u68c0\u6d4b\u529f\u80fd\u4e0e\u5b9a\u65f6\u91cd\u542f\nLuCI ---&gt; Applications ---&gt; luci-app-wol   #WOL\u7f51\u7edc\u5524\u9192\nLuCI ---&gt; Applications ---&gt; luci-app-wrtbwmon  #\u5b9e\u65f6\u6d41\u91cf\u76d1\u6d4b\nLuCI ---&gt; Applications ---&gt; luci-app-upnp   #\u901a\u7528\u5373\u63d2\u5373\u7528UPnP(\u7aef\u53e3\u81ea\u52a8\u8f6c\u53d1)\nLuCI ---&gt; Applications ---&gt; luci-app-argon-config #Argon\u4e3b\u9898\u8bbe\u7f6e\n\n# \u5e38\u7528\u4e3b\u9898\u7c7b\nLuCI ---&gt; Themes ---&gt; luci-theme-argon\n\n# \u7f51\u7edc\u76f8\u5173 (\u666e\u901a\u7528\u6237\u7528\u4e0d\u4e0a\uff09\nNetwork ---&gt; IP Addresses and Names ---&gt; ddns-scripts_cloudflare.com-v4\nNetwork ---&gt; IP Addresses and Names ---&gt;  bind-dig\nNetwork ---&gt; Routing and Rediction ---&gt; ip-full\nNetwork ---&gt; File Transfer ---&gt; curl\nNetwork ---&gt; File Transfer ---&gt; wget-ssl\nNetwork ---&gt; iperf3\nNetwork ---&gt; ipset\nNetwork ---&gt; socat #\u591a\u529f\u80fd\u7684\u7f51\u7edc\u5de5\u5177\nBase system --&gt; dnsmasq-full #DNS\u7f13\u5b58\u548cDHCP\u670d\u52a1\uff08dnsmasq-full\u548cdnsmasq\u4e8c\u8005\u4e0d\u53ef\u5171\u5b58\uff09\n\n# \u5de5\u5177\u7c7b (\u666e\u901a\u7528\u6237\u7528\u4e0d\u4e0a\uff09\nUtilities --&gt; acpid  #\u7535\u6e90\u7ba1\u7406\u63a5\u53e3\uff08\u9002\u7528\u4e8ex86\u5e73\u53f0\uff09\nUtilities --&gt; Editors --&gt; nano #Nano \u7f16\u8f91\u5668\nUtilities --&gt; Shells --&gt; bash #\u547d\u4ee4\u89e3\u91ca\u7a0b\u5e8f\nUtilities --&gt; disc --&gt; fdisk #MBR\u5206\u533a\u5de5\u5177\nUtilities --&gt; disc --&gt; gdisk #GBT\u5206\u533a\u5de5\u5177\nUtilities --&gt; disc --&gt; lsblk #\u5217\u51fa\u78c1\u76d8\u8bbe\u5907\u53ca\u5206\u533a\u67e5\u770b\u5de5\u5177\nUtilities --&gt; Filesystem --&gt; resize2fs #\u8c03\u6574\u6587\u4ef6\u7cfb\u7edf\u5927\u5c0f\nUtilities --&gt; Filesystem --&gt; e2fsprogs #Ext2\uff08\u53caExt3\/4\uff09\u6587\u4ef6\u7cfb\u7edf\u5de5\u5177\n\n# IPv6\uff08\u672a\u6765\u8fd0\u8425\u5546\u53ef\u80fd\u4e0d\u518d\u63d0\u4f9b IPv4 \u516c\u7f51\u5730\u5740\uff0c\u6709\u8fdc\u7a0b\u8bbf\u95ee\u9700\u6c42\u7684\u5efa\u8bae\u52a0\u5165\uff09\nExtra packages ---&gt; ipv6helper \uff08\u52fe\u9009\u6b64\u9879\u5373\u53ef\uff0c\u4e0b\u9762\u51e0\u9879\u81ea\u52a8\u52fe\u9009\uff09\nNetwork ---&gt; odhcp6c\nNetwork ---&gt; odhcpd-ipv6only\nLuCI ---&gt; Protocols ---&gt; luci-proto-ipv6\nLuCI ---&gt; Protocols ---&gt; luci-proto-ppp\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00\uff0c\u7531\u4e8e\u767e\u5ea6\u67e5\u51fa\u6765\u7684\u5168\u662f\u4e00\u5806\u6563\u7684\u6559\u7a0b\uff0c\u6709\u7684\u6709\u73af\u5883\u6709\u7684\u6ca1\u73af\u5883\u7136\u540e\u7f16\u8bd1\u51fa\u6765\u4e00\u5806\u62a5\u9519\uff0c\u5c31\u5f04\u4e86\u8fd9\u4e2a\u57fa\u672c\u901a\u7528\u7684\u6559\u7a0b\u5427\uff0c\u5bf9\u4e8e\u5c0f\u767d\u6765\u8bf4\u57fa\u672c\u5c31\u662f &#8230;<\/p>","protected":false},"author":1,"featured_media":781,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1123","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528) - \u667a\u4e43\u7684\u5c0f\u7a9d<\/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.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528) - \u667a\u4e43\u7684\u5c0f\u7a9d\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00\uff0c\u7531\u4e8e\u767e\u5ea6\u67e5\u51fa\u6765\u7684\u5168\u662f\u4e00\u5806\u6563\u7684\u6559\u7a0b\uff0c\u6709\u7684\u6709\u73af\u5883\u6709\u7684\u6ca1\u73af\u5883\u7136\u540e\u7f16\u8bd1\u51fa\u6765\u4e00\u5806\u62a5\u9519\uff0c\u5c31\u5f04\u4e86\u8fd9\u4e2a\u57fa\u672c\u901a\u7528\u7684\u6559\u7a0b\u5427\uff0c\u5bf9\u4e8e\u5c0f\u767d\u6765\u8bf4\u57fa\u672c\u5c31\u662f ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/\" \/>\n<meta property=\"og:site_name\" content=\"\u667a\u4e43\u7684\u5c0f\u7a9d\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-04T04:08:35+00:00\" \/>\n<meta name=\"author\" content=\"kafuuchino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"kafuuchino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/\"},\"author\":{\"name\":\"kafuuchino\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/68b753298fa716331b6da73a69a6d212\"},\"headline\":\"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528)\",\"datePublished\":\"2022-05-04T04:08:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/\"},\"wordCount\":74,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage\"},\"thumbnailUrl\":\"\",\"articleSection\":[\"\u7b14\u8bb0\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/\",\"url\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/\",\"name\":\"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528) - \u667a\u4e43\u7684\u5c0f\u7a9d\",\"isPartOf\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2022-05-04T04:08:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/68b753298fa716331b6da73a69a6d212\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.zhinaidexiaowo.top\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/#website\",\"url\":\"https:\/\/www.zhinaidexiaowo.top\/\",\"name\":\"\u667a\u4e43\u7684\u5c0f\u7a9d\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.zhinaidexiaowo.top\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/68b753298fa716331b6da73a69a6d212\",\"name\":\"kafuuchino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d47917aca3dd95510f8b13eca3b80a309ca61a942eccde180d793ef3dd5e541?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d47917aca3dd95510f8b13eca3b80a309ca61a942eccde180d793ef3dd5e541?s=96&d=mm&r=g\",\"caption\":\"kafuuchino\"},\"sameAs\":[\"https:\/\/www.zhinaidexiaowo.top\"],\"url\":\"https:\/\/www.zhinaidexiaowo.top\/index.php\/author\/kafuuchino\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528) - \u667a\u4e43\u7684\u5c0f\u7a9d","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.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/","og_locale":"zh_CN","og_type":"article","og_title":"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528) - \u667a\u4e43\u7684\u5c0f\u7a9d","og_description":"\u524d\u8a00\uff0c\u7531\u4e8e\u767e\u5ea6\u67e5\u51fa\u6765\u7684\u5168\u662f\u4e00\u5806\u6563\u7684\u6559\u7a0b\uff0c\u6709\u7684\u6709\u73af\u5883\u6709\u7684\u6ca1\u73af\u5883\u7136\u540e\u7f16\u8bd1\u51fa\u6765\u4e00\u5806\u62a5\u9519\uff0c\u5c31\u5f04\u4e86\u8fd9\u4e2a\u57fa\u672c\u901a\u7528\u7684\u6559\u7a0b\u5427\uff0c\u5bf9\u4e8e\u5c0f\u767d\u6765\u8bf4\u57fa\u672c\u5c31\u662f ...","og_url":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/","og_site_name":"\u667a\u4e43\u7684\u5c0f\u7a9d","article_published_time":"2022-05-04T04:08:35+00:00","author":"kafuuchino","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"kafuuchino","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#article","isPartOf":{"@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/"},"author":{"name":"kafuuchino","@id":"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/68b753298fa716331b6da73a69a6d212"},"headline":"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528)","datePublished":"2022-05-04T04:08:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/"},"wordCount":74,"commentCount":0,"image":{"@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage"},"thumbnailUrl":"","articleSection":["\u7b14\u8bb0"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/","url":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/","name":"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528) - \u667a\u4e43\u7684\u5c0f\u7a9d","isPartOf":{"@id":"https:\/\/www.zhinaidexiaowo.top\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage"},"image":{"@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage"},"thumbnailUrl":"","datePublished":"2022-05-04T04:08:35+00:00","author":{"@id":"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/68b753298fa716331b6da73a69a6d212"},"breadcrumb":{"@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.zhinaidexiaowo.top\/index.php\/2022\/05\/04\/openwrt\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.zhinaidexiaowo.top\/"},{"@type":"ListItem","position":2,"name":"\u81ea\u7f16\u8bd1openwrt\u6559\u7a0b(\u81ea\u7528)"}]},{"@type":"WebSite","@id":"https:\/\/www.zhinaidexiaowo.top\/#website","url":"https:\/\/www.zhinaidexiaowo.top\/","name":"\u667a\u4e43\u7684\u5c0f\u7a9d","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.zhinaidexiaowo.top\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/68b753298fa716331b6da73a69a6d212","name":"kafuuchino","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.zhinaidexiaowo.top\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d47917aca3dd95510f8b13eca3b80a309ca61a942eccde180d793ef3dd5e541?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d47917aca3dd95510f8b13eca3b80a309ca61a942eccde180d793ef3dd5e541?s=96&d=mm&r=g","caption":"kafuuchino"},"sameAs":["https:\/\/www.zhinaidexiaowo.top"],"url":"https:\/\/www.zhinaidexiaowo.top\/index.php\/author\/kafuuchino\/"}]}},"_links":{"self":[{"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/posts\/1123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/comments?post=1123"}],"version-history":[{"count":0,"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/posts\/1123\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/media?parent=1123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/categories?post=1123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhinaidexiaowo.top\/index.php\/wp-json\/wp\/v2\/tags?post=1123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}