id: bd11db9351c4498daad4e5604e5a8757
parent_id: 
item_type: 1
item_id: e522a839b7154adfb14ae16b84b1bb22
item_updated_time: 1764345565231
title_diff: "[{\"diffs\":[[1,\"从零开始学习OpenWrt：刷機 + 使用 + 編譯教程\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":28}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>从零开始学习OpenWrt：刷機 + 使用 + 編譯教程</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/f24a269a-eaa9-45ca-998e-55d501f41bee/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"9867\\\"></a>\\\r\\\n<h1>从零开始学习OpenWrt：刷機 + 使用 + 編譯教程</h1>\\\r\\\n\\\r\\\n<div>\\\n<span><br/><div style=\\\"font-size: 16px\\\"><div style=\\\"font-stretch:inherit;font-family:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-size:inherit;vertical-align:baseline;overflow-x:hidden;-webkit-font-smoothing:antialiased;height:100%;\\\"><div style=\\\"vertical-align:baseline;font-family:'Droid Serif';font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:15px;color:rgb(53, 53, 53);background-color:rgb(235, 235, 235);background-image:url(http://upsangel.com/wp-content/themes/true-pixel/images/pattern0.png);position:relative;min-height:100%;top:0px;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><div style=\\\"font-family:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;vertical-align:baseline;-webkit-box-shadow:rgba(0, 0, 0, 0.298039) 0px 1px 3px;box-shadow:rgba(0, 0, 0, 0.298039) 0px 1px 3px;overflow:hidden;background:rgb(245, 245, 245);\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;box-sizing:border-box;background:rgb(255, 255, 255);\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><div style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;background-color:rgb(255, 255, 255);\\\"><div style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:15px;\\\"><a href=\\\"http://upsangel.com/\\\" rel=\\\"nofollow\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\"><i style=\\\"vertical-align:baseline;margin:0px;border:0px;padding:0px;font-size:inherit;font-stretch:inherit;font-variant:inherit;display:inline;font-weight:normal;font-family:FontAwesome;text-decoration:inherit;-webkit-font-smoothing:antialiased;font-style:normal;width:auto;height:auto;margin-top:0px;background-image:none;background-position:0% 0%;background-repeat:repeat;\\\"><span style=\\\"font-family:FontAwesome;font-size:inherit;font-style:normal;font-variant:inherit;font-weight:normal;text-decoration:inherit;display:inline-block;speak:none;\\\"></span></i> Home</a>  »  <a href=\\\"http://upsangel.com/category/openwrt/\\\" rel=\\\"nofollow\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\">OpenWRT</a>  »  从零开始学习OpenWrt：刷機 + 使用 + 編譯教程</div><div style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;display:block;width:100%;margin-bottom:10px;\\\"><h1 style=\\\"font-weight:800;margin:0px;border:0px;font-family:Oswald;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-stretch:inherit;padding:0px;font-size:26px;margin-bottom:5px;color:rgb(85, 85, 85);clear:both;float:left;\\\">从零开始学习OpenWrt：刷機 + 使用 + 編譯教程</h1><div style=\\\"font-stretch:inherit;margin:0px;border:0px;font-family:inherit;vertical-align:baseline;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;font-size:13px;display:block;color:rgb(170, 170, 170);clear:both;width:100%;margin-bottom:15px;\\\"><span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;vertical-align:baseline;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;margin-right:7px;font-size:13px;\\\"><i style=\\\"vertical-align:baseline;margin:0px;border:0px;padding:0px;font-size:inherit;font-stretch:inherit;font-variant:inherit;display:inline;font-weight:normal;font-family:FontAwesome;text-decoration:inherit;-webkit-font-smoothing:antialiased;font-style:normal;width:auto;height:auto;margin-top:0px;background-image:none;background-position:0% 0%;background-repeat:repeat;\\\"><span style=\\\"font-family:FontAwesome;font-size:inherit;font-style:normal;font-variant:inherit;font-weight:normal;text-decoration:inherit;display:inline-block;speak:none;\\\"></span></i> <a href=\\\"http://upsangel.com/author/upsangel/\\\" rel=\\\"nofollow\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;transition:all 0.2s linear;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;-webkit-transition:all 0.2s linear;text-decoration:none;color:rgb(165, 165, 165);font-size:13px;\\\" title=\\\"Posts by upsangel\\\">upsangel</a></span> <span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;vertical-align:baseline;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;margin-right:7px;font-size:13px;\\\"><i style=\\\"vertical-align:baseline;margin:0px;border:0px;padding:0px;font-size:inherit;font-stretch:inherit;font-variant:inherit;display:inline;font-weight:normal;font-family:FontAwesome;text-decoration:inherit;-webkit-font-smoothing:antialiased;font-style:normal;width:auto;height:auto;margin-top:0px;background-image:none;background-position:0% 0%;background-repeat:repeat;\\\"><span style=\\\"font-family:FontAwesome;font-size:inherit;font-style:normal;font-variant:inherit;font-weight:normal;text-decoration:inherit;display:inline-block;speak:none;\\\"></span></i> April 19, 2014</span> <span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;vertical-align:baseline;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;margin-right:7px;font-size:13px;\\\"><i style=\\\"vertical-align:baseline;margin:0px;border:0px;padding:0px;font-size:inherit;font-stretch:inherit;font-variant:inherit;display:inline;font-weight:normal;font-family:FontAwesome;text-decoration:inherit;-webkit-font-smoothing:antialiased;font-style:normal;width:auto;height:auto;margin-top:0px;background-image:none;background-position:0% 0%;background-repeat:repeat;\\\"><span style=\\\"font-family:FontAwesome;font-size:inherit;font-style:normal;font-variant:inherit;font-weight:normal;text-decoration:inherit;display:inline-block;speak:none;\\\"></span></i> <a href=\\\"http://upsangel.com/category/openwrt/\\\" rel=\\\"nofollow\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;transition:all 0.2s linear;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;-webkit-transition:all 0.2s linear;text-decoration:none;color:rgb(165, 165, 165);font-size:13px;\\\">OpenWRT</a></span></div></div><div style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;overflow:hidden;clear:both;\\\"><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">(如果你也想試試OpenWrt，希望這篇介紹文章能幫度你。本文係新手入門（FLASH FIRMWARE用家）+高手入門（修改Firmware Coder），大家各取所需吧！) Cisco/Linksys在2003年發布了WRT54G這款無線路由器，同年有人發現它的IOS是基於Linux的，然而Linux是基於GPL許可證發布的，按照該許可證Cisco應該把WRT54G 的IOS的源代碼公開。2003年3月， Cisco迫於公眾壓力公開了WRT54G的源代碼。此後就有了一些基於Cisco源碼的第三方路由器固件，OpenWrt就是其中的一個。 <a href=\\\"http://upsangel.com/wp-content/uploads/2013/06/openwrt-logo1.png\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\"><img src=\\\":/bd047e08a7734604b0e8b5f4414c98da\\\" type=\\\"image/png\\\" data-filename=\\\"Image.png\\\" alt=\\\"openwrt-logo\\\" height=\\\"98\\\" style=\\\"font-stretch: inherit; margin: 1em 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; padding: 0px; vertical-align: baseline; max-width: 100%; display: block; clear: both; height: auto;\\\" width=\\\"386\\\"/></a></p><h3 style=\\\"font-weight:normal;margin:0px;border:0px;font-family:Oswald;font-size:22px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;margin-bottom:12px;color:rgb(224, 63, 0);text-transform:uppercase;\\\">OpenWrt的特點：</h3><ul style=\\\"font-variant:inherit;margin:1.5em 0px 1.571em 1.9em;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;list-style:none;list-style-type:square;\\\"><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">可擴展性好，可以在線安裝您所需要的功能，目前有1000多個功能包可選；</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">是一台完整的Linux工作站，文件系統可讀可寫，便於開發者學習和實踐；</li></ul><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">現在有越來越多的Maker（也就是DIYer啦～WeMaker群組的人喜歡自稱Maker）開始折騰OpenWrt，但作為一個Maker新手來講，在網上還是很難找到一份系統的入門級資料。查找資料很辛苦，而且OpenWrt的門檻相對較高（Upsangel小語：如果不做編譯調整FIRMWARE本身的CODING，門檻還是很低的。。。），希望這篇文章所提供的從零開始學OpenWrt編譯 + 刷機 + 使用教程能降低新手們的入門難度，當然，<strong style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:bold;font-stretch:inherit;vertical-align:baseline;\\\">編譯過程非必須</strong>，一般的路由都可找到可用的穩定固件直接刷機（如果能找到已經成熟的FIRMWARE的話，這也是<a href=\\\"http://upsangel.com/dd-wrt/dd-wrt-router-buying-guide/\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\" title=\\\"DD-WRT Router路由器選購指南、選擇注意事項考慮因素\\\">選擇Openwrt路由器的考慮因素之一</a>）。</p><h3 style=\\\"font-weight:normal;margin:0px;border:0px;font-family:Oswald;font-size:22px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;margin-bottom:12px;color:rgb(224, 63, 0);text-transform:uppercase;\\\">第一部分：將OpenWrt刷入路由器</h3><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\"></p><div style=\\\"font-variant:inherit;margin:10px 0 10px 0;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;float:none;text-align:center;\\\"><ins style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;display:inline-block;width:336px;height:280px;\\\"></ins></div>\\\n要在路由器上使用OpenWrt，首先要將路由器固件刷新為OpenWrt，即相當於OpenWrt 系統的安裝，不同型號的路由器的安裝方法可能也會不一樣，但一般常用的有三種方法：\\\n<p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\"></p><ul style=\\\"font-variant:inherit;margin:1.5em 0px 1.571em 1.9em;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;list-style:none;list-style-type:square;\\\"><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">Web上傳固件更新 （就是平時進入管理界面固件升級那個版面）</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">tFTP上傳固件更新 （把自己的電腦設置成為tFTP服務器）</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">TTL寫入固件</li></ul><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">具體型號的路由器適用於哪種或哪幾種方法，需自行嘗試 （Upsangel小語：千萬不要自行嘗試！亂來的FLASH很有機會把路由變磚，正確的方法如下：</p><ul style=\\\"font-variant:inherit;margin:1.5em 0px 1.571em 1.9em;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;list-style:none;list-style-type:square;\\\"><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">先上openwrt official website: <a href=\\\"http://wiki.openwrt.org/toh/start\\\" rel=\\\"external nofollow\\\" style=\\\"font-stretch:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;-webkit-transition:all 0.2s linear;transition:all 0.2s linear;padding-right:15px;background:url(http://upsangel.com/wp-content/plugins/wp-external-links/images/ext-icons/ext-icon-8.png) 100% 50% no-repeat;color:rgb(224, 63, 0);text-decoration:none;\\\">openwrt.org</a> 尋找你的Router的支援情況，如果你的型號沒有蛛絲馬跡，要不放棄，要不自行編譯（參考第三部分））如果是神州大陸的品牌，可以上openwrt.org.cn ， right.com.cn，anywlan.com的論壇尋找</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">尋找合適的固件：最理想的情況是官網有atitude adjustment的完整支援（例子，<a href=\\\"http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300nh2\\\" rel=\\\"external nofollow\\\" style=\\\"font-stretch:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;-webkit-transition:all 0.2s linear;transition:all 0.2s linear;padding-right:15px;background:url(http://upsangel.com/wp-content/plugins/wp-external-links/images/ext-icons/ext-icon-8.png) 100% 50% no-repeat;color:rgb(224, 63, 0);text-decoration:none;\\\">Buffalo WZR-HP-G300NH2 / WZR-300HP</a> 的<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#000000;\\\">B0A0或更早的版本，本站的所有<a href=\\\"http://upsangel.com/category/openwrt/\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\">OpenWRT應用貼</a>都是基於這個ROUTER寫的）</span></li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">尋找刷入FLASH FIRMWARE的方法：通常你到了這一步都會找到合適的刷的方法了。。。）</li></ul><h3 style=\\\"font-weight:normal;margin:0px;border:0px;font-family:Oswald;font-size:22px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;margin-bottom:12px;color:rgb(224, 63, 0);text-transform:uppercase;\\\">第二部分：开始使用OpenWrt</h3><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">要對OpenWrt進行配置，一般有兩條途徑：</p><ul style=\\\"font-variant:inherit;margin:1.5em 0px 1.571em 1.9em;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;list-style:none;list-style-type:square;\\\"><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">SSH或Telnet登錄通過命令行控制 （就像DOS的打命令）</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">Web登錄通過Web界面設置</li></ul><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">首次安裝OpenWrt後，需要設置密碼才可以使用SSH登錄，方法是使用telnet登錄或者Web登錄設置密碼。在Windows下面telnet和SSH登錄可以使用<a href=\\\"http://www.putty.org/\\\" rel=\\\"external nofollow\\\" style=\\\"font-stretch:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;-webkit-transition:all 0.2s linear;transition:all 0.2s linear;padding-right:15px;background:url(http://upsangel.com/wp-content/plugins/wp-external-links/images/ext-icons/ext-icon-8.png) 100% 50% no-repeat;color:rgb(224, 63, 0);text-decoration:none;\\\"><strong style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:bold;font-stretch:inherit;vertical-align:baseline;\\\">Putty</strong></a>，十分容易使用的，就像一個FTP軟件，連接進去就出現命令行模式：</p><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\"></p><div style=\\\"font-weight:inherit;margin:0px;vertical-align:baseline;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-stretch:inherit;padding:5px 3px 10px;border:1px solid rgb(240, 240, 240);max-width:96%;text-align:center;background:rgb(255, 255, 255);width:510px;\\\"><a href=\\\"https://www.flickr.com/photos/94323610@N06/13931359354\\\" rel=\\\"external nofollow\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\" title=\\\"openwrt-ssh[1] by upsangel upsangel, on Flickr\\\"><img src=\\\":/a3c85960b35d4c1e929dc32ed8213e16\\\" type=\\\"image/jpeg\\\" data-filename=\\\"13931359354_35b3767745.jpg\\\" alt=\\\"openwrt-ssh[1]\\\" height=\\\"356\\\" style=\\\"font-variant: inherit; margin: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; padding: 0px; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; max-width: 100%; height: auto;\\\" width=\\\"500\\\"/></a><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:0px;\\\">這是MW4530R刷入Haxc 大神的固件的SSH截圖，如果沒有用過命令行就不算用過Openwrt了</p></div>\\\n一般指令與常見Linux發行版相同，但是OpenWrt使用自己的包管理器：opkg，使用“opkg –help”查看幫助信息。以下是一些常用操作命令：\\\n<p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\"></p><ul style=\\\"font-variant:inherit;margin:1.5em 0px 1.571em 1.9em;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;list-style:none;list-style-type:square;\\\"><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">opkg update //更新軟件包列表</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">opkg install //在線安裝軟件包</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">opkg remove //移除軟件包 （更多安裝、配置、卸載Optware套件的方法請參考<a href=\\\"http://upsangel.com/dd-wrt/openwrt-install-remove-optware-softwar/\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\" title=\\\"Openwrt安裝卸載和啓動Optware的簡單說明\\\">這篇文章</a>）</li></ul><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">登錄Web管理界面，前提是該OpenWrt系統中要安裝了Web界面，一般是Luci，登錄方式與普通路由器無異，打開瀏覽器，輸入路由器IP即可進入登錄界面，OpenWrt的默認IP是192.168.1.1。在Luci裡面操作是十分User Friendly了～</p><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\"></p><div style=\\\"font-weight:inherit;margin:0px;vertical-align:baseline;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-stretch:inherit;padding:5px 3px 10px;border:1px solid rgb(240, 240, 240);max-width:96%;text-align:center;background:rgb(255, 255, 255);width:510px;\\\"><a href=\\\"https://www.flickr.com/photos/94323610@N06/13930922855\\\" rel=\\\"external nofollow\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\" title=\\\"openwrt-web[1] by upsangel upsangel, on Flickr\\\"><img src=\\\":/6d4af4342d8c427fb587927ce79bc58f\\\" type=\\\"image/jpeg\\\" data-filename=\\\"13930922855_649808eceb.jpg\\\" alt=\\\"openwrt-web[1]\\\" height=\\\"433\\\" style=\\\"font-variant: inherit; margin: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; padding: 0px; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; max-width: 100%; height: auto;\\\" width=\\\"500\\\"/></a><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:0px;\\\">不能不說的是這款MW4530R，是國產的OPENWRT超性價比產品，硬件上複製的TPLINK WDR4700，軟件上由Haxc大神領軍，流行將8M ROM硬改成16M，配置大量應用，入選小U小販的性價比之選。</p></div>\\\n到此，OpenWrt的大門已為你敞開。接下來，開始嘗試利用OpenWrt實現更多智能應用吧，比如單號多撥榨取運營商帶寬、綁定域名遠程控制、掛載大容量硬盤、搭建BT下載機、搭建網絡攝像頭、Samba/DLNA家庭NAS共享、私有雲同步、FTP、個人網站/服務器… 請參考：OpenWRT, DD-WRT資源彙總索引 – <a href=\\\"http://www.hkepc.com/forum/viewthread.php?tid=2025967&amp;extra=page%3D1\\\" rel=\\\"external nofollow\\\" style=\\\"font-stretch:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;-webkit-transition:all 0.2s linear;transition:all 0.2s linear;padding-right:15px;background:url(http://upsangel.com/wp-content/plugins/wp-external-links/images/ext-icons/ext-icon-8.png) 100% 50% no-repeat;color:rgb(224, 63, 0);text-decoration:none;\\\">http://www.hkepc.com/forum/viewthread.php?tid=2025967&amp;extra=page%3D1</a><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\"></p><h3 style=\\\"font-weight:normal;margin:0px;border:0px;font-family:Oswald;font-size:22px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;margin-bottom:12px;color:rgb(224, 63, 0);text-transform:uppercase;\\\">第三部分：搭建編譯環境 和 進行編譯</h3><div style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\"><div>如果你的路由器不在支持範圍之內，或者有這樣那樣的固件你想進行編輯，不妨動手試試製作屬於自己的OpenWRT Firmware，你的目標是進入到下面這個編輯FIRMWARE的界面：</div><div> <a href=\\\"https://www.flickr.com/photos/94323610@N06/13931484814\\\" rel=\\\"external nofollow\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;-webkit-transition:all 0.2s linear;color:rgb(224, 63, 0);text-decoration:none;\\\" title=\\\"openwrt-make[1] by upsangel upsangel, on Flickr\\\"><img src=\\\":/c7ff3f6f08da46a18260768d6b87b54e\\\" type=\\\"image/jpeg\\\" data-filename=\\\"13931484814_7ef86e616a.jpg\\\" alt=\\\"openwrt-make[1]\\\" height=\\\"277\\\" style=\\\"font-variant: inherit; margin: 0px; border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; padding: 0px; font-weight: inherit; font-stretch: inherit; vertical-align: baseline; max-width: 100%; height: auto;\\\" width=\\\"500\\\"/></a></div></div><h4 style=\\\"font-weight:normal;margin:0px;border:0px;font-family:Oswald;font-size:20px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;margin-bottom:12px;color:rgb(224, 63, 0);text-transform:uppercase;\\\">搭建編譯環境</h4><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">1、安裝Ubuntu（編譯需要Linux環境），到其官網下載，版本根據自己所需選擇即可。可以選擇安裝到虛擬機或者物理機，圖形化安裝而且是中文版，連安裝都搞不定的，可以關閉本頁面了； 2、切記不要改動軟件源，同時按住Ctrl + Alt + T，調出終端； 3、逐條輸入下列命令（及時驗證是否安裝成功）：</p><table style=\\\"font-stretch:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;margin:0px;padding:0px;border:1px solid rgba(0, 0, 0, 0.0980392);font-family:inherit;font-weight:inherit;vertical-align:baseline;border-collapse:collapse;border-spacing:0px;text-align:left;margin-bottom:25px;color:#666666;width:100%;\\\"><tr style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><td style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;vertical-align:baseline;font-weight:inherit;font-stretch:inherit;padding:7px 15px;text-align:left;color:#666666;width:16.9811320754717%;\\\"><pre style=\\\"font-variant:inherit;overflow:auto;border:0px;margin:15px 0px;background:rgb(245, 245, 245);font-family:monospace;font-size:inherit;font-style:normal;padding:15px;font-weight:normal;font-stretch:inherit;vertical-align:baseline;position:relative;box-sizing:border-box;color:gray !important;\\\"><span style=\\\"font-family:fontawesome;font-size:18px;font-style:normal;font-variant:inherit;font-weight:normal;color:rgb(0, 0, 0);position:absolute;right:14px;top:6px;\\\"></span>1\\\n2\\\n3\\\n4\\\n5\\\n6\\\n7\\\n8\\\n9\\\n10\\\n11\\\n12\\\n13\\\n14\\\n15\\\n16\\\n17\\\n18\\\n19\\\n20\\\n</pre></td><td style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;vertical-align:baseline;font-weight:inherit;font-stretch:inherit;padding:7px 15px;text-align:left;color:#666666;width:82.96495956873315%;\\\"><pre style=\\\"font-style:normal;overflow:auto;border:0px;margin:15px 0px;background:rgb(245, 245, 245);font-family:monospace;font-size:inherit;padding:15px;font-variant:inherit;font-weight:normal;font-stretch:inherit;vertical-align:baseline;position:relative;box-sizing:border-box;\\\"><span style=\\\"font-family:fontawesome;font-size:18px;font-style:normal;font-variant:inherit;font-weight:normal;color:rgb(0, 0, 0);position:absolute;right:14px;top:6px;\\\"></span>sudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install g<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">++</span>\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install libncurses5<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>dev\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install zlib1g<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>dev\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install bison\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install flex\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install unzip\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install autoconf\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install gawk\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install make\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install <span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#990000;\\\">gettext</span>\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install gcc\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install binutils\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install patch\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install bzip2\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install libz<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>dev\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install asciidoc\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install subversion\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install sphinxsearch\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install libtool\\\nsudo apt<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>get install sphinx<span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#339933;\\\">-</span>common\\\n</pre></td></tr></table><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">（Upsangel小語：apt-get install 安裝一大堆編程所需套件）至此編譯環境搭建完成。</p><h4 style=\\\"font-weight:normal;margin:0px;border:0px;font-family:Oswald;font-size:20px;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;margin-bottom:12px;color:rgb(224, 63, 0);text-transform:uppercase;\\\">下載OpenWrt源碼並編譯</h4><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">OpenWrt源碼分兩種，一種是最新但不是最穩定的Trunk開發版，一種是最穩定的Backfire版，建議下載官方源碼。下載前先在本地創建文件夾：</p><table style=\\\"font-stretch:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;margin:0px;padding:0px;border:1px solid rgba(0, 0, 0, 0.0980392);font-family:inherit;font-weight:inherit;vertical-align:baseline;border-collapse:collapse;border-spacing:0px;text-align:left;margin-bottom:25px;color:#666666;width:100%;\\\"><tbody style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><tr style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><td style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;vertical-align:baseline;font-weight:inherit;font-stretch:inherit;padding:7px 15px;text-align:left;color:#666666;width:21.293800539083556%;\\\"><pre style=\\\"font-variant:inherit;overflow:auto;border:0px;margin:15px 0px;background:rgb(245, 245, 245);font-family:monospace;font-size:inherit;font-style:normal;padding:15px;font-weight:normal;font-stretch:inherit;vertical-align:baseline;position:relative;box-sizing:border-box;color:gray !important;\\\"><span style=\\\"font-family:fontawesome;font-size:18px;font-style:normal;font-variant:inherit;font-weight:normal;color:rgb(0, 0, 0);position:absolute;right:14px;top:6px;\\\"></span>1\\\n2\\\n3\\\n</pre></td><td style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;vertical-align:baseline;font-weight:inherit;font-stretch:inherit;padding:7px 15px;text-align:left;color:#666666;width:78.6522911051213%;\\\"><pre style=\\\"font-style:normal;overflow:auto;border:0px;margin:15px 0px;background:rgb(245, 245, 245);font-family:monospace;font-size:inherit;padding:15px;font-variant:inherit;font-weight:normal;font-stretch:inherit;vertical-align:baseline;position:relative;box-sizing:border-box;\\\"><span style=\\\"font-family:fontawesome;font-size:18px;font-style:normal;font-variant:inherit;font-weight:normal;color:rgb(0, 0, 0);position:absolute;right:14px;top:6px;\\\"></span><span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#990000;\\\">mkdir</span> openwrt\\\nsudo <span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#990000;\\\">chmod</span> <span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;color:#cc66cc;\\\">777</span> openwrt\\\ncd openwrt\\\n</pre></td></tr></tbody></table><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">選擇你想要的版本然後執行下載命令，下載結束會顯示版本號： Trunk版下載命令：<em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">svn co svn://svn.openwrt.org/openwrt/trunk/</em> Backfire版下載命令：<em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">svn co svn://svn.openwrt.org/openwrt/branches/backfire/</em> 添加軟件擴展包，將feeds.conf.default修改為feeds.conf：<em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">cp feeds.conf.default feeds.conf</em> 更新擴展，安裝擴展：</p><ul style=\\\"font-variant:inherit;margin:1.5em 0px 1.571em 1.9em;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;list-style:none;list-style-type:square;\\\"><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">./scripts/feeds update -a</li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">./scripts/feeds install -a</li></ul><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">注：如果不是剛下載的源碼，為保持代碼為最新狀態，應定期運行svn update命令更新源碼。 測試編譯環境：<em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">make defconfig</em> 到這裡就可以開始編譯自己的固件了。進入定制界面：<em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">make menuconfig</em> 如果一切正常，會出現一個配置菜單，可以選擇要編譯的固件平台（芯片類型）、型號，還能選擇固件中要添加的功能和組件，配置好後保存並退出菜單即可。 如果你想修改源碼，應該在此步進行，如支持大容量Flash之類的修改，自己上網查到修改什麼文件什麼地方後，就在ubuntu圖形界面上進去找到文件，雙擊打開文本編輯器修改保存。 開始編譯：</p><ul style=\\\"font-variant:inherit;margin:1.5em 0px 1.571em 1.9em;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;list-style:none;list-style-type:square;\\\"><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">make</em></li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">make V=99</em></li><li style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><em style=\\\"font-style:italic;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\">make -j V=99</em></li></ul><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">(make是編譯命令，V=99表示輸出debug信息，V一定要大寫，如果要讓CPU全速編譯，就加上 -j 參數，第一次編譯最好不帶-j參數。) 編譯過程保持聯網（會從網上下載一些源碼包），所以斷網可能造成編譯中斷，編譯所需時間與電腦CPU及網絡環境有很大關系，第一次編譯時間較久，快則半小時長則2、3個小時，之後的編譯所需時間較短。編譯完成後會在源碼文件目錄出現bin文件夾（如trunk/bin/XXXX），如果你手裡的路由是原版固件需要刷OpenWrt需要選用XXX-factory.bin固件，如果路由已經刷了OpenWrt，選用升級固件XXXX-sysupgrade.bin升級用的，在升級界面升級即可。進到文件夾找到你需要的固件傳出（通過郵箱、網盤、U盤等），開始刷機吧。   （原文載于 <a href=\\\"http://wemaker.cc/\\\" rel=\\\"external nofollow\\\" style=\\\"font-stretch:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;padding:0px;vertical-align:baseline;-webkit-transition:all 0.2s linear;transition:all 0.2s linear;padding-right:15px;background:url(http://upsangel.com/wp-content/plugins/wp-external-links/images/ext-icons/ext-icon-8.png) 100% 50% no-repeat;color:rgb(224, 63, 0);text-decoration:none;\\\">wemaker.cc</a> , author LaRiver，edited by Upsangel）</p><p style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-bottom:20px;\\\">後記：自從Upsangel的路由器技術文章被WeMaker.cc轉載後（<a href=\\\"http://upsangel.com/router-2/join-wemaker/\\\" rel=\\\"bookmark\\\" style=\\\"font-weight:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;transition:all 0.2s linear;color:#0066cc;-webkit-transition:all 0.2s linear;text-decoration:none;\\\">我加入了WeMaker創客群體, 讓自由的資訊傳到簡體中文的網域</a>）大陸的網絡就開始轉載WeMaker上我的文章，哭笑不得的是那些多次轉載站都不會寫這是從Upsangel.com轉載過來的，怪不得做設計搞創意的人都說大陸是個沒有知識版權的國度。Upsangel本來也想嘗嘗Copy and Paste從WeMaker.cc轉一些有用的文章回來，但是最后發現還是需要自己做二次加工才合口味。有多少投入就有多少回報，做單純的Copycat真的沒意思！</p><div style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;clear:both;\\\"><div style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><h3 style=\\\"font-weight:700;margin:0px 0px 1em;border:0px;font-family:Oswald;font-size:9pt;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;vertical-align:baseline;color:rgb(224, 63, 0);text-transform:uppercase;display:inline-block;\\\">您的分享係對我最大的支持</h3><div style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><ul style=\\\"font-variant:inherit;list-style-type:square;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;vertical-align:baseline;font-weight:inherit;font-stretch:inherit;padding:0px;list-style:none;margin:0px 0px 0.7em;\\\"><li style=\\\"font-weight:inherit;height:25px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;float:left;vertical-align:baseline;display:block;margin:0px 10px 5px 0px;\\\"></li><li style=\\\"font-weight:inherit;height:25px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;float:left;vertical-align:baseline;display:block;margin:0px 10px 5px 0px;\\\"><div style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><div style=\\\"margin:0px;border:0px;font-family:inherit;font-size:1px;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;padding:0px;vertical-align:baseline;text-indent:0px;border-style:none;float:none;display:inline-block;width:76px;height:20px;background:transparent;\\\"><div style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;max-width:100%;position:relative;top:0px;width:100%px;border-style:none;left:0px;visibility:visible;height:20px;\\\"><div style=\\\"font-size: 16px\\\"><div dir=\\\"ltr\\\" lang=\\\"zh\\\"><div style=\\\"-webkit-font-smoothing:antialiased;margin:0px;padding:0px;background-color:transparent;\\\"><div dir=\\\"ltr\\\"><table cellpadding=\\\"0\\\" cellspacing=\\\"0\\\" style=\\\"font-size:inherit;font-weight:inherit;font-style:inherit;font-variant:inherit;width:77px;\\\"><tbody><tr><td style=\\\"width:54.91803278688525%;\\\" valign=\\\"top\\\"><div style=\\\"cursor:pointer;border:1px solid rgba(0, 0, 0, 0.168627);-webkit-box-shadow:rgba(0, 0, 0, 0.0470588) 0px 1px 0px;box-shadow:rgba(0, 0, 0, 0.0470588) 0px 1px 0px;box-sizing:border-box;transition:background-color 0.218s, border-color 0.218s, box-shadow 0.218s;-webkit-transition:background-color 0.218s, border-color 0.218s, box-shadow 0.218s;-webkit-appearance:none;color:rgb(38, 38, 38);border-radius:2px;outline:none;overflow:hidden;position:relative;text-align:center;vertical-align:middle;white-space:nowrap;width:auto;background-image:none;background-color:rgb(255, 255, 255);height:20px;\\\"><div style=\\\"height:100%;width:100%;\\\"><span style=\\\"font-family:Roboto, arial, sans-serif;font-size:10px;font-weight:700;margin-left:6px;margin-right:6px;vertical-align:top;\\\">分享</span></div></div></td><td style=\\\"width:45.45454545454545%;\\\"><div style=\\\"float:left;position:relative;border:1px solid rgb(204, 204, 204);border-radius:2px;background:rgb(255, 255, 255);margin-left:5px;\\\"><div style=\\\"float:left;position:relative;max-width:53px;min-width:10px;\\\"><div style=\\\"color:rgb(102, 102, 102);font-family:Roboto, arial, sans-serif;overflow:hidden;white-space:nowrap;font-size:11px;margin:1px 6px;height:16px;\\\">1</div></div></div></td></tr></tbody></table></div></div></div></div></div></div></div></li><li style=\\\"font-weight:inherit;height:25px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;float:left;vertical-align:baseline;display:block;margin:0px 10px 5px 0px;\\\"><div style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><div style=\\\"font-style:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;\\\"><div style=\\\"margin:0px;padding:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;max-width:100%;width:135px;height:22px;position:relative;\\\"><div style=\\\"font-size: 16px\\\"><div style=\\\"overflow:visible;text-align:center;font-family:HelveticaNeue, Arial, sans-serif;background:transparent;\\\"><div style=\\\"margin:0px;padding:0px;overflow:visible;text-align:center;font-family:HelveticaNeue, Arial, sans-serif;background:transparent;\\\"><div style=\\\"position:absolute;top:0px;left:0px;text-align:center;white-space:nowrap;width:115px;\\\"><a style=\\\"display:block;cursor:pointer;padding-left:66px;\\\"><span style=\\\"float:left;position:relative;border:1px solid rgb(187, 187, 187);display:block;color:rgb(119, 119, 119);background:rgb(255, 255, 255);font-weight:normal;height:18px;padding:0px 6px;font-size:11px;border-radius:3px;\\\"><em style=\\\"font-style:normal;-webkit-transition:opacity 0.3s;transition:opacity 0.3s;\\\">23</em></span> </a></div></div></div></div></div></div></div></li><li style=\\\"font-weight:inherit;height:25px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;float:left;vertical-align:baseline;display:block;margin:0px 10px 5px 0px;\\\"><a href=\\\"http://upsangel.com/openwrt/openwrt-beginner-guide/?share=email&amp;nb=1\\\" rel=\\\"nofollow\\\" style=\\\"text-decoration:none;top:0px;position:relative;-webkit-transition:all 0.2s linear;transition:all 0.2s linear;font-style:inherit;font-variant:inherit;font-stretch:inherit;display:inline-block;font-weight:400;vertical-align:top;padding:1px 8px 0px 5px;border:1px solid rgb(204, 204, 204);font-size:12px;font-family:'Open Sans', sans-serif;border-radius:3px;box-shadow:none;text-shadow:none;background:rgb(248, 248, 248);margin:0px 5px 5px 0px;color:rgb(119, 119, 119);\\\" target=\\\"_blank\\\" title=\\\"Click to email this to a friend\\\"><span style=\\\"font-family:'Open Sans', sans-serif;font-size:12px;font-style:inherit;font-variant:inherit;font-weight:400;color:rgb(119, 119, 119);margin-bottom:-1px;top:3px;display:inline-block;-webkit-font-smoothing:antialiased;font-stretch:normal;vertical-align:top;position:relative;text-align:center;\\\"></span><span style=\\\"font-variant:inherit;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;padding:0px;font-weight:inherit;font-stretch:inherit;vertical-align:baseline;margin-left:3px;\\\">Email</span></a></li><li style=\\\"font-weight:inherit;height:25px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;padding:0px;font-stretch:inherit;float:left;vertical-align:baseline;display:block;margin:0px 10px 5px 0px;\\\"><div style=\\\"font-style:inherit;vertical-align:baseline;border:0px;font-family:inherit;font-size:inherit;padding:0px;font-variant:inherit;font-weight:inherit;font-stretch:inherit;margin:0px;\\\"><a style=\\\"text-decoration:none;margin:0px;border:0px;font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;-webkit-transition:all 0.2s linear;transition:all 0.2s linear;width:40px;color:rgb(224, 63, 0);background-position:0px -20px;cursor:pointer;height:20px;padding:0px;background-size:40px 60px;vertical-align:baseline;position:relative;display:inline-block;background-image:url(https://s-passets.pinimg.com/images/pidgets/pinit_bg_en_rect_gray_20_1.png);\\\"></a></div></li><li><span style=\\\"font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;list-style:none;list-style-type:square;display:block;height:0px;clear:both;visibility:hidden;\\\">.</span></li></ul></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br/></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":53493}]"
metadata_diff: {"new":{"id":"e522a839b7154adfb14ae16b84b1bb22","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348835034,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:07.828Z
created_time: 2025-11-28T21:04:07.828Z
type_: 13