Installing WebUI: LuCI

Home / Installing WebUI: LuCI

Installing WebUI: LuCI

December 9, 2015 | Uncategorized | No Comments

LuCI is a Web User Interface for accessing OpenWRT. For some version of OpenWRT, it is included.

For one who want simplicity, WebUI might be suitable as it support router’s administration using graphics. But on some release, LuCI is not included by default. Therefore we need to install it manually.

Before proceeding, at least you know how to use opkg. If not, please refer to this, or this page for detail instruction.

Listing the Packages

To see all available packages to administer OpenWRT through LuCI, use following command on terminal:

opkg update
opkg list luci-*

Installation

via package repository

Retrieve current list of available packages in repository. If you think your list is up to date, then it is optional step.

opkg update

Installing LuCI without HTTPS support:

opkg install luci
If you desire for HTTPS support, install this:
opkg install luci-ssl

Offline Installation

If you plan for offline installation, you can download the packages and transfer them to OpenWRT box into the RAM disk in /tmp/luci-offline-packages (the folder might be not exists, create it first or use other folder in /tmp). This is the list of packages we need:

  • liblua
  • lua
  • libuci-lua
  • libubus-lua
  • uhttpd
  • luci-lib-ipkg
  • luci-i18n-english
  • luci-sgi-cgi
  • luci-lib-core
  • luci-lib-nixio
  • luci-lib-sys
  • luci-lib-web
  • luci-proto-core
  • luci-theme-base
  • luci-theme-openwrt
  • luci-mod-admin-core
  • luci-mod-admin-full

Installation can be done using:

for pkg in liblua lua libuci-lua libubus-lua uhttpd luci-lib-ipkg luci-i18n-english luci-sgi-cgi luci-lib-core luci-lib-nixio luci-lib-sys luci-lib-web luci-proto-core luci-theme-base luci-theme-openwrt luci-mod-admin-core luci-mod-admin-full; do
opkg install /tmp/luci-offline-packages/$pkg*.ipk;
done

Additionally, the following packages are needed for basic wireless configuration: libiw, libiwinfo, libiwinfo-lua.

Starting LuCI (uHTTPd) server)

To enable and start LuCI, invoke following commands:

/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start

Notes

When install LuCI using this article guide’s we are install it on top of Apache Web Server.

About Author

about author

xathrya

A man who is obsessed to low level technology.

Leave a Reply

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial