{"id":129,"date":"2026-06-22T10:56:22","date_gmt":"2026-06-22T02:56:22","guid":{"rendered":"http:\/\/tantan.ink\/?p=129"},"modified":"2026-07-07T18:17:25","modified_gmt":"2026-07-07T10:17:25","slug":"openwrt-2512-apk","status":"publish","type":"post","link":"https:\/\/www.tantan.ink\/index.php\/2026\/06\/22\/openwrt-2512-apk\/","title":{"rendered":"OpenWrt 25.12 \u6b63\u5f0f\u7248\u6765\u4e86\uff1a\u5341\u5e74 opkg \u8c22\u5e55\uff0capk \u65f6\u4ee3\u5f00\u542f"},"content":{"rendered":"<p>\u5982\u679c\u4f60\u8fd8\u5728\u7528 OpenWrt 24.10 \u751a\u81f3 23.05\uff0c\u6709\u4e2a\u597d\u6d88\u606f\u548c\u4e00\u4e2a\u574f\u6d88\u606f\u3002\u597d\u6d88\u606f\u662f OpenWrt 25.12 \u7a33\u5b9a\u7248\u5df2\u7ecf\u8fed\u4ee3\u5230 v25.12.4\uff0c\u8be5\u4fee\u7684 bug \u4fee\u5f97\u5dee\u4e0d\u591a\u4e86\u3002\u574f\u6d88\u606f\u662f 24.10 \u7cfb\u5217\u5c06\u5728 <strong>2026\u5e749\u6708<\/strong> \u6b63\u5f0f\u7ed3\u675f\u652f\u6301\u2014\u2014\u8fd8\u6709\u4e0d\u5230\u4e09\u4e2a\u6708\u3002<\/p>\n<p>\u4f46\u8fd9\u6b21\u5347\u7ea7\u4e0d\u662f\u4e00\u6b21\u666e\u901a\u7684\u7248\u672c\u66f4\u65b0\u300225.12 \u6700\u6838\u5fc3\u7684\u53d8\u5316\uff0c\u662f\u6362\u6389\u4e86\u5341\u5e74\u6ca1\u52a8\u8fc7\u7684\u5305\u7ba1\u7406\u5668\u3002<\/p>\n<h2>opkg \u2192 apk\uff1a\u5230\u5e95\u53d8\u4e86\u4ec0\u4e48\uff1f<\/h2>\n<p>\u4ece 25.12.0 \u5f00\u59cb\uff0cOpenWrt \u6b63\u5f0f\u4ece <code>opkg<\/code> \u5207\u6362\u5230 <code>apk<\/code>\uff08Alpine Package Keeper\uff09\u3002\u5982\u679c\u4f60\u7528\u8fc7 Alpine Linux \u7684 Docker \u955c\u50cf\uff0c\u5bf9\u8fd9\u4e2a\u5e94\u8be5\u4e0d\u4f1a\u592a\u964c\u751f\u3002<\/p>\n<p>\u65e5\u5e38\u64cd\u4f5c\u53d8\u5316\u4e0d\u5927\uff0c\u5c31\u662f\u547d\u4ee4\u6362\u4e86\u4e2a\u540d\u5b57\uff1a<\/p>\n<p style=\"text-align:center;\"><img decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/tantan.ink\/wp-content\/uploads\/2026\/06\/openwrt-2512-opkg-vs-apk.svg\" alt=\"opkg\u5230apk\u547d\u4ee4\u5bf9\u7167\u8868\" width=\"800\" \/><br \/><em>opkg \u2192 apk \u547d\u4ee4\u5bf9\u7167\u8868\uff1a\u5de6\u4fa7\u7ea2\u8272\u4e3a\u65e7\u547d\u4ee4\uff0c\u53f3\u4fa7\u7eff\u8272\u4e3a\u65b0\u547d\u4ee4\uff08\u6765\u6e90\uff1aOpenWrt \u5b98\u65b9\u6587\u6863\uff09<\/em><\/p>\n<p>\u5b98\u65b9\u63d0\u4f9b\u4e86 <a href=\"https:\/\/openwrt.org\/docs\/guide-user\/additional-software\/opkg-to-apk-cheatsheet\" target=\"_blank\" rel=\"noopener\">opkg-to-apk \u901f\u67e5\u8868<\/a>\uff0c\u4e0a\u624b\u6ca1\u96be\u5ea6\u3002<\/p>\n<p>\u5b9e\u9645\u4f53\u9a8c\u4e0a\uff0c<code>apk<\/code> \u7684\u5305\u4f9d\u8d56\u89e3\u6790\u6bd4 <code>opkg<\/code> \u5feb\u4e0d\u5c11\uff0c\u800c\u4e14\u4ece 25.12.1 \u5f00\u59cb\u652f\u6301 <code>--force-reinstall<\/code>\uff0c\u91cd\u88c5\u67d0\u4e2a\u5305\u65f6\u4e0d\u7528\u5148\u5220\u518d\u88c5\u4e86\u3002<\/p>\n<h2>\u9664\u4e86\u5305\u7ba1\u7406\u5668\uff0c\u8fd8\u6709\u8fd9\u4e9b\u53d8\u5316<\/h2>\n<h3>\u8bbe\u5907\u652f\u6301\u66b4\u589e\u5230 2200+<\/h3>\n<p>25.12 \u7cfb\u5217\u65b0\u589e\u4e86 <strong>180+ \u8bbe\u5907\u652f\u6301<\/strong>\uff0c\u603b\u6570\u8d85\u8fc7 2200 \u4e2a\u3002\u65b0\u52a0\u5165\u7684\u8bbe\u5907\u4ee5 ARM \u548c WiFi 6\/6E \u4e3a\u4e3b\uff0c\u5305\u62ec\u4e0d\u5c11\u4e2d\u4f4e\u4ef7\u4f4d\u7684\u65b0\u8def\u7531\u5668\u3002<\/p>\n<h3>WiFi \u811a\u672c\u7528 ucode \u91cd\u5199\u4e86<\/h3>\n<p>\u8fd9\u662f\u4e00\u4e2a\u5e95\u5c42\u53d8\u5316\uff0c\u524d\u7aef\u7528\u6237\u53ef\u80fd\u6ca1\u611f\u89c9\uff0c\u4f46 Wi-Fi \u914d\u7f6e\u811a\u672c\u4ece shell \u811a\u672c\u6362\u6210 ucode\uff08\u4e00\u79cd\u5d4c\u5165\u5f0f\u811a\u672c\u8bed\u8a00\uff09\u540e\uff0c\u542f\u52a8\u901f\u5ea6\u66f4\u5feb\uff0c\u914d\u7f6e\u6821\u9a8c\u66f4\u4e25\u683c\uff0c\u51fa\u9519\u6982\u7387\u964d\u4f4e\u3002<\/p>\n<h3>ASU \u9ed8\u8ba4\u88c5\u597d\u4e86<\/h3>\n<p>Attended Sysupgrade\uff08ASU\uff09\u2014\u2014\u5c31\u662f\u90a3\u4e2a\u53ef\u4ee5\u5728\u7ebf\u5b9a\u5236\u56fa\u4ef6\u7684\u529f\u80fd\u2014\u2014\u73b0\u5728 LuCI \u754c\u9762\u548c <code>owut<\/code> CLI \u5de5\u5177\u90fd\u9ed8\u8ba4\u9884\u88c5\u3002\u5347\u7ea7\u56fa\u4ef6\u6bd4\u4ee5\u524d\u65b9\u4fbf\u5f88\u591a\uff1a<\/p>\n<pre><code>owut check --verbose --version-to 25.12\nowut upgrade --verbose --version-to 25.12<\/code><\/pre>\n<p>\u4e24\u6761\u547d\u4ee4\u641e\u5b9a\u7248\u672c\u5347\u7ea7\uff0c\u56fa\u4ef6\u81ea\u52a8\u53bb\u4e0b\u8f7d\u7ad9\u62c9\u53d6\u5bf9\u5e94\u914d\u7f6e\u7684\u955c\u50cf\u3002<\/p>\n<h3>\u89c6\u9891\u8f93\u51fa\u652f\u6301<\/h3>\n<p>Qt5 \u89c6\u9891 feed \u9ed8\u8ba4\u96c6\u6210\uff0c\u610f\u5473\u7740 OpenWrt \u8fde\u63a5\u663e\u793a\u5668\u8f93\u51fa\u753b\u9762\u7684\u9700\u6c42\u6b63\u5f0f\u88ab\u5b98\u65b9\u652f\u6301\u3002\u867d\u7136\u5927\u90e8\u5206\u4eba\u4e0d\u4f1a\u62ff\u8def\u7531\u5668\u5f53\u684c\u9762\u673a\u7528\uff0c\u4f46\u505a\u4fe1\u606f\u5c4f\u6216\u89c6\u9891\u63a8\u9001\u7684\u573a\u666f\u7528\u5f97\u4e0a\u3002<\/p>\n<h2>\u5347\u7ea7\u6ce8\u610f\u4e8b\u9879<\/h2>\n<h3>\u63a8\u8350\u7684\u5347\u7ea7\u8def\u5f84<\/h3>\n<table>\n<thead>\n<tr>\n<th>\u5f53\u524d\u7248\u672c<\/th>\n<th>\u80fd\u5426\u76f4\u63a5\u5347\u7ea7\u5230 25.12<\/th>\n<th>\u64cd\u4f5c<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>24.10<\/td>\n<td>\u2705 \u900f\u660e\u5347\u7ea7<\/td>\n<td>sysupgrade \u4fdd\u7559\u914d\u7f6e\uff08\u5927\u90e8\u5206\u8bbe\u5907\uff09<\/td>\n<\/tr>\n<tr>\n<td>23.05<\/td>\n<td>\u274c \u5b98\u65b9\u4e0d\u652f\u6301<\/td>\n<td>\u9700\u5148\u5237 24.10 \u518d\u5347\u7ea7\u5230 25.12<\/td>\n<\/tr>\n<tr>\n<td>22.03 \u53ca\u66f4\u65e9<\/td>\n<td>\u274c<\/td>\n<td>\u5fc5\u987b\u65b0\u5237 25.12 \u5b8c\u6574\u56fa\u4ef6<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>\u90e8\u5206\u8bbe\u5907\u7684\u7279\u6b8a\u6ce8\u610f<\/h3>\n<ul>\n<li><strong>ipq806x \u7cfb\u5217\uff08\u9ad8\u901a IPQ806X\uff09<\/strong>\uff1a\u5fc5\u987b\u4e0d\u4fdd\u7559\u914d\u7f6e\u5347\u7ea7\uff08DSA \u4ea4\u6362\u673a\u67b6\u6784\u53d8\u66f4\uff09<\/li>\n<li><strong>BananaPi BPI-R4<\/strong>\uff1a\u63a5\u53e3\u540d\u53d8\u4e86\u2014\u2014<code>eth1<\/code>\u2192<code>sfp-lan\/lan4<\/code>\uff0c<code>eth2<\/code>\u2192<code>sfp-wan<\/code>\u3002<strong>\u5fc5\u987b\u4e0d\u4fdd\u7559\u914d\u7f6e<\/strong><\/li>\n<li><strong>Linksys E8450 \/ Belkin RT3200<\/strong>\uff1a\u9700\u8981 installer v1.1.3 \u91cd\u65b0\u8c03\u6574 UBI \u5e03\u5c40\uff0c\u5426\u5219\u53d8\u7816<\/li>\n<li><strong>\u5c0f\u7c73 AX3200 \/ Redmi AX6S<\/strong>\uff1a\u9700\u8981\u7279\u6b8a\u5347\u7ea7\u6d41\u7a0b\u4ee5\u6269\u5927\u95ea\u5b58\u5206\u533a<\/li>\n<li><strong>Meraki MX60<\/strong>\uff1a\u9700\u624b\u52a8\u4fee\u6539 <code>meraki_loadaddr<\/code>\uff0c\u9ed8\u8ba4\u503c\u4e0d\u591f<\/li>\n<\/ul>\n<h3>\u5c11\u8e29\u7684\u5751<\/h3>\n<ol>\n<li>\u5347\u7ea7\u540e\u5982\u679c cron \u65e5\u5fd7\u4e0d\u8f93\u51fa\uff0c\u68c0\u67e5 <code>system.@system[0].cronloglevel<\/code>\uff0c25.12 \u9ed8\u8ba4\u6539\u4e3a 7<\/li>\n<li>apk \u548c opkg \u7684\u8f6f\u4ef6\u6e90\u5730\u5740\u4e0d\u540c\uff0c\u5347\u7ea7\u540e\u9700\u8981\u91cd\u65b0 <code>apk update<\/code><\/li>\n<li>\u5982\u679c\u4f60\u4f9d\u8d56\u67d0\u4e2a opkg \u4e13\u5c5e\u63d2\u4ef6\uff0c\u5148\u786e\u8ba4\u6709 apk \u7248\u672c\u518d\u5347<\/li>\n<\/ol>\n<h2>\u8981\u4e0d\u8981\u73b0\u5728\u5347\uff1f<\/h2>\n<p style=\"text-align:center;\"><img decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/tantan.ink\/wp-content\/uploads\/2026\/06\/openwrt-2512-upgrade-path.svg\" alt=\"OpenWrt\u5347\u7ea7\u8def\u5f84\u51b3\u7b56\u56fe\" width=\"800\" \/><br \/><em>OpenWrt 25.12 \u5347\u7ea7\u8def\u5f84\u51b3\u7b56\u56fe\uff1a\u6839\u636e\u5f53\u524d\u7248\u672c\u9009\u62e9\u6700\u4f18\u5347\u7ea7\u65b9\u6848\uff08\u6765\u6e90\uff1aOpenWrt \u53d1\u5e03\u4fe1\u606f\u6574\u7406\uff09<\/em><\/p>\n<p>\u5982\u679c\u4f60\u6b63\u5728\u7528 24.10\uff0c<strong>\u7b49 v25.12.5 \u6216\u8005\u4e0b\u4e2a\u6708\u5347\u4f1a\u66f4\u7a33<\/strong>\uff0c\u4f46\u6700\u665a\u522b\u62d6\u8fc7 9 \u6708\uff0824.10 EoL\uff09\u3002\u5982\u679c\u4f60\u7528 23.05\uff0c\u53ef\u4ee5\u8d81\u8fd9\u4e2a\u673a\u4f1a\u505a\u4e00\u6b21\u5b8c\u6574\u91cd\u5237 + \u914d\u7f6e\u5927\u626b\u9664\uff0c\u5e72\u51c0\u4e0a 25.12\u3002<\/p>\n<p>\u5982\u679c\u4f60\u662f\u50cf\u6211\u4e00\u6837\u300c\u770b\u89c1\u65b0\u7248\u4e0d\u5347\u5c31\u96be\u53d7\u300d\u7684\u7c7b\u578b\uff0c\u8dd1\u4e00\u904d <code>owut check<\/code> \u770b\u770b\u8bbe\u5907\u517c\u5bb9\u6027\uff0c\u6ca1\u95ee\u9898\u5c31\u76f4\u63a5\u4e0a\u2014\u201425.12.4 \u5728\u5f53\u524d\u9636\u6bb5\u5df2\u7ecf\u76f8\u5f53\u7a33\u5b9a\u4e86\u3002<\/p>\n<p>\u6bd5\u7adf\uff0c\u65e9\u70b9\u4e60\u60ef <code>apk add<\/code> \u603b\u6bd4 9 \u6708\u88ab\u8feb\u5347\u7ea7\u65f6\u624b\u5fd9\u811a\u4e71\u8981\u597d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenWrt 25.12 \u7a33\u5b9a\u7248\u5df2\u53d1\u5e03\uff0c\u6700\u5927\u53d8\u5316\u662f\u4ece opkg \u5207\u6362\u5230 apk \u5305\u7ba1\u7406\u5668\u3002\u672c\u6587\u8be6\u89e3\u5347\u7ea7\u8def\u5f84\u3001\u8bbe\u5907\u517c\u5bb9\u6027\u548c\u907f\u5751\u6307\u5357\u3002<\/p>\n","protected":false},"author":1,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[163],"tags":[],"class_list":["post-129","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-network"],"_links":{"self":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/comments?post=129"}],"version-history":[{"count":1,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":239,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/posts\/129\/revisions\/239"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/media?parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/categories?post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tantan.ink\/index.php\/wp-json\/wp\/v2\/tags?post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}