{"id":1027,"date":"2025-12-03T08:34:41","date_gmt":"2025-12-03T00:34:41","guid":{"rendered":"https:\/\/freet.cc\/wordpress\/?p=1027"},"modified":"2025-12-03T08:57:10","modified_gmt":"2025-12-03T00:57:10","slug":"%e5%a6%82%e4%bd%95%e8%87%aa%e5%ae%9a%e4%b9%89immortalwrt","status":"publish","type":"post","link":"https:\/\/freet.cc\/wordpress\/?p=1027","title":{"rendered":"\u5982\u4f55\u81ea\u5b9a\u4e49ImmortalWrt"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"%E8%87%AA%E5%AE%9A%E4%B9%89%E5%8F%82%E6%95%B0-%E5%9C%A8%E7%BA%BF%E7%BC%96%E8%AF%91%E9%A2%84%E8%A3%85%E8%BD%AF%E4%BB%B6%E7%9A%84immortalwrt\">\u81ea\u5b9a\u4e49\u53c2\u6570 \u5728\u7ebf\u7f16\u8bd1\u9884\u88c5\u8f6f\u4ef6\u7684ImmortalWrt<\/h1>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/firmware-selector.immortalwrt.org\/?version=23.05.4&#038;target=x86%2F64&#038;id=generic\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/freet.cc\/wordpress\/wp-content\/uploads\/2025\/12\/imm.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"%E6%B3%A8%E6%84%8F%E4%B8%8A%E6%96%B9%F0%9F%94%9D%E6%88%AA%E5%9B%BE%EF%BC%8C%E6%9C%89%E4%B8%80%E4%B8%AA%E5%B1%95%E5%BC%80%E7%9A%84%E6%8C%89%E9%92%AE%E3%80%82%E7%82%B9%E5%87%BB%E4%B9%8B%E5%90%8E%EF%BC%8C%E5%B0%B1%E8%83%BD%E8%87%AA%E5%AE%9A%E4%B9%89%E5%8F%82%E6%95%B0%E4%BA%86%E3%80%82%E5%A6%82%E4%B8%8B%E4%BD%A0%E5%8F%AF%E4%BB%A5-%E5%9C%A8%E9%A2%84%E8%A3%85%E8%BD%AF%E4%BB%B6%E4%B8%AD%E5%A2%9E%E5%8A%A0%E8%87%AA%E5%B7%B1%E9%9C%80%E8%A6%81%E7%9A%84app\">\u6ce8\u610f\u4e0a\u65b9\ud83d\udd1d\u622a\u56fe\uff0c\u6709\u4e00\u4e2a\u5c55\u5f00\u7684\u6309\u94ae\u3002\u70b9\u51fb\u4e4b\u540e\uff0c\u5c31\u80fd\u81ea\u5b9a\u4e49\u53c2\u6570\u4e86\u3002\u5982\u4e0b\u4f60\u53ef\u4ee5 \u5728\u9884\u88c5\u8f6f\u4ef6\u4e2d\u589e\u52a0\u81ea\u5df1\u9700\u8981\u7684app<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>luci-i18n-firewall-zh-cn luci-i18n-filebrowser-zh-cn luci-app-argon-config luci-i18n-argon-config-zh-cn luci-i18n-package-manager-zh-cn luci-i18n-ttyd-zh-cn luci-i18n-passwall-zh-cn luci-app-openclash luci-i18n-homeproxy-zh-cn openssh-sftp-server luci-app-attendedsysupgrade <\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"%E4%B8%8A%E9%9D%A2%E2%AC%86%EF%B8%8F%E7%9A%84%E8%BD%AF%E4%BB%B6%E5%8F%AF%E4%BB%A5%E6%A0%B9%E6%8D%AE%E9%9C%80%E6%B1%82-%E8%87%AA%E8%A1%8C%E6%B7%BB%E5%8A%A0%EF%BC%8C%E5%A6%82%E6%9E%9C%E4%B8%8D%E7%9F%A5%E9%81%93%E8%BD%AF%E4%BB%B6%E5%90%8D%E7%A7%B0-%E5%8F%AF%E4%BB%A5%E5%9C%A8%E4%BB%93%E5%BA%93%E6%90%9C%E7%B4%A2%E5%92%8C%E6%9F%A5%E8%AF%A2%EF%BC%8C%E7%82%B9%E5%87%BB%E4%B8%8B%E6%96%B9%E7%9B%B4%E8%BE%BE%E4%BB%93%E5%BA%93%E6%90%9C%E7%B4%A2\">\u4e0a\u9762\u2b06\ufe0f\u7684\u8f6f\u4ef6\u53ef\u4ee5\u6839\u636e\u9700\u6c42 \u81ea\u884c\u6dfb\u52a0\uff0c\u5982\u679c\u4e0d\u77e5\u9053\u8f6f\u4ef6\u540d\u79f0 \u53ef\u4ee5\u5728\u4ed3\u5e93\u641c\u7d22\u548c\u67e5\u8be2\uff0c\u70b9\u51fb\u4e0b\u65b9\u76f4\u8fbe\u4ed3\u5e93\u641c\u7d22<\/h4>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/mirrors.vsean.net\/openwrt\/releases\/23.05.4\/packages\/x86_64\/luci\/?sort=size&#038;order=desc\n<\/div><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>\u5907\u6ce8\uff1a\u5982\u679c\u4f60\u662f\u7f16\u8bd1luci 24\u7684\u7248\u672c\uff0c\u4e0a\u8ff0\u4ee3\u7801\u4e2d \u8981\u5c06<\/strong><code>luci-i18n-opkg-zh-cn<\/code>\u66ff\u6362\u4e3a<code>luci-i18n-package-manager-zh-cn<\/code>&nbsp;\u56e0\u4e3a\u65b0\u7248\u672c\u91cc\u5b83\u7684\u540d\u79f0\u53d1\u751f\u53d8\u5316\u3002<\/p>\n<\/blockquote>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"%E9%A6%96%E6%AC%A1%E5%90%AF%E5%8A%A8%E6%97%B6%E8%BF%90%E8%A1%8C%E7%9A%84%E8%84%9A%E6%9C%AC%EF%BC%88uci-defaults%EF%BC%89%E5%A2%9E%E5%8A%A0\">\u9996\u6b21\u542f\u52a8\u65f6\u8fd0\u884c\u7684\u811a\u672c\uff08uci-defaults\uff09\u589e\u52a0<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8bbe\u7f6e\u9ed8\u8ba4wan\u53e3\u9632\u706b\u5899\u6253\u5f00 \u65b9\u4fbf\u865a\u62df\u673a\u7528\u6237\u9996\u6b21\u8bbf\u95eewebui\nuci set firewall.@zone&#91;1].input='ACCEPT'\nuci commit firewall\n# \u8bbe\u7f6e\u4e3b\u673a\u540d\u6620\u5c04 \u89e3\u51b3\u5b89\u5353\u539f\u751fTV\u9996\u6b21\u8fde\u4e0d\u4e0a\u7f51\u7684\u95ee\u9898\nuci add dhcp domain\nuci set \"dhcp.@domain&#91;-1].name=time.android.com\"\nuci set \"dhcp.@domain&#91;-1].ip=203.107.6.88\"\nuci commit dhcp\n# \u6839\u636e\u7f51\u5361\u6570\u91cf\u914d\u7f6e\u7f51\u7edc\ncount=0\nfor iface in $(ls \/sys\/class\/net | grep -v lo); do\n  # \u68c0\u67e5\u662f\u5426\u6709\u5bf9\u5e94\u7684\u8bbe\u5907\uff0c\u5e76\u4e14\u6392\u9664\u65e0\u7ebf\u7f51\u5361\n  if &#91; -e \/sys\/class\/net\/$iface\/device ] &amp;&amp; &#91;&#91; $iface == eth* || $iface == en* ]]; then\n    count=$((count + 1))\n  fi\ndone\nif &#91; \"$count\" -eq 1 ]; then\n    # \u5355\u4e2a\u7f51\u5361\uff0c\u8bbe\u7f6e\u4e3a DHCP \u6a21\u5f0f\n    uci set network.lan.proto='dhcp'\n    uci commit network\nelif &#91; \"$count\" -gt 1 ]; then\n    # \u591a\u4e2a\u7f51\u5361\uff0c\u4fdd\u6301\u9759\u6001 IP\n    uci set network.lan.ipaddr='192.168.100.1'\n    uci commit network\nfi<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/freet.cc\/wordpress\/wp-content\/uploads\/2025\/12\/qing.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"%E5%9C%A8%E7%BA%BF%E6%9E%84%E5%BB%BA%E5%9B%BA%E4%BB%B6\">\u5728\u7ebf\u6784\u5efa\u56fa\u4ef6<\/h1>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"%E9%83%BD%E5%A1%AB%E5%86%99%E5%AE%8C%E6%88%90%E5%90%8E%EF%BC%8C%E7%82%B9%E5%87%BB-%E3%80%90%E8%AF%B7%E6%B1%82%E6%9E%84%E5%BB%BA%E3%80%91%E5%B0%B1%E5%BC%80%E5%A7%8B%E5%9C%A8%E7%BA%BF%E7%BC%96%E8%AF%91%E4%BA%86%E3%80%82%E7%BC%96%E8%AF%91%E5%AE%8C%E6%88%90%E5%90%8E%E4%B8%8B%E8%BD%BD%E5%8D%B3%E5%8F%AF\">\u90fd\u586b\u5199\u5b8c\u6210\u540e\uff0c\u70b9\u51fb \u3010\u8bf7\u6c42\u6784\u5efa\u3011\u5c31\u5f00\u59cb\u5728\u7ebf\u7f16\u8bd1\u4e86\u3002\u7f16\u8bd1\u5b8c\u6210\u540e\u4e0b\u8f7d\u5373\u53ef<\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/freet.cc\/wordpress\/wp-content\/uploads\/2025\/12\/146541564.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>\u2757\ufe0f<\/strong><a href=\"https:\/\/blog.imouto.in\/#\/posts\/9\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>\u66f4\u4e3a\u8be6\u7ec6\u7684\u6b65\u9aa4 \u53ef\u53c2\u8003\u5929\u7075\u7684\u535a\u5ba2<\/strong><\/a><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"%E5%80%9F%E5%8A%A9istoreos%E7%8E%AF%E5%A2%83%E7%BB%99%E6%88%91%E4%BB%AC%E4%B8%8B%E8%BD%BD%E7%9A%84%E5%9B%BA%E4%BB%B6img%E6%89%A9%E5%AE%B9%EF%BC%88%E5%85%B6%E4%BB%96linux%E4%B9%9F%E8%A1%8C%EF%BC%89\">\u501f\u52a9iStoreOS\u73af\u5883\u7ed9\u6211\u4eec\u4e0b\u8f7d\u7684\u56fa\u4ef6img\u6269\u5bb9\uff08\u5176\u4ed6linux\u4e5f\u884c\uff09<\/h1>\n\n\n\n<p><strong>\u6211\u63a8\u8350\u4f7f\u7528iStoreOS\u7cfb\u7edf\u6765\u5904\u7406\u8fd9\u4e2aimg\u955c\u50cf\u3002\u56e0\u4e3a\u5176\u4ed6OpenWrt\u53ef\u80fd\u6ca1\u6709\u5927\u7684\u7a7a\u95f4\u6765\u5904\u7406\u3002<\/strong><\/p>\n\n\n\n<p><strong>\u5982\u679c\u4f60\u60f3\u4f7f\u7528\u5176\u4ed6openwrt\u6765\u5904\u7406\uff0c\u5e76\u4e14\u4fdd\u8bc1\u4f60\u6709\u5927\u4e8e2GB\u4ee5\u4e0a\u7684\u7a7a\u95f4\uff0c\u4e5f\u4e0d\u662f\u4e0d\u884c\uff0c\u9700\u8981\u989d\u5916\u5b89\u88c52\u4e2a\u7ec4\u4ef6<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>opkg update\nopkg install parted\nopkg install openssh-sftp-server<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"%E5%A6%82%E6%9E%9C%E6%83%B3%E5%A2%9E%E5%8A%A02gb%E7%A9%BA%E9%97%B4-%E5%88%99%E5%8F%AF%E7%94%A8%E5%A6%82%E4%B8%8B%E6%96%B9%E6%B3%95%E8%AE%BE%E7%BD%AE%EF%BC%8C%E9%81%87%E5%88%B0%E6%8F%90%E7%A4%BA%E5%B0%B1%E6%8C%89%E7%85%A7%E8%A6%81%E6%B1%82%E8%BE%93%E5%85%A5fix-%E5%92%8C-ok\">\u5982\u679c\u60f3\u589e\u52a02GB\u7a7a\u95f4 \u5219\u53ef\u7528\u5982\u4e0b\u65b9\u6cd5\u8bbe\u7f6e\uff0c\u9047\u5230\u63d0\u793a\u5c31\u6309\u7167\u8981\u6c42\u8f93\u5165Fix&nbsp;\u548c&nbsp;OK<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>\n# \u89e3\u538b\u7f29\u955c\u50cf\u6587\u4ef6\ngzip -kd immortalwrt.img.gz\n# \u7ed9img\u955c\u50cf\u672b\u5c3e\u586b\u51452GB\u7a7a\u6570\u636e (count=2000 \u8868\u793a\u589e\u52a0 2GB \u7684\u7a7a\u95f4)\ndd if=\/dev\/zero bs=1M count=2000 &gt;&gt; immortalwrt.img\n\n\n\n# \u4e3a\u4e86\u5c062GB\u7a7a\u95f4\u771f\u6b63\u8d4b\u4e88\u5177\u4f53\u7684\u5206\u533a\uff0c\u4f7f\u7528\u5206\u533a\u5de5\u5177parted\u64cd\u4f5c\u955c\u50cf\u3002\nparted immortalwrt.img\n\n\n# \u67e5\u770b\u5206\u533a\u60c5\u51b5\nprint\n# \u8c03\u6574\u5206\u533a\u5927\u5c0f (\u5c06\u7b2c 2 \u4e2a\u5206\u533a\u6269\u5c55\u81f3\u955c\u50cf\u6587\u4ef6\u7684 100%)\nresizepart 2 100%\n# \u67e5\u770b\u662f\u5426\u6269\u5c55\u6210\u529f\nprint\n# \u9000\u51fa\u5206\u533a\u5de5\u5177\nquit<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"%E6%9B%B4%E6%8D%A2%E8%BD%AF%E4%BB%B6%E6%BA%90%EF%BC%88%E5%8F%AF%E9%80%89-%E9%9D%9E%E5%BF%85%E9%9C%80%EF%BC%89\">\u66f4\u6362\u8f6f\u4ef6\u6e90\uff08\u53ef\u9009 \u975e\u5fc5\u9700\uff09<\/h1>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -e 's,https:\/\/downloads.immortalwrt.org,https:\/\/mirrors.cernet.edu.cn\/immortalwrt,g' \\\n    -e 's,https:\/\/mirrors.vsean.net\/openwrt,https:\/\/mirrors.cernet.edu.cn\/immortalwrt,g' \\\n    -i.bak \/etc\/opkg\/distfeeds.conf<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"%E8%BF%90%E8%A1%8C%E6%97%B6%E6%89%A9%E5%AE%B9%EF%BC%88luci-app-partexp%EF%BC%89\">\u8fd0\u884c\u65f6\u6269\u5bb9\uff08luci-app-partexp\uff09<\/h1>\n\n\n\n<p><strong>sirpdboy&nbsp;<\/strong><strong>\u7684\u9879\u76ee\u6e90\u7801\u2b07\ufe0f\u2b07\ufe0f\u2b07\ufe0f<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/github.com\/sirpdboy\/luci-app-partexp\n<\/div><\/figure>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"%E5%88%A9%E7%94%A8sirpdboy-%E7%9A%84%E9%A1%B9%E7%9B%AE%E6%BA%90%E7%A0%81%2Bkiddin9%E7%BC%96%E8%AF%91%E7%9A%84ipk%EF%BC%8C%E6%88%91%E4%BB%AC%E5%8F%AF%E4%BB%A5%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85%E5%88%86%E5%8C%BA%E6%89%A9%E5%AE%B9app\"><strong>\u5229\u7528sirpdboy \u7684\u9879\u76ee\u6e90\u7801+<\/strong>kiddin9<strong>\u7f16\u8bd1\u7684ipk\uff0c\u6211\u4eec\u53ef\u4ee5\u4e00\u952e\u5b89\u88c5\u5206\u533a\u6269\u5bb9app<\/strong><\/h6>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/dl.openwrt.ai\/23.05\/packages\/x86_64\/kiddin9\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"%E4%B8%80%E9%94%AE%E5%AE%89%E8%A3%85-%E5%88%86%E5%8C%BA%E6%89%A9%E5%AE%B9-app\"><strong>\u4e00\u952e\u5b89\u88c5 \u5206\u533a\u6269\u5bb9 app<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># \u4e00\u952e\u5b89\u88c5 sirpdboy\u5206\u533a\u6269\u5bb9 app<br>wget -O install.sh https:\/\/cafe.cpolar.top\/wkdaily\/OneKeyExpand\/raw\/branch\/main\/install.sh &amp;&amp; chmod +x install.sh &amp;&amp; .\/install.sh<br><br># \u5982\u679c\u4e0a\u8ff0\u4ee3\u7801\u8bbf\u95ee\u4e0d\u5230\u3002\u53ef\u76f4\u63a5\u590d\u5236\u4e0b\u9762\u7684\u5185\u5bb9\u3002<br>opkg update<br>wget https:\/\/cafe.cpolar.top\/wkdaily\/OneKeyExpand\/raw\/branch\/main\/luci-app-partexp_all.ipk<br>opkg install luci-app-partexp_all.ipk <strong>2<\/strong>&gt;\/dev\/null<br>echo \"\u5b89\u88c5\u6210\u529f\"<br><br><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/freet.cc\/wordpress\/wp-content\/uploads\/2025\/12\/ImmortalWrt20-20LuCI202024-10-192022-00-39.jpg\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5b9a\u4e49\u53c2\u6570 \u5728\u7ebf\u7f16\u8bd1\u9884\u88c5\u8f6f\u4ef6\u7684&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1027","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1027"}],"version-history":[{"count":6,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1027\/revisions"}],"predecessor-version":[{"id":1039,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1027\/revisions\/1039"}],"wp:attachment":[{"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freet.cc\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}