User Tools

Site Tools


docs:guide-user:luci:luci.essentials

LuCI installation

LuCI installation will fail if there is not enough space for installation.
This is regularly the case on devices with only 4MB flash.
You will have to build your own image with LuCI included.

Online installation

without SSL

  1. Open an SSH session to 192.168.1.1.
  2. Enter the following
    opkg update
    opkg install luci
  3. After the installation has completed, the LuCI web GUI will be available at http://192.168.1.1

with SSL

  1. Open an SSH session to 192.168.1.1.
  2. Enter the following
    opkg update
    opkg install luci-ssl
  3. After the installation has completed, the LuCI web GUI will be available at https://192.168.1.1

Offline installation

  1. Go to the package download page of the distribution in question: (for ar71xx “attitude adjustment” packages use: https://archive.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/)
  2. Download the following packages: (The extension “_0.11.1-1_ar71xx” will vary depending on the system packet page)
    • luci_0.11.1-1_ar71xx.ipk
    • luci-app-firewall_0.11.1-1_ar71xx.ipk
    • luci-i18n-english_0.11.1-1_ar71xx.ipk
    • luci-lib-core_0.11.1-1_ar71xx.ipk
    • luci-lib-ipkg_0.11.1-1_ar71xx.ipk
    • luci-lib-nixio_0.11.1-1_ar71xx.ipk
    • luci-lib-sys_0.11.1-1_ar71xx.ipk
    • luci-lib-web_0.11.1-1_ar71xx.ipk
    • luci-mod-admin-core_0.11.1-1_ar71xx.ipk
    • luci-mod-admin-full_0.11.1-1_ar71xx.ipk
    • luci-proto-core_0.11.1-1_ar71xx.ipk
    • luci-proto-ppp_0.11.1-1_ar71xx.ipk
    • luci-sgi-cgi_0.11.1-1_ar71xx.ipk
    • luci-theme-base_0.11.1-1_ar71xx.ipk
    • luci-theme-openwrt_0.11.1-1_ar71xx.ipk
  3. Connect the router to the computer and copy the packages to the router using file transfer. For example the following command can be used via the command prompt in windows 10:
    scp luci_0.11.1-1_ar71xx.ipk luci-app-firewall_0.11.1-1_ar71xx.ipk luci-i18n-english_0.11.1-1_ar71xx.ipk luci-lib-core_0.11.1-1_ar71xx.ipk luci-lib-ipkg_0.11.1-1_ar71xx.ipk luci-lib-nixio_0.11.1-1_ar71xx.ipk luci-lib-sys_0.11.1-1_ar71xx.ipk luci-lib-web_0.11.1-1_ar71xx.ipk luci-mod-admin-core_0.11.1-1_ar71xx.ipk luci-mod-admin-full_0.11.1-1_ar71xx.ipk luci-proto-core_0.11.1-1_ar71xx.ipk luci-proto-ppp_0.11.1-1_ar71xx.ipk luci-sgi-cgi_0.11.1-1_ar71xx.ipk luci-theme-base_0.11.1-1_ar71xx.ipk luci-theme-openwrt_0.11.1-1_ar71xx.ipk root@192.168.1.1:\root
  4. Log into the router. For example by entering the following command into command prompt in windows 10
    ssh root@192.168.1.1
  5. Packages can be installed using the following command
    opkg install PACKAGE_NAME
  6. Install the packages in the following order
    • luci-proto-core_0.11.1-1_ar71xx.ipk
    • luci-lib-core_0.11.1-1_ar71xx.ipk
    • luci-lib-sys_0.11.1-1_ar71xx.ipk
    • luci-lib-nixio_0.11.1-1_ar71xx.ipk
    • luci-sgi-cgi_0.11.1-1_ar71xx.ipk
    • luci-lib-web_0.11.1-1_ar71xx.ipk
    • luci-i18n-english_0.11.1-1_ar71xx.ipk
    • luci-mod-admin-core_0.11.1-1_ar71xx.ipk
    • luci-lib-ipkg_0.11.1-1_ar71xx.ipk
    • luci-mod-admin-full_0.11.1-1_ar71xx.ipk
    • luci-theme-base_0.11.1-1_ar71xx.ipk
    • luci-theme-openwrt_0.11.1-1_ar71xx.ipk
    • luci-app-firewall_0.11.1-1_ar71xx.ipk
    • luci-proto-ppp_0.11.1-1_ar71xx.ipk
    • luci_0.11.1-1_ar71xx.ipk
  7. The LuCI web GUI will be available at http://192.168.1.1
  8. To clean up, remove the packages with the following command
    rm luci_0.11.1-1_ar71xx.ipk luci-app-firewall_0.11.1-1_ar71xx.ipk luci-i18n-english_0.11.1-1_ar71xx.ipk luci-lib-core_0.11.1-1_ar71xx.ipk luci-lib-ipkg_0.11.1-1_ar71xx.ipk luci-lib-nixio_0.11.1-1_ar71xx.ipk luci-lib-sys_0.11.1-1_ar71xx.ipk luci-lib-web_0.11.1-1_ar71xx.ipk luci-mod-admin-core_0.11.1-1_ar71xx.ipk luci-mod-admin-full_0.11.1-1_ar71xx.ipk luci-proto-core_0.11.1-1_ar71xx.ipk luci-proto-ppp_0.11.1-1_ar71xx.ipk luci-sgi-cgi_0.11.1-1_ar71xx.ipk luci-theme-base_0.11.1-1_ar71xx.ipk luci-theme-openwrt_0.11.1-1_ar71xx.ipk
docs/guide-user/luci/luci.essentials.txt · Last modified: 2018/06/28 13:24 by duffer