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-user:luci:luci.essentials [2020/10/09 22:28] – replace missing LuCI site w/current github wiki wrtf740n | docs:guide-user:luci:luci.essentials [2023/04/03 01:00] – [Offline installation] vgaetera | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== LuCI essentials ====== | ====== LuCI essentials ====== | ||
| - | {{section> | + | {{section> |
| ===== Introduction ===== | ===== Introduction ===== | ||
| While OpenWrt can be managed completely using SSH and the terminal, the LuCI WebUI makes many administration tasks easier. | While OpenWrt can be managed completely using SSH and the terminal, the LuCI WebUI makes many administration tasks easier. | ||
| - | The OpenWrt full releases, such as the current | + | The OpenWrt full releases, such as the current |
| But for lower-memory devices, such as those with 4MBytes Flash and/or 32MBytes of RAM, the full install may fail because of lacking sufficient Flash memory so you will have to [[docs: | But for lower-memory devices, such as those with 4MBytes Flash and/or 32MBytes of RAM, the full install may fail because of lacking sufficient Flash memory so you will have to [[docs: | ||
| More info on this can be obtained [[docs: | More info on this can be obtained [[docs: | ||
| Line 10: | Line 10: | ||
| ===== Instructions ===== | ===== Instructions ===== | ||
| ==== 1. Basic installation ==== | ==== 1. Basic installation ==== | ||
| - | Connect to your router via SSH and install | + | Install |
| <code bash> | <code bash> | ||
| Line 17: | Line 17: | ||
| </ | </ | ||
| - | Now you can open **[[http:// | + | Now you can open LuCI interface. |
| ==== 2. Providing encryption ==== | ==== 2. Providing encryption ==== | ||
| - | Connect to your router via SSH and install | + | Install |
| <code bash> | <code bash> | ||
| opkg update | opkg update | ||
| opkg install luci-ssl | opkg install luci-ssl | ||
| + | / | ||
| </ | </ | ||
| Line 83: | Line 84: | ||
| uhttpd supports this; see the corresponding section of the [[docs: | uhttpd supports this; see the corresponding section of the [[docs: | ||
| + | LuCI by default comes with the bootstrap theme. There are additional themes available and you can create your own if you wish - [[: | ||
| ==== Configuration ==== | ==== Configuration ==== | ||
| * '' | * '' | ||
| Line 104: | Line 106: | ||
| Currently LuCI on nginx is fully supported (maybe only in master snapshots for now, as of 16-Feb-2019). | Currently LuCI on nginx is fully supported (maybe only in master snapshots for now, as of 16-Feb-2019). | ||
| If any problem is found, report them to the [[https:// | If any problem is found, report them to the [[https:// | ||
| + | |||
| + | === LuCI on BusyBox httpd === | ||
| + | If you have a very limited space then you can compile OpenWRT image with [[docs: | ||
| + | If any problem is found, report them to the [[https:// | ||
| ==== Offline installation ==== | ==== Offline installation ==== | ||
| Line 110: | Line 116: | ||
| === Basic === | === Basic === | ||
| * [[packages: | * [[packages: | ||
| - | * [[packages: | + | * [[packages: |
| * [[packages: | * [[packages: | ||
| * [[packages: | * [[packages: | ||
| Line 161: | Line 167: | ||
| # Fetch OpenWrt release | # Fetch OpenWrt release | ||
| - | eval $(ssh openwrt cat / | + | eval $(ssh "${OWRT_HOST}" |
| - | if [ "${DISTRIB_RELEASE}" | + | |
| - | then OWRT_DIR=" | + | |
| - | else OWRT_DIR=" | + | |
| - | fi | + | |
| # LuCI packages and repos | # LuCI packages and repos | ||
| - | OWRT_URL=" | + | case " |
| + | (snapshot) | ||
| + | (*) OWRT_URL=" | ||
| + | esac | ||
| OWRT_CORE=" | OWRT_CORE=" | ||
| - | OWRT_COREURL=" | + | OWRT_COREURL=" |
| OWRT_BASE=" | OWRT_BASE=" | ||
| - | OWRT_BASEURL=" | + | OWRT_BASEURL=" |
| OWRT_LUCI=" | OWRT_LUCI=" | ||
| luci-theme-bootstrap luci-mod-admin-full luci-lib-jsonc luci-mod-status \ | luci-theme-bootstrap luci-mod-admin-full luci-lib-jsonc luci-mod-status \ | ||
| luci-mod-system luci-mod-network" | luci-mod-system luci-mod-network" | ||
| - | OWRT_LUCIURL=" | + | OWRT_LUCIURL=" |
| # Download packages from repos | # Download packages from repos | ||
| Line 208: | Line 213: | ||
| * [[docs: | * [[docs: | ||
| * [[docs: | * [[docs: | ||
| + | * [[docs: | ||