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 | ||
| docs:guide-quick-start:start [2017/01/01 18:53] – bobafetthotmail | docs:guide-quick-start:start [2021/08/02 19:04] – [Quick start guide for OpenWrt installation] vgaetera | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Quick Start Guide - Installing LEDE ====== | + | ====== Quick start guide for OpenWrt installation |
| + | So you want to install OpenWrt on one of your devices. | ||
| - | LEDE is based on OpenWrt | + | The following preparation |
| - | If you have questions, you can search this wiki, or look at the pages of the OpenWrt wiki. | + | * Don't rush the installation, |
| + | * Have your device' | ||
| + | * Have your device' | ||
| + | * When installing and configuring OpenWrt on your Internet router, your Internet-access will obviously be offline for a few minutes. Please ensure that you have all required information offline | ||
| - | <WRAP info> | + | If you have any questions: |
| - | //LEDE is evolving rapidly. As of late 2016, it is probably not stable enough for your family | + | * Browse this site, especially the [[docs: |
| + | * Feel free to ask in the [[: | ||
| + | * You can also consult the [[: | ||
| + | * Follow | ||
| - | //However, if you are willing to live with occasional bugs and instability, | + | ==== Quick start guide article list ==== |
| - | </WRAP> | + | {{pagequery>* ns: |
| - | ===== First steps ===== | ||
| - | - **Flash the LEDE firmware image.** Use the [[docs: | ||
| - | - **Connect to the newly-flashed device via Ethernet using DHCP** It is important to use an Ethernet connection, even if you flashed using Wi-Fi. | ||
| - | * //On routers:// Connect your computer to a Local Area Network (LAN) port of the router using DHCP. | ||
| - | * //On access points:// Connect your computer to a Local Area Network (LAN) port of the router using DHCP. | ||
| - | * //On other devices:// The newly-flashed device will acquire an address using DHCP. Check your existing router’s web-interface to learn which address it got. | ||
| - | - **SSH to the new LEDE device.** In your terminal program, enter '' | ||
| - | - **Set the password.** LEDE ships without a password. Enter '' | ||
| - | - **Connect to an existing network (with Internet access)** | ||
| - | - **Like an Access Point** If you want to connect your device to an existing network without using routing functions (for example, you just want to use its wifi but the main router of your network is another device), you must configure it for your network, then you will use one of its LAN ports to connect it to your network. | ||
| - | - type '' | ||
| - | - type '' | ||
| - | - type '' | ||
| - | - type '' | ||
| - | - now you can connect the network cable from the device' | ||
| - | - connect again to the device at its new address as defined above | ||
| - | - **Like a Router** If your device has a port labeled WAN and you want it to operate as a router (a bridge between two different networks): LEDE's WAN port defaults to DHCP client, so if you connect it to another device with a DHCP server (gives addresses) it will work (with some caveats, see next line). | ||
| - | - :!: the default IP of the LAN ports of your device is 192.168.1.1, | ||
| - | - if that is your case, type '' | ||
| - | - then connect again to your device at its new IP address and continue | ||
| - | - **Confirm internet connectivity** with Google' | ||
| - | - **Update the packages, then install the LuCI web configuration package.** We recommend the SSL-based package, but you could use the non-SSL version (named ' | ||
| - | * Enter '' | ||
| - | * Enter '' | ||
| - | - **At this point, the Web GUI is available.** Go to https:// | ||
| - | |||
| - | ===== Next Steps ===== | ||
| - | |||
| - | * Review the transcript (below) to see all the messages from the configuration commands above. | ||
| - | * Enable Wi-Fi in the device (LEDE ships with Wi-Fi turned off). See *Network -> Wireless* in the Web GUI. | ||
| - | * Install other packages with '' | ||
| - | * If you have an unbranded / low-end / low-cost router that came shipped with OpenWrt / LEDE, you can find out the architecture it is using by connecting to it over ssh and opening ''/ | ||
| - | * If you will be flashing LEDE frequently, you can create a script that makes configuration changes in a reliable and repeatable fashion. See, for example, the [[https:// | ||
| - | ===== Transcript from LEDE Installation ===== | ||
| - | |||
| - | The steps below are a transcript of the SSH session starting with step #3. | ||
| - | |||
| - | **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. | ||
| - | </ | ||
| - | **Success!** Now the Web GUI is available at https:// | ||