├── LICENSE └── N1-box-bypass-router-tutorial.md /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /N1-box-bypass-router-tutorial.md: -------------------------------------------------------------------------------- 1 | [1]: 2 | [2]: 3 | [3]: 4 | [4]: 5 | [5]: 6 | [6]: 7 | [7]: 8 | [8]: 9 | [9]: 10 | [10]: 11 | 12 | `本文最后更新于2020年4月, 请注意时效性` 13 | 14 | # N1盒子旁路由教程面向小白啰嗦版 15 | 16 | ## 索引 17 | >[参考](#参考) 18 | [主要目的](#主要目的) 19 | [一些需要用到的东西](#一些需要用到的东西) 20 | [对N1盒子进行降级以及激活U盘启动](#对N1盒子进行降级以及激活U盘启动) 21 | [将N1固件烧录至U盘并使用U盘启动openwrt](#将N1固件烧录至U盘并使用U盘启动openwrt) 22 | [将固件刷入N1盒子的emmc](#将固件刷入N1盒子的emmc) 23 | [更改N1盒子的内网IP](#更改N1盒子的内网IP) 24 | [增加WAN接口以及更改LAN接口配置](#增加WAN接口以及更改LAN接口配置) 25 | [非全局设置-手动配置过的设备能代理](#非全局设置-手动配置过的设备能代理) 26 | [全局设置-所有设备连上就能代理](#全局设置-所有设备连上就能代理) 27 | [固件的升级](#固件的升级) 28 | [N1的WiFi?](#N1的WiFi?) 29 | [总结](#总结) 30 | [已知问题](#已知问题) 31 | [转载说明](#转载说明) 32 | 33 | ## 参考 34 | >[王晓峰录制的单臂路由教程视频][1] 35 | >[王晓峰部落阁上的单臂路由文字教程][2] 36 | >[恩山论坛巨佬Flippy][3] 37 | >[恩山无线论坛][4] 38 | >[instar.me][8] 39 | 40 | ## 主要目的 41 | 在拥有一个**主路由**的情况下将**N1盒子**作为**旁路由**, 再在手机电脑上设置网关让流量经过N1盒子转发,达到透明代理的效果. 42 | 经过测试, N1盒子可以运行v2ray转发500M宽带的流量, 更大的带宽尚未测试. *也可能是我不知道* 43 | 方案一不需要对主路由器做任何改动, 不会影响到共用路由器的他人上网体验, 适合多人共用路由器时个人有代理转发需求. 44 | 方案二需要更改一下主路由的配置, 更改之后所有设备无需任何配置就能由N1盒子代理上网. 45 | 46 | ## 一些需要用到的东西 47 | 1. 一台Windows电脑 *Mac用户可以使用虚拟机* 48 | 2. 一个大于或等于2G的U盘 *如果USB3.0的U盘不好使的话可以试试USB2.0的U盘* 49 | 3. 一个N1盒子 *在拼多多可以买到二手货* 50 | 4. 一个正常运行的主路由器 *对配置没有要求,能满足当前带宽即可* 51 | 5. 一根网线 *用于连接主路由和N1盒子* 52 | 6. ~~双公头数据线~~ *Flippy最新的固件可以通过ssh连接后使用指令刷入emmc* 53 | 7. 显示器 *电视也可以* 54 | 8. HDMI视频数据线 55 | 9. 键盘和鼠标 *没有键盘也行* 56 | 10. [Flippy制作的N1盒子openwrt固件][6] 57 | 11. [N1盒子降级工具以及激活U盘启动工具][7] 58 | 12. U盘烧录工具 *推荐使用[balenaEtcher][5]* 59 | 13. [Flippy的固件的网盘][9] `lidf` 60 | 61 | ## 对N1盒子进行降级以及激活U盘启动 62 | 大部分拿到手的N1盒子除非商家特别说明一般都只装了原版系统, 但是要激活从U盘启动的话就必须要把N1盒子降级到对应的版本. 63 | 下面是使用降级工具降级的操作步骤: *本步骤图片截图自王晓峰的YouTube视频* 64 | 1. 用HDMI视频数据线将N1盒子和显示器连接起来, 并使用鼠标和键盘将N1盒子连接到主路由的`WiFi`, 同时记下上面显示的IP地址. 65 | ![N1盒子默认显示界面](https://pic.downk.cc/item/5e8d4637504f4bcb04dc0baf.png) 66 | 2. 点击四下固件版本, 屏幕上提示打开adb 67 | ![打开ADB](https://pic.downk.cc/item/5e8d46d1504f4bcb04dc8c59.png) 68 | 3. 打开电脑,运行降级工具包里的`run.bat`, 输入数字2Enter, 随后输入刚刚记下的IP地址, 最后按任意键开始降级. *注意此时电脑要保持联网状态,因为降级工具需要联网获取文件* 69 | ![](https://pic.downk.cc/item/5e8f3fc7504f4bcb049c178b.png) 70 | 4. 降级成功后运行激活U盘启动工具包里的`N1盒子激活U盘启动.bat`,并输入刚刚记下的IP地址即可激活U盘启动. *这里的IP有可能在降级之后发生变化,可以连接显示器再次确认* 71 | ![](https://pic.downk.cc/item/5e8f403a504f4bcb049c9724.png) 72 | 73 | ## 将N1固件烧录至U盘并使用U盘启动openwrt 74 | 这里推荐使用[balenaEtcher][5]来进行烧录: 将U盘插入电脑, 选择下载好的固件和U盘, 最后`Flash!`就完事了. 75 | ![](https://pic.downk.cc/item/5e8d4c4e504f4bcb04e0d59b.png) 76 | 烧录完成之后将U盘插入N1盒子, 接上电源即可在U盘启动openwrt系统. 77 | 78 | 79 | ## 将固件刷入N1盒子的emmc 80 | 我们想要N1盒子长久运行的话总不能一直插着个U盘吧, 既不安全也不稳定, 没准哪天U盘就崩掉了, 所以我们需要把固件刷到N1自带的8G存储里面, 感谢Flippy大神的固件让我们可以一键刷入而不像以前一样需要用到双公头数据线来刷机. 81 | 方法如下: 82 | >N1盒子插上U盘, 接上显示器, 插上键盘后插电开机, 看见以下画面之后分行输入 83 | >``` 84 | >cd /root 85 | >./inst-to-emmc.sh 86 | >``` 87 | >![](https://pic.downk.cc/item/5e8d55ad504f4bcb04e78743.png) 88 | 等待刷机完成后就不需要再插U盘了, 否则你做的配置都记录在U盘上面而不是N1盒子的系统里面. 89 | 90 | ## 更改N1盒子的内网IP 91 | 这里需要注意两个事情: 92 | - 如果你的光猫或者主路由的IP是`192.168.1.1`, 那么需要更改N1盒子的IP或者更改光猫或主路由的IP以避免冲突. 93 | - 如果你的主路由器的IP**不是**`192.168.1.x`, 那么你需要更改N1盒子的IP至主路由器的同一个网段. 例如你的主路由器的IP为`192.168.0.1`, 那么N1盒子的IP就应该是`192.168.0.x`并且`x!=1`. 94 | >如何确认我的光猫或者主路由的IP? 95 | >只需要在电脑浏览器的地址栏输入`192.168.1.1`, 如果出现了登陆界面,那么说明你需要更改IP. 96 | 97 | 有两种更改N1盒子IP的方法: *务必都看一看* 98 | - **直接连接键盘修改openwrt的网络配置文件** *该方法需要自备键盘* *为了便于显示清晰我截的是`PowerShell`的图* 99 | >键盘连接N1, N1接上显示器, 插上已经刷入固件的U盘, 接上电源启动N1, 显示内容如图 *正常情况下会出现图中的LOGO* 100 | ![](https://pic.downk.cc/item/5e8d55ad504f4bcb04e78743.png) 101 | 键盘输入`vi /etc/config/network`后Enter, 如下图 102 | ![](https://pic.downk.cc/item/5e8d5849504f4bcb04e9af22.png) 103 | 将光标移动到`option ipaddr '192.168.1.1'`, 按i进入编辑模式, 将`192.168.1.1`更改为`192.168.x1.x2`, `x1`取决于你的主路由的IP, 假设主路由IP为`192.168.1.x`, 那么`x1=1`, `x2`可以选择`254`这个数字来避免大部分的冲突. *前提是你没有把其他设备IP设置为`192.168.x1.254`* 104 | 简单点说就是N1的IP必须要和主路由同一个网段并且与其他设备的IP不同. 105 | ![](https://pic.downk.cc/item/5e8d5b40504f4bcb04ec927d.png) 106 | *图中显示为`192.168.0.254`是我修改后的结果,正常情况下会显示为`192.168.1.1`* 107 | 修改好之后按Esc退出编辑模式, 最后输入`:wq`来保存并退出 108 | 这样就修改好了N1盒子的IP地址 109 | 110 | - **将电脑通过网线或者WiFi直连N1盒子进行更改** 111 | >N1盒子从U盘启动之后一般会自动开启一个名为`OpenWrt`的开放式WiFi, 电脑断开其他网络连接之后连接到这个WiFi, 没有WiFi的电脑可以用网线直连N1盒子和电脑. 112 | 连接上之后按下Win+x, 选择`Windows PowerShell`, 输入`ssh root@192.168.1.1`后Enter, 如图 113 | ![](https://pic.downk.cc/item/5e8d5db2504f4bcb04ee79e5.png) 114 | 接下来的步骤与上一个方法相同, 不再赘述. 115 | 116 | >如果电脑没有自带ssh的话可以用浏览器访问`192.168.1.1`, 出现如下登陆界面, 输入默认密码`password` 117 | ![](https://pic.downk.cc/item/5e8d611a504f4bcb04f15d93.png) 118 | 登录后在左侧菜单栏里面找到`网络-接口`, 对LAN进行编辑 119 | ![](https://pic.downk.cc/item/5e8d6153504f4bcb04f19f11.png) 120 | 将红框内的IP改为`192.168.0.254` *根据你的实际情况更改* 121 | ![](https://pic.downk.cc/item/5e8d8e87504f4bcb041c2f5e.png) 122 | 123 | 124 | ## 增加WAN接口以及更改LAN接口配置 125 | 更改N1盒子的内网IP成功之后, 将N1盒子用网线连接到主路由, 浏览器访问`192.168.0.254`, 输入默认密码`password`后即可登录, 接下来就是增加WAN接口和修改LAN接口. 126 | 增加WAN接口的目的是为了让N1盒子从主路由获取一个IP地址, 并且能通过主路由上网, 而修改LAN接口的目的是为了让LAN接口和WAN接口共用同一根网线`eth0`, 从而达到旁路由的效果. 127 | 1. 增加WAN接口 128 | >首先来到`网络-接口`,点击`添加新接口` 129 | >![](https://pic.downk.cc/item/5e8d70fc504f4bcb04009fda.png) 130 | >如图进行设置 131 | >![](https://pic.downk.cc/item/5e8d70fc504f4bcb04009fe1.png) 132 | >最后点击`提交` 133 | 2. 修改LAN接口 134 | >如图进行设置即可 135 | >![](https://pic.downk.cc/item/5e8d730f504f4bcb0402af08.png) 136 | >![](https://pic.downk.cc/item/5e8d730f504f4bcb0402af13.png) 137 | >![](https://pic.downk.cc/item/5e8d730f504f4bcb0402af18.png) 138 | >最后记得点击`保存并应用` 139 | 140 | ## 非全局设置-手动配置过的设备能代理 141 | 非全局方案好处是可以想让哪台设备上网就让哪台设备上网, 并且不会打扰到别人的网络体验. 142 | 缺点是某些无法自定义网关的设备例如Xbox无法通过N1代理. 143 | - 电脑 144 | >首先连接到主路由的网络, 打开`Control Panel\Network and Internet\Network Connections`, 如图进行操作 145 | >![](https://pic.downk.cc/item/5e8d7a6f504f4bcb04096bb1.png) 146 | >![](https://pic.downk.cc/item/5e8d7a95504f4bcb04098eae.png) 147 | 记住下面这张图里的`IPv4 Address` 148 | >![](https://pic.downk.cc/item/5e8d7ae1504f4bcb0409da2a.png) 149 | >![](https://pic.downk.cc/item/5e8d8e0e504f4bcb041ba521.png) 150 | 这里`IP Address`里面填刚刚记下的`IPv4 Address` 151 | >![](https://pic.downk.cc/item/5e8d7a95504f4bcb04098eb5.png) 152 | 最后`OK`即可生效 153 | - 手机 *这里我以我自己的vivo手机为例, 其他手机包括iPhone设置大同小异* 154 | >点击进入WiFi详情页进行设置 155 | >![](https://pic.downk.cc/item/5e8d7caa504f4bcb040b6a3a.jpg) 156 | 和电脑上类似,先记下原来的`IP地址`, 然后开启`静态IP`, 将`网关`改为`192.168.0.254` 157 | >![](https://pic.downk.cc/item/5e8d7d1a504f4bcb040bcab4.jpg) 158 | 159 | ## 全局设置-所有设备连上就能代理 160 | 此方案优点是可以让一些不能配置网关的设备通过N1代理, 例如Xbox和我的Sony手机不能手动改网关, 就只能用这种方法. 161 | 缺点是需要更改主路由设定, 如果多人共用主路由不建议这样设置除非所有人都有代理需求. 162 | 方法如下: 163 | 1. **主路由的配置** 164 | >打开主路由的设置界面, 进入`DHCP`设置, 将`网关`设置为N1的IP也就是`192.168.0.254`, 保存后再去电脑上查询IP设定时会发现网关已经是N1的IP了. *若未发生变化建议断开网络后重新连接以刷新网关设定* 165 | >![](https://pic.downk.cc/item/5e8f1102504f4bcb046b50da.png) 166 | >![](https://pic.downk.cc/item/5e8f0efa504f4bcb0468f702.png) 167 | >**这个地方提醒一下各位小白不要设置成WAN接口的网关了,否则可能上不了网了, 比如我这个路由器就会给我提示设置错误.** 168 | >![](https://pic.downk.cc/item/5e8f0ffd504f4bcb046a21ee.png) 169 | >![](https://pic.downk.cc/item/5e8f103d504f4bcb046a6e11.png) 170 | >其他品牌的路由器设置应该大同小异. 171 | 2. **N1盒子的配置** 172 | >进入N1盒子的配置页面, 找到`网络-接口-LAN-编辑`, 将`网关`和`DNS`改为主路由IP地址`192.168.0.1`, 将`DHCP服务`禁用. 173 | >![](https://pic.downk.cc/item/5e8f3ed6504f4bcb049b0ac3.png) 174 | >![](https://pic.downk.cc/item/5e8f34ec504f4bcb0490308e.png) 175 | >最后记得`保存并应用` 176 | 177 | ## 固件的升级 178 | 再次感谢Flippy大神, 他在不断地为我们提供更新的openwrt固件, 例如最新的固件里面集成了trojan订阅之类的实用功能. 179 | - [固件更新地址][9] 180 | - 固件更新方法 181 | >按照之前的步骤将新固件刷入U盘, 随后启动N1盒子, 通过ssh连接到N1盒子, 如果提示验证错误就把错误提示里的ssh文件删除后重试. 182 | 183 | >ssh连接上之后分行输入如下指令即可不改变原来的配置升级固件 184 | >``` 185 | >cd /root 186 | >./update-to -emmc.sh 187 | >``` 188 | 189 | ## N1的WiFi? 190 | 可能有的小伙伴会问, 前面的教程里面不是还有一个N1自带的WiFi么? 那么这个WiFi能不能拿出来使用呢? 191 | 答案是可以但没必要, 基本上主路由都是带WiFi的, 而且再烂的带天线的路由器也比没有天线的N1盒子信号要好, 当然这个WiFi可以作为后备连接手段以备不时之需, 不过请记得给它加一个密码, 不然流量要被邻居蹭光了哟! 192 | 193 | ## 总结 194 | 本文从拿到N1开始进行降级, 激活U盘启动, 刷入emmc, 到更改N1盒子网络设置, 成功地实现了把设备流量转发给N1盒子处理, 再配合固件里面自带的插件即可实现透明代理上网, 如果出现了意料之外的问题, 欢迎提出issue讨论. 195 | >我为什么要写这篇教程? 196 | >一是呆在家里闲得无聊就把N1盒子重新掏出来折腾, 顺便训练一下我新学习的markdown语法. 197 | >二是网上的教程要不然就是过于简单导致像我这样的小白疯狂踩坑, 要不然就是很久之前写的没有及时更新, 希望我这篇啰里啰唆的纯小白教程文能帮助到大家. 198 | 199 | ## 已知问题 200 | >我的N1盒子在设置为全局代理之后时不时地会断网, 过一会又自动恢复正常, 上网查询发现也有其他人有相同的问题, 例如[恩山无线论坛][10]就有帖子讨论断网问题, 不过并没有大规模地讨论, 本人怀疑跟N1盒子的体质有关, 很多N1盒子之前是用来挖矿的, 长时间运行难免会对硬件有所损耗, 所以在大流量代理的时候力不从心. 如果各位希望自己的N1盒子能够长久稳定运行的话建议买新的. 201 | 202 | ## 转载说明 203 | 此文为Zisen原创, 虽有许多参考之处但都获得了原文作者的许可, 如需转载请注明出处和作者, 本文地址为https://github.com/zisen123/N1-box-bypass-router-tutorial/blob/master/N1-box-bypass-router-tutorial.md 204 | 205 | ## 广告 206 | 优质机场: https://pud.life/aff/mFTm --------------------------------------------------------------------------------