{"id":14863,"date":"2024-10-12T14:58:03","date_gmt":"2024-10-12T06:58:03","guid":{"rendered":"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863"},"modified":"2025-02-16T09:55:27","modified_gmt":"2025-02-16T01:55:27","slug":"openwrt%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863","title":{"rendered":"openwrt\u4ecb\u7ecd"},"content":{"rendered":"<p>\u4e2d\u6587\u5b98\u65b9wiki<br \/>\n<a href=\"https:\/\/oldwiki.archive.openwrt.org\/zh-cn\/start\">https:\/\/oldwiki.archive.openwrt.org\/zh-cn\/start<\/a><\/p>\n<p>\u7cfb\u5217\u578b\u6587\u7ae0\uff1a<a href=\"https:\/\/blog.csdn.net\/weixin_38387929\/article\/details\/111385829\">https:\/\/blog.csdn.net\/weixin_38387929\/article\/details\/111385829<\/a><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_16 counter-hierarchy counter-decimal ez-toc-grey\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E4%B8%80%E3%80%81%E7%9B%B4%E6%8E%A5%E5%8F%AF%E4%B8%8B%E8%BD%BD%E9%95%9C%E5%83%8F\" title=\"\u4e00\u3001\u76f4\u63a5\u53ef\u4e0b\u8f7d\u955c\u50cf\">\u4e00\u3001\u76f4\u63a5\u53ef\u4e0b\u8f7d\u955c\u50cf<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E4%BA%8C%E3%80%81%E7%BC%96%E8%AF%91\" title=\"\u4e8c\u3001\u7f16\u8bd1\">\u4e8c\u3001\u7f16\u8bd1<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#1%E4%BF%AE%E6%94%B9%E9%95%9C%E5%83%8F%E6%BA%90\" title=\"1.\u4fee\u6539\u955c\u50cf\u6e90\">1.\u4fee\u6539\u955c\u50cf\u6e90<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#2%E5%AE%8C%E6%95%B4%E7%BC%96%E8%AF%91%E6%B5%81%E7%A8%8B\" title=\"2.\u5b8c\u6574\u7f16\u8bd1\u6d41\u7a0b\">2.\u5b8c\u6574\u7f16\u8bd1\u6d41\u7a0b<\/a><ul class=\"ez-toc-list-level-5\"><li class=\"ez-toc-heading-level-5\"><ul class=\"ez-toc-list-level-5\"><li class=\"ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#1%E5%AE%8C%E6%95%B4%E7%BC%96%E8%AF%91%E6%B5%81%E7%A8%8B\" title=\"1)\u5b8c\u6574\u7f16\u8bd1\u6d41\u7a0b\">1)\u5b8c\u6574\u7f16\u8bd1\u6d41\u7a0b<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#2%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9%EF%BC%9A\" title=\"2)\u6ce8\u610f\u4e8b\u9879\uff1a\">2)\u6ce8\u610f\u4e8b\u9879\uff1a<\/a><\/li><\/ul><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#3%E7%BC%96%E8%AF%91%E4%B8%AD%E7%9A%84%E5%9D%91\" title=\"3.\u7f16\u8bd1\u4e2d\u7684\u5751\">3.\u7f16\u8bd1\u4e2d\u7684\u5751<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E7%BC%96%E8%AF%91%E5%8F%AF%E5%9C%A8Qemu%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%8A%E8%BF%90%E8%A1%8C%E7%9A%84%E9%95%9C%E5%83%8F\" title=\"\u7f16\u8bd1\u53ef\u5728Qemu\u865a\u62df\u673a\u4e0a\u8fd0\u884c\u7684\u955c\u50cf\">\u7f16\u8bd1\u53ef\u5728Qemu\u865a\u62df\u673a\u4e0a\u8fd0\u884c\u7684\u955c\u50cf<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E4%B8%89%E3%80%81qemu%E5%90%AF%E5%8A%A8openwrt\" title=\"\u4e09\u3001qemu\u542f\u52a8openwrt\">\u4e09\u3001qemu\u542f\u52a8openwrt<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E8%B0%83%E8%AF%95openwrt%EF%BC%8C%E7%AA%81%E7%84%B6%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E3%80%82\" title=\"\u8c03\u8bd5openwrt\uff0c\u7a81\u7136\u65e0\u6cd5\u542f\u52a8\u3002\">\u8c03\u8bd5openwrt\uff0c\u7a81\u7136\u65e0\u6cd5\u542f\u52a8\u3002<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E5%9B%9B%E3%80%81openwrt%E6%9B%B4%E6%96%B0%E9%95%9C%E5%83%8F%E6%BA%90\" title=\"\u56db\u3001openwrt\u66f4\u65b0\u955c\u50cf\u6e90\">\u56db\u3001openwrt\u66f4\u65b0\u955c\u50cf\u6e90<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E4%BA%94%E3%80%81%E8%AF%AD%E8%A8%80%E6%B1%89%E5%8C%96\" title=\"\u4e94\u3001\u8bed\u8a00\u6c49\u5316\">\u4e94\u3001\u8bed\u8a00\u6c49\u5316<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=14863\/#%E5%85%AD%E3%80%81vmware%E5%90%AF%E5%8A%A8openwrt\" title=\"\u516d\u3001vmware\u542f\u52a8openwrt\">\u516d\u3001vmware\u542f\u52a8openwrt<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81%E7%9B%B4%E6%8E%A5%E5%8F%AF%E4%B8%8B%E8%BD%BD%E9%95%9C%E5%83%8F\"><\/span>\u4e00\u3001\u76f4\u63a5\u53ef\u4e0b\u8f7d\u955c\u50cf<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u963f\u91cc\u4e91\u955c\u50cf\uff1a<br \/>\n<a href=\"https:\/\/developer.aliyun.com\/mirror\/openwrt\">https:\/\/developer.aliyun.com\/mirror\/openwrt<\/a><\/p>\n<p>\u5b98\u65b9\u4e0b\u8f7d\u5730\u5740\uff1a<br \/>\n<a href=\"https:\/\/archive.openwrt.org\/\">https:\/\/archive.openwrt.org\/<\/a><\/p>\n<p>\u955c\u50cf\u8bf4\u660e\uff1a<br \/>\n<a href=\"https:\/\/blog.csdn.net\/lzyaks\/article\/details\/128758020\">https:\/\/blog.csdn.net\/lzyaks\/article\/details\/128758020<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BA%8C%E3%80%81%E7%BC%96%E8%AF%91\"><\/span>\u4e8c\u3001\u7f16\u8bd1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/www.cnblogs.com\/kn-zheng\/p\/17340776.html\">https:\/\/www.cnblogs.com\/kn-zheng\/p\/17340776.html<\/a><br \/>\n<a href=\"https:\/\/www.cnblogs.com\/sammei\/p\/3968916.html\">https:\/\/www.cnblogs.com\/sammei\/p\/3968916.html<\/a>  \uff08\u7f16\u8bd1\u539f\u7406\uff09<br \/>\n<a href=\"https:\/\/www.jianshu.com\/p\/b644efe12612\">https:\/\/www.jianshu.com\/p\/b644efe12612<\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1%E4%BF%AE%E6%94%B9%E9%95%9C%E5%83%8F%E6%BA%90\"><\/span>1.\u4fee\u6539\u955c\u50cf\u6e90<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>\n<p>\u4fee\u6539\u955c\u50cf\u6e90\uff1a<a href=\"https:\/\/blog.csdn.net\/yao1500\/article\/details\/105948229\/\">https:\/\/blog.csdn.net\/yao1500\/article\/details\/105948229\/<\/a><br \/>\n\u5426\u5219\u4e0b\u9762\u7684\u66f4\u65b0\u4f1a\u975e\u5e38\u6162<\/p>\n<pre><code class=\"language-bash\">.\/scripts\/feeds update -a\n.\/scripts\/feeds install -a\nmake download<\/code><\/pre>\n<\/li>\n<li>\n<p>\u63d0\u5347\u4f9d\u8d56\u6587\u4ef6\u7684\u4e0b\u8f7d\u901f\u5ea6<br \/>\n<a href=\"https:\/\/blog.csdn.net\/u010307522\/article\/details\/107139733\/\">https:\/\/blog.csdn.net\/u010307522\/article\/details\/107139733\/<\/a><br \/>\n\u627e\u5230 scripts\/download.pl \u6587\u4ef6\uff0c\u4fee\u6539 <a href=\"https:\/\/sources.cdn.openwrt.org\">https:\/\/sources.cdn.openwrt.org<\/a> \u5730\u5740 <a href=\"https:\/\/sources.openwrt.org\/\">https:\/\/sources.openwrt.org\/<\/a><\/p>\n<\/li>\n<li>\n<p>\u624b\u52a8\u4e0b\u8f7d\u66ff\u6362<br \/>\n\u4e0a\u9762\u7684\u955c\u50cf\u6e90\u7801\u66ff\u6362\u5b8c\u4ee5\u540e\uff0c\u4ecd\u6709\u90e8\u5206\u5e93\uff08\u5982github.com\u4e0a\u7684\u5e93\uff09\u4f1a\u4e0b\u8f7d\u5931\u8d25\uff0c\u9700\u8981\u901a\u8fc7\u4e00\u4e9b\u52a0\u901f\u94fe\u63a5\u4e0b\u8f7d\u4e4b\u540e\u624b\u52a8\u66ff\u6362\u3002<\/p>\n<\/li>\n<\/ul>\n<p><code>https:\/\/downloads.sourceforge.net\/linux-atm\/linux-atm-2.5.2.tar.gz<\/code><\/p>\n<h3><span class=\"ez-toc-section\" id=\"2%E5%AE%8C%E6%95%B4%E7%BC%96%E8%AF%91%E6%B5%81%E7%A8%8B\"><\/span>2.\u5b8c\u6574\u7f16\u8bd1\u6d41\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/github.com\/coolsnowwolf\/lede\">https:\/\/github.com\/coolsnowwolf\/lede<\/a><br \/>\n<a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=Mzk0MDQzNjE3Nw==&amp;mid=2247484987&amp;idx=1&amp;sn=4d204313a1023df0193469aa4fda041b&amp;chksm=c3e2b6bf080fc29953c5345c8dde63e0b90eb894f3209570915bbf2c968e6bf5a40070d431c1&amp;mpshare=1&amp;scene=24&amp;srcid=12253nHMstf3UvioJ8ggCv0l&amp;sharer_shareinfo=01e7f047d2938312b589b486440d11f7&amp;sharer_shareinfo_first=01e7f047d2938312b589b486440d11f7#rd\">https:\/\/mp.weixin.qq.com\/s?__biz=Mzk0MDQzNjE3Nw==&amp;mid=2247484987&amp;idx=1&amp;sn=4d204313a1023df0193469aa4fda041b&amp;chksm=c3e2b6bf080fc29953c5345c8dde63e0b90eb894f3209570915bbf2c968e6bf5a40070d431c1&amp;mpshare=1&amp;scene=24&amp;srcid=12253nHMstf3UvioJ8ggCv0l&amp;sharer_shareinfo=01e7f047d2938312b589b486440d11f7&amp;sharer_shareinfo_first=01e7f047d2938312b589b486440d11f7#rd<\/a><br \/>\n<a href=\"https:\/\/blog.csdn.net\/m0_52842889\/article\/details\/119782763\">https:\/\/blog.csdn.net\/m0_52842889\/article\/details\/119782763<\/a><br \/>\n<a href=\"https:\/\/blog.csdn.net\/lawsssscat\/article\/details\/107305357\">https:\/\/blog.csdn.net\/lawsssscat\/article\/details\/107305357<\/a> \uff08**\uff09<\/p>\n<h5><span class=\"ez-toc-section\" id=\"1%E5%AE%8C%E6%95%B4%E7%BC%96%E8%AF%91%E6%B5%81%E7%A8%8B\"><\/span>1)\u5b8c\u6574\u7f16\u8bd1\u6d41\u7a0b<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>1\uff09\u4e0b\u8f7d\u6e90\u7801<br \/>\n<a href=\"https:\/\/github.com\/coolsnowwolf\/lede\">https:\/\/github.com\/coolsnowwolf\/lede<\/a>  (lede\u7248\u672c)<br \/>\n2\uff09\u66f4\u65b0\u6e90<\/p>\n<pre><code class=\"language-bash\">sudo apt update -y\nsudo apt full-upgrade -y<\/code><\/pre>\n<p>3\uff09\u5b89\u88c5\u4f9d\u8d56<\/p>\n<pre><code class=\"language-bash\">sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \\\nbzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \\\ngit gperf haveged help2man intltool libc6-dev-i386 libelf-dev libfuse-dev libglib2.0-dev libgmp3-dev \\\nlibltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libpython3-dev libreadline-dev \\\nlibssl-dev libtool lrzsz mkisofs msmtp ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 \\\npython3-pyelftools python3-setuptools qemu-utils rsync scons squashfs-tools subversion swig texinfo \\\nuglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev<\/code><\/pre>\n<p>4\uff09\u66f4\u65b0\/\u4e0b\u8f7d\u63d2\u4ef6<\/p>\n<pre><code class=\"language-bash\">.\/scripts\/feeds update -a\n.\/scripts\/feeds install -a<\/code><\/pre>\n<p>5\uff09\u914d\u7f6e\u7f16\u8bd1\u9009\u9879<br \/>\n<code>make menuconfig<\/code><br \/>\na.\u677f\u578b<br \/>\nb.\u5176\u5b83<\/p>\n<p>6\uff09\u4e0b\u8f7ddl\u5e93<br \/>\n<code>make download -j8<\/code><\/p>\n<p>7\uff09\u7f16\u8bd1<br \/>\n<code>make V=s -j1<\/code>,\u9996\u6b21\u5efa\u8bae\u5355\u6838\u7f16\u8bd1\u3002<\/p>\n<h5><span class=\"ez-toc-section\" id=\"2%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9%EF%BC%9A\"><\/span>2)\u6ce8\u610f\u4e8b\u9879\uff1a<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>1\uff09\u4e0d\u80fd\u7528root\u7528\u6237\u7f16\u8bd1<br \/>\n\u9879\u76ee\u6587\u4ef6\u5939\u5305\u62ec\u4e00\u5207\u5b50\u6587\u4ef6\u7684\u6743\u9650\u5fc5\u987b\u548c\u5f53\u524d\u7528\u6237\u4e00\u81f4\uff0c\u5426\u5219\u4f1a\u51fa\u73b0\u5404\u79cd\u83ab\u660e\u7684\u9519\u8bef\u3002<br \/>\n2\uff09dl\u6587\u4ef6\u5939\u5f88\u591a\u4f9d\u8d56\u5e93\u90fd\u662f\u4ecegithub.com\u4e0a\u4e0b\u8f7d\u7684\uff0c\u4f1a\u5931\u8d25\u3002<\/p>\n<p>dl\u5e93\u53ef\u4ee5\u63d0\u524d\u4e0b\u597d\uff08\u4f46\u662f\u7a0b\u5e8f\u91cc\u4f1a\u68c0\u9a8c\u6587\u4ef6hash\u503c\uff09<br \/>\n<code>git clone https:\/\/e.coding.net\/yao7778899\/openwrt-dependent-dl.git dl<\/code><br \/>\n\u6700\u597d\u662f\u5f00\u542f\u4ee3\u7406\uff0c\u4f46\u662f\u5f00\u542f\u4ee3\u7406\u53ef\u80fd\u4e5f\u6709\u90e8\u5206\u5e93\u4f1a\u4e0b\u8f7d\u5931\u8d25\uff0c\u9700\u8981\u624b\u52a8\u4e0b\u8f7d\u66ff\u6362\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"3%E7%BC%96%E8%AF%91%E4%B8%AD%E7%9A%84%E5%9D%91\"><\/span>3.\u7f16\u8bd1\u4e2d\u7684\u5751<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>\n<p>\u627e\u4e0d\u5230\u5934\u6587\u4ef6pcre2.h<br \/>\n\u5728\u6e90\u7801\u914d\u7f6e\u91cc\u5f00\u542f\u5e93\u7684\u4f9d\u8d56<a href=\"https:\/\/blog.csdn.net\/caofengtao1314\/article\/details\/83140841\">https:\/\/blog.csdn.net\/caofengtao1314\/article\/details\/83140841<\/a><br \/>\nmake menuconfig<\/p>\n<\/li>\n<li>\n<p>lucihttp\u5e93\u65e0\u6cd5\u4e0b\u8f7d<br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2024\/10\/lucihttp.png\" alt=\"\" \/><br \/>\n\u5f00\u4e86\u4ee3\u7406\u5728\u865a\u62df\u673a\u91cc\u666e\u901a\u7528\u6237git clone\u662f\u4e0d\u80fd\u6b63\u5e38\u4e0b\u8f7d\u7684\uff0c\u4f46\u662f\u7f16\u8bd1\u65f6\u4e0d\u884c\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5c1d\u8bd5\u624b\u52a8\u4e0b\u8f7dluttp\u5305\u6216\u8005\u76f4\u63a5clone\uff0c\u6309\u7167\u4e0a\u9762\u7684shell\u547d\u4ee4\u751f\u6210\u5305\u4e5f\u4f1a\u4ea7\u751f\u9519\u8bef\u3002<br \/>\n\u6700\u7ec8\u4e0d\u5f97\u4e0d\u4fee\u6539\u6e90\u7801<code>vim  scripts\/download.pl +342<\/code>\uff0c\u5c1d\u8bd5\u5728\u5904\u7406lucihttp\u5e93\u65f6\u4e0d\u4f5chash\u6821\u9a8c\uff1a<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E7%BC%96%E8%AF%91%E5%8F%AF%E5%9C%A8Qemu%E8%99%9A%E6%8B%9F%E6%9C%BA%E4%B8%8A%E8%BF%90%E8%A1%8C%E7%9A%84%E9%95%9C%E5%83%8F\"><\/span>\u7f16\u8bd1\u53ef\u5728Qemu\u865a\u62df\u673a\u4e0a\u8fd0\u884c\u7684\u955c\u50cf<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/blog.csdn.net\/zjy900507\/article\/details\/88660270\">https:\/\/blog.csdn.net\/zjy900507\/article\/details\/88660270<\/a><br \/>\nmake menuconfig\u6ce8\u610f\u9009\u62e9\u5bf9\u5e94\u67b6\u6784<br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2024\/10\/openwrt_qemu.png\" alt=\"\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%89%E3%80%81qemu%E5%90%AF%E5%8A%A8openwrt\"><\/span>\u4e09\u3001qemu\u542f\u52a8openwrt<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>\u5728\u7ec8\u7aef\u91cc\u6267\u884c<code>qemu-system-x86_64 -drive file=openwrt.raw,format=raw<\/code>\u547d\u4ee4\u62a5\u9519gtk initialization failed<br \/>\n<a href=\"https:\/\/blog.csdn.net\/o_alpha\/article\/details\/132668657\">https:\/\/blog.csdn.net\/o_alpha\/article\/details\/132668657<\/a><br \/>\n\u542f\u52a8\u547d\u4ee4\u8981\u589e\u52a0<code>-nographic<\/code>\u53c2\u6570<\/p>\n<p><code>qemu-system-x86_64 -drive file=openwrt.raw,format=raw -nographic<\/code><\/p>\n<p>\u5173\u4e8e<code>-nographic<\/code>\u53c2\u6570\uff1a<br \/>\n1\uff09\u65e0\u754c\u9762\u542f\u52a8<br \/>\n2\uff09\u4e0d\u540c\u7684openwrt\u7248\u672c\uff0c\u6709\u7684\u901a\u8fc7nohup qemu openwrt &amp;\u540e\u53f0\u542f\u52a8openwrt \u9700\u8981\u52a0<code>-nographic<\/code>\u53c2\u6570\uff0c\u6709\u7684\u4e0d\u9700\u8981\u52a0\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E8%B0%83%E8%AF%95openwrt%EF%BC%8C%E7%AA%81%E7%84%B6%E6%97%A0%E6%B3%95%E5%90%AF%E5%8A%A8%E3%80%82\"><\/span>\u8c03\u8bd5openwrt\uff0c\u7a81\u7136\u65e0\u6cd5\u542f\u52a8\u3002<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u5927\u81f4\u662f\u6267\u884c\u4e0b\u9762\u7684\u811a\u672c\uff0c\u540e\u6765\u7a81\u7136openwrt\u5c31\u65e0\u6cd5\u542f\u52a8\u4e86\u3002<\/p>\n<pre><code class=\"language-bash\"># \u8bbe\u7f6eQEMU\u53c2\u6570\nQEMU_IMG=&quot;qemu-img&quot;\nDISK_SIZE=&quot;2G&quot;\nBOARD=&quot;x86_64&quot;\nMEMORY=&quot;1024M&quot;\nQEMU_BIN=&quot;qemu-system-${BOARD}&quot;\nQEMU_ARCH=&quot;x86_64&quot;\nQEMU_KERNEL=&quot;vmlinuz&quot;\nQEMU_INITRD=&quot;initramfs&quot;\nQEMU_SD=&quot;openwrt.raw&quot;\nQEMU_SNAPSHOT=&quot;openwrt-snapshot&quot;\n\n# \u521b\u5efa\u78c1\u76d8\u955c\u50cf\n${QEMU_IMG} create -f raw ${QEMU_SD} ${DISK_SIZE}\n\n# \u542f\u52a8QEMU\n#${QEMU_BIN} -machine type=q35 -m ${MEMORY} -drive file=${QEMU_SD},format=raw,id=hd0 -device virtio-blk-pci,drive=hd0 -netdev user,id=net0 -device e1000,netdev=net0 -boot order=c -kernel ${QEMU_KERNEL} -initrd ${QEMU_INITRD} --nographic<\/code><\/pre>\n<p>\u65e0\u6cd5\u542f\u52a8\uff1a<br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2024\/10\/\u65e0\u6cd5\u6b63\u5e38\u542f\u52a8.jpg\" alt=\"\" \/><\/p>\n<p>\u6b63\u5e38\u542f\u52a8\uff1a<br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2024\/10\/\u6b63\u5e38\u542f\u52a8.jpg\" alt=\"\" \/><\/p>\n<p>\u540e\u6765\u6d4b\u8bd5vmdk\u6587\u4ef6\u53ef\u4ee5\u6b63\u5e38\u542f\u52a8\uff0c\u90a3\u8bf4\u660e.raw\u6587\u4ef6\u53ef\u80fd\u662f\u635f\u574f\u4e86\u3002<br \/>\n<code>qemu-system-x86_64 -m 256M    -drive file=openwrt.vmdk  -net nic -net user --nographic<\/code><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%9B%9B%E3%80%81openwrt%E6%9B%B4%E6%96%B0%E9%95%9C%E5%83%8F%E6%BA%90\"><\/span>\u56db\u3001openwrt\u66f4\u65b0\u955c\u50cf\u6e90<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/blog.csdn.net\/xyaocc\/article\/details\/129154566?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-129154566-blog-140209950.235^v43^pc_blog_bottom_relevance_base2&amp;spm=1001.2101.3001.4242.1&amp;utm_relevant_index=3\">https:\/\/blog.csdn.net\/xyaocc\/article\/details\/129154566?utm_medium=distribute.pc_relevant.none-task-blog-2~default~baidujs_baidulandingword~default-0-129154566-blog-140209950.235^v43^pc_blog_bottom_relevance_base2&spm=1001.2101.3001.4242.1&utm_relevant_index=3<\/a><\/p>\n<p><a href=\"https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/openwrt\/\">https:\/\/mirrors.tuna.tsinghua.edu.cn\/help\/openwrt\/<\/a><\/p>\n<p>\u7f16\u8f91<code>\/etc\/opkg\/distfeeds.conf <\/code>\uff0c\u7136\u540e<code>opkg update <\/code>\u66f4\u65b0\u955c\u50cf\u6e90\u3002<\/p>\n<p>\u6ce8\u610f\u53ea\u8981\u66ff\u6362\u524d\u9762\u7684url\u5373\u53ef\uff0c\u540e\u9762\u7684\u67b6\u6784\u4e0d\u8981\u52a8\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BA%94%E3%80%81%E8%AF%AD%E8%A8%80%E6%B1%89%E5%8C%96\"><\/span>\u4e94\u3001\u8bed\u8a00\u6c49\u5316<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>1\uff09\u5b89\u88c5\u4e2d\u6587\u5305\uff1a<code>opkg install luci-i18n-base-zh-cn<\/code><br \/>\n2\uff09\u8bbe\u7f6e\u5e76\u5e94\u7528<br \/>\nSystem -&gt; System -&gt; Language and Style -&gt; Language\uff0c\u9009\u62e9 \u7b80\u4f53\u4e2d\u6587 (Chinese Simplified)\uff0c\u7136\u540e\u70b9\u51fb Save &amp; Apply \u4fdd\u5b58\u3002<\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E5%85%AD%E3%80%81vmware%E5%90%AF%E5%8A%A8openwrt\"><\/span>\u516d\u3001vmware\u542f\u52a8openwrt<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/blog.csdn.net\/qq_38721267\/article\/details\/129296766\">https:\/\/blog.csdn.net\/qq_38721267\/article\/details\/129296766<\/a><\/p>\n<p>\u6ce8\u610fopenwrt.img\u8f6copenwrt.vmdk\uff0c\u5982\u679cvmwate\u63d0\u793a\u4e0d\u662f\u865a\u62df\u78c1\u76d8\uff0c\u5219\u8f6c\u6362\u5e94\u5728windows\u5e73\u53f0\u4e0a\u5b89\u88c5qemu-utils\u518d\u5229\u7528qemu-img\u5de5\u5177\u8fdb\u884c\u3002<\/p>\n<button class=\"simplefavorite-button\" data-postid=\"14863\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>\u4e2d\u6587\u5b98\u65b9wiki https:\/\/oldwiki.archive.openwrt.org\/zh-cn [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1141],"tags":[],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/14863"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14863"}],"version-history":[{"count":44,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/14863\/revisions"}],"predecessor-version":[{"id":15578,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/14863\/revisions\/15578"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14863"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}