{"id":36,"date":"2026-11-18T22:40:19","date_gmt":"2026-11-18T14:40:19","guid":{"rendered":"https:\/\/www.scotthk.com\/?p=36"},"modified":"2026-11-18T22:40:19","modified_gmt":"2026-11-18T14:40:19","slug":"openwrt-%e6%ba%ab%e5%ba%a6%e9%a1%af%e7%a4%ba%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/www.scotthk.com\/?p=36","title":{"rendered":"Openwrt \u6eab\u5ea6\u986f\u793a\u529f\u80fd"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u539f\u7248 OpenWrt \u9810\u8a2d\u4e0d\u6703\u5728\u7db2\u9801\u5f8c\u53f0\uff08LuCI\uff09\u986f\u793a\u786c\u4ef6\u6eab\u5ea6\uff0c\u4f60\u53ef\u4ee5\u900f\u904e\u5b89\u88dd LuCI \u63d2\u4ef6\uff08\u6700\u76f4\u89c0\uff09\u6216SSH \u7d42\u7aef\u6a5f\u6307\u4ee4\u4f86\u958b\u555f\u6eab\u5ea6\u986f\u793a\u529f\u80fd\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u70ba\u6700\u5e38\u7528\u7684\u4e09\u7a2e\u5be6\u73fe\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b9\u6cd5\u4e00\uff1a\u5728\u7ba1\u7406\u9996\u9801\u76f4\u63a5\u986f\u793a\uff08\u63a8\u85a6\u63d2\u4ef6\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u5e0c\u671b\u4e00\u767b\u5165 OpenWrt \u7db2\u9801\u5c31\u5728\u300c\u72c0\u614b > \u6982\u89bd\u300d\u9996\u9801\u770b\u5230\u6eab\u5ea6\uff0c\u53ef\u4ee5\u5b89\u88dd\u7b2c\u4e09\u65b9\u8f15\u91cf\u7d1a\u63d2\u4ef6\u3002 <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b89\u88dd <code>luci-app-temp-status<\/code><\/strong>\uff1a\u524d\u5f80 <a href=\"https:\/\/github.com\/gSpotx2f\/luci-app-temp-status\" target=\"_blank\" rel=\"noopener\">gSpotx2f\/luci-app-temp-status GitHub \u9801\u9762<\/a>\uff08\u6216\u652f\u63f4\u4e2d\u6587\u4ecb\u9762\u4fee\u5fa9\u7684 izilzty \u4fee\u6539\u7248\uff09\u4e0b\u8f09\u5c0d\u61c9\u7248\u672c\u7684 <code>.ipk<\/code> \u5b89\u88dd\u5305\u3002<\/li>\n\n\n\n<li><strong>\u4e0a\u50b3\u8207\u5b89\u88dd<\/strong>\uff1a\u9032\u5165 OpenWrt \u5f8c\u53f0\u7684\u300c\u7cfb\u7d71 > \u8edf\u9ad4\u5305\u300d\uff0c\u4e0a\u50b3\u4e26\u5b89\u88dd\u8a72 <code>.ipk<\/code> \u6a94\u6848\u5f8c\u91cd\u65b0\u6574\u7406\u7db2\u9801\u5373\u53ef\u986f\u793a\u3002 <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b9\u6cd5\u4e8c\uff1a\u67e5\u770b\u6b77\u53f2\u6eab\u5ea6\u8b8a\u5316\u5716\u8868\uff08\u5b98\u65b9\u5957\u4ef6\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u4f60\u9700\u8981\u9577\u671f\u76e3\u63a7\u6eab\u5ea6\u8d70\u52e2\u4e26\u751f\u6210\u5716\u8868\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b98\u65b9\u8edf\u9ad4\u6e90\u5167\u5efa\u7684\u7d71\u8a08\u5de5\u5177\u3002 <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b89\u88dd\u5957\u4ef6<\/strong>\uff1a\u900f\u904e SSH \u9023\u7dda\u81f3\u8def\u7531\u5668\uff0c\u57f7\u884c\u4ee5\u4e0b\u6307\u4ee4\u5b89\u88dd\u7d71\u8a08\u4ecb\u9762\u8207\u611f\u6e2c\u5668\u6a21\u7d44\uff1abash<code>opkg update opkg install luci-app-statistics collectd-mod-thermal<\/code> \u8acb\u8b39\u614e\u4f7f\u7528\u7a0b\u5f0f\u78bc\u3002<\/li>\n\n\n\n<li><strong>\u555f\u7528\u5716\u8868<\/strong>\uff1a\u91cd\u65b0\u6574\u7406\u7db2\u9801\u5f8c\uff0c\u9032\u5165\u300c\u7d71\u8a08 > \u8a2d\u5b9a > \u4e00\u822c\u5916\u639b\u7a0b\u5f0f\u300d\uff0c\u52fe\u9078\u555f\u7528 <code>Thermal<\/code> \u6a21\u7d44\u4e26\u5132\u5b58\u5957\u7528\uff0c\u5373\u53ef\u5728\u300c\u7d71\u8a08 > \u5716\u8868\u300d\u4e2d\u67e5\u770b\u6eab\u5ea6\u66f2\u7dda\u3002<\/li>\n\n\n\n<li><strong>x86 \u8edf\u8def\u7531\u88dc\u5145<\/strong>\uff1a\u82e5\u70ba Intel \u6216 AMD \u7684 x86 \u8edf\u8def\u7531\uff0c\u5efa\u8b70\u984d\u5916\u5b89\u88dd <code>lm-sensors<\/code> \u5957\u4ef6\uff0c\u4e26\u642d\u914d <code>collectd-mod-sensors<\/code> \u4f86\u8b80\u53d6\u4e3b\u6a5f\u677f\u8207\u591a\u6838\u5fc3\u6eab\u5ea6\u3002 <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u65b9\u6cd5\u4e09\uff1a\u900f\u904e SSH \u6307\u4ee4\u5373\u6642\u67e5\u8a62\uff08\u514d\u88dd\u63d2\u4ef6\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u53ea\u662f\u5076\u723e\u60f3\u78ba\u8a8d\u8a2d\u5099\u662f\u5426\u904e\u71b1\uff0c\u53ef\u4ee5\u76f4\u63a5\u8b80\u53d6 Linux \u7cfb\u7d71\u5e95\u5c64\u7684\u611f\u6e2c\u5668\u6a94\u6848\u3002 <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u57f7\u884c\u8b80\u53d6\u6307\u4ee4<\/strong>\uff1a\u8f38\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5217\u51fa\u6240\u6709\u611f\u6e2c\u5668\u7576\u524d\u7684\u651d\u6c0f\u6eab\u5ea6\uff08\u7cfb\u7d71\u539f\u59cb\u6578\u503c\u70ba\u6beb\u651d\u6c0f\u5ea6\uff0c\u9700\u9664\u4ee5 1000\uff09\uff1a bash<code>cat \/sys\/class\/thermal\/thermal_zone*\/temp | awk '{print $1\/1000 \" \u00b0C\"}'<\/code> \u8acb\u8b39\u614e\u4f7f\u7528\u7a0b\u5f0f\u78bc\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5e38\u898b\u554f\u984c\u6392\u67e5<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u627e\u4e0d\u5230\u6eab\u5ea6\u6578\u503c<\/strong>\uff1a\u90e8\u5206\u786c\u9ad4\uff08\u5982\u67d0\u4e9b Broadcom \u6676\u7247\u8def\u7531\u5668\uff09\u672a\u958b\u653e\u6eab\u5ea6\u9a45\u52d5\u7d66\u958b\u6e90\u7cfb\u7d71\uff0c\u82e5\u57f7\u884c\u6307\u4ee4\u986f\u793a <code>No such file or directory<\/code>\uff0c\u4ee3\u8868\u786c\u9ad4\u672c\u8eab\u4e0d\u652f\u63f4\u5728 OpenWrt \u8b80\u53d6\u6eab\u5ea6\u3002 <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u539f\u7248 OpenWrt \u9810\u8a2d\u4e0d\u6703\u5728\u7db2\u9801\u5f8c\u53f0\uff08LuCI&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,18,3],"tags":[13,14],"class_list":["post-36","post","type-post","status-publish","format-standard","hentry","category-networking","category-openwrt","category-computer-knowledge","tag-networking","tag-openwrt"],"_links":{"self":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts\/36","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36"}],"version-history":[{"count":1,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions"}],"predecessor-version":[{"id":37,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=\/wp\/v2\/posts\/36\/revisions\/37"}],"wp:attachment":[{"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scotthk.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}