Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| zh:docs:guide-quick-start:start [2017/08/21 13:04] – replaced link to new firmware flash page alx | zh:docs:guide-quick-start:start [2019/08/01 05:46] – [快速入门] lujimmy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 快速开始指南 - 安装LEDE | + | ====== 快速入门 |
| + | 看来您真的想在设备上安装OpenWrt/ | ||
| - | LEDE基于OpenWrt | + | 在您刷入OpenWrt/LEDE固件前,建议进行以下准备工作: |
| - | 如果您遇到问题, | + | * 不要急于刷入,耐心准备。安装期间如有异常,请在弄清楚后继续。 |
| + | * 知道准确的设备型号,以便选择合适的OpenWrt/ | ||
| + | * 请查阅设备手册以便知道如何刷入新固件。 | ||
| + | * 当您在路由上安装或配置OpenWrt/ | ||
| - | <WRAP info> | + | 如果仍有疑问,您可以: |
| - | // | + | * 浏览本网站,特别是 [[zh: |
| + | * 在 [[https:// | ||
| + | * 您也可以访问 [[https://wiki.openwrt.org|旧的OpenWrt维基]] 来查找遗存的信息。 | ||
| + | * **已迫不及待?那就从 [[zh: | ||
| + | ====快速入门文章列表==== | ||
| - | // | + | {{pagequery>@: |
| - | </WRAP> | + | |
| - | ===== 首先 ===== | ||
| - | - **刷入LEDE固件** 参照 [[docs: | ||
| - | - **通过以太网DHCP方式连接到刚刷完的设备** 请使用有线网络连接,这点非常重要,即便您是通过Wi-Fi刷机的。 | ||
| - | * // | ||
| - | * // | ||
| - | - **SSH到新的LEDE设备** 在终端程序上,键入 '' | ||
| - | - **设置密码** LEDE出厂默认未设置密码。 键入 '' | ||
| - | - **将设备的广域网端口(WAN)连接至“互联网” ** LEDE的广域网端口(WAN)默认配置为DHCP方式,因此您通常可以将新设备(LEDE)的WAN端口连接到现有路由器的LAN端口。您应该就连上了互联网。 | ||
| - | - **确认互联网连通性** 可以利用Google DNS服务器测试 键入 '' | ||
| - | - **更新软件包,然后安装LuCI web配置界面** 我们建议使用基于SSL的软件包,当然您也可以根据需要使用非SSL的版本 (将字段改成 ' | ||
| - | * 键入 '' | ||
| - | * 键入 '' | ||
| - | - **此后,web配置界面就可以使用了。** 访问 https:// | ||
| - | |||
| - | ===== 接下来 ===== | ||
| - | |||
| - | * 参阅副本(位于下方)以查看上述配置命令中的所有消息。 | ||
| - | * 启用Wi-Fi(LEDE出厂默认Wi-Fi关闭)。详见web配置界面的 *Network -> Wireless* | ||
| - | * 使用'' | ||
| - | * 安装中文语言包的方法:在SSH终端上键入'' | ||
| - | * 如果您拥有一些无品牌 / 低端的 / 低成本的路由器,且出厂安装了 OpenWrt / LEDE,您可以通过在终端SSH连接,键入 ''/ | ||
| - | * 如果您经常使用LEDE刷机,可以创建一个脚本,以可靠和可重复的方式更改配置。例如:[[https:// | ||
| - | ===== LEDE安装示例副本 ===== | ||
| - | |||
| - | 以下步骤是从步骤#3开始的SSH会话的记录。 | ||
| - | |||
| - | **bash-3.2$ ssh root@192.168.1.1** | ||
| - | < | ||
| - | The authenticity of host ' | ||
| - | RSA key fingerprint is 33: | ||
| - | Are you sure you want to continue connecting (yes/no)? yes | ||
| - | Warning: Permanently added ' | ||
| - | |||
| - | BusyBox v1.24.2 () built-in shell (ash) | ||
| - | | ||
| - | / /\ _ ___ ___ ___ | ||
| - | / | ||
| - | / DE / \ | |__| _|| |) | _| | ||
| - | / | ||
| - | | ||
| - | \ LE \ / ----------------------------------------------------------- | ||
| - | | ||
| - | \________\/ | ||
| - | </ | ||
| - | **root@lede: | ||
| - | < | ||
| - | Changing password for root | ||
| - | New password: | ||
| - | Retype password: | ||
| - | Password for root changed by root | ||
| - | </ | ||
| - | |||
| - | **root@lede: | ||
| - | < | ||
| - | PING 8.8.8.8 (8.8.8.8): 56 data bytes | ||
| - | 64 bytes from 8.8.8.8: seq=0 ttl=53 time=20.888 ms | ||
| - | 64 bytes from 8.8.8.8: seq=1 ttl=53 time=21.107 ms | ||
| - | ^C | ||
| - | --- 8.8.8.8 ping statistics --- | ||
| - | 2 packets transmitted, | ||
| - | round-trip min/avg/max = 20.888/ | ||
| - | </ | ||
| - | |||
| - | **root@lede: | ||
| - | < | ||
| - | Downloading http:// | ||
| - | Updated list of available packages in / | ||
| - | Downloading http:// | ||
| - | Signature check passed. | ||
| - | Downloading http:// | ||
| - | Updated list of available packages in / | ||
| - | Downloading http:// | ||
| - | Signature check passed. | ||
| - | Downloading http:// | ||
| - | Updated list of available packages in / | ||
| - | Downloading http:// | ||
| - | Signature check passed. | ||
| - | Downloading http:// | ||
| - | Updated list of available packages in / | ||
| - | Downloading http:// | ||
| - | Signature check passed. | ||
| - | Downloading http:// | ||
| - | Updated list of available packages in / | ||
| - | Downloading http:// | ||
| - | Signature check passed. | ||
| - | Downloading http:// | ||
| - | Updated list of available packages in / | ||
| - | Downloading http:// | ||
| - | Signature check passed. | ||
| - | Downloading http:// | ||
| - | Updated list of available packages in / | ||
| - | Downloading http:// | ||
| - | Signature check passed. | ||
| - | </ | ||
| - | **root@lede: | ||
| - | < | ||
| - | Installing luci-ssl (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing uhttpd (2016-06-16-9d9f07142bbef1c63a79620967a847a9493105e5) to root... | ||
| - | Downloading http:// | ||
| - | Installing uhttpd-mod-ubus (2016-06-16-9d9f07142bbef1c63a79620967a847a9493105e5) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-mod-admin-full (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-base (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing lua (5.1.5-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing liblua (5.1.5-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing libuci-lua (2016-07-04.1-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-lib-nixio (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-lib-ip (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing rpcd (2016-06-30-23417e94d25570e6d62542bac46edd51e8e0243a) to root... | ||
| - | Downloading http:// | ||
| - | Installing libubus-lua (2016-07-02-053be7df871e05478284235732f8b0608089512f) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-lib-jsonc (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-theme-bootstrap (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-app-firewall (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-proto-ppp (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing libiwinfo-lua (2016-07-04-96d322d5941c57be58f8e8d5c6e2b28e90ed3598) to root... | ||
| - | Downloading http:// | ||
| - | Installing luci-proto-ipv6 (git-16.190.47901-6be6904-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing libustream-polarssl (2016-07-02-ec80adaa1b47f28d426fa19c692011ce60b992d6) to root... | ||
| - | Downloading http:// | ||
| - | Installing libpolarssl (1.3.17-1) to root... | ||
| - | Downloading http:// | ||
| - | Installing px5g-polarssl (4) to root... | ||
| - | Downloading http:// | ||
| - | Configuring liblua. | ||
| - | Configuring libuci-lua. | ||
| - | Configuring rpcd. | ||
| - | Configuring luci-lib-ip. | ||
| - | Configuring libubus-lua. | ||
| - | Configuring libiwinfo-lua. | ||
| - | Configuring luci-theme-bootstrap. | ||
| - | Configuring luci-app-firewall. | ||
| - | Configuring libpolarssl. | ||
| - | Configuring px5g-polarssl. | ||
| - | Configuring lua. | ||
| - | Configuring uhttpd. | ||
| - | Generating RSA private key, 2048 bit long modulus | ||
| - | Generating selfsigned certificate with subject ' | ||
| - | Configuring uhttpd-mod-ubus. | ||
| - | Configuring luci-lib-nixio. | ||
| - | Configuring luci-lib-jsonc. | ||
| - | Configuring luci-base. | ||
| - | Configuring luci-mod-admin-full. | ||
| - | Configuring luci-proto-ppp. | ||
| - | Configuring luci-proto-ipv6. | ||
| - | Configuring luci. | ||
| - | Configuring libustream-polarssl. | ||
| - | Configuring luci-ssl. | ||
| - | </ | ||
| - | **成功!** 现在可以通过 https:// | ||