Table of Contents

LuCI – 技术参考

LuCI是什么

LuCI was founded in March 2008 as "FFLuCI" as part of the efforts to create a port of the Freifunk-Firmware from the OpenWrt branch White Russian to its successor branch Kamikaze.

The initial reason for this project was the absence of a free, clean, extensible and easily maintainable web user interface for embedded devices. While most similar configuration interfaces make heavy use of the Shell-scripting language, LuCI:

uses the Lua programming language and

splits the interface up into logical parts like models and views, uses object-oriented libraries and templating.

Meanwhile LuCI evolved from a MVC-Webframework to a collection of several libraries, applications and user interfaces with general purpose for Lua programmers while the focus still remains on the web user interface which also became an official part of OpenWrt releases since OpenWrt 'Kamikaze' 8.09.

依赖关系

论坛

LuCI模块包

luci and luci-ssl are meta-packages. Here you see what they comprise, the sizes are in Bytes compiled for the ar71xx platform. They should differ too much from binaries compiled for other architectures. Also note, that with JFFS2 it is not possible to precisely predict the occupied space.

In case you want to use a different web server than uhttpd and not install uhttpd at all, do not install the meta-package because it includes it. Install the individual components instead and a web server of your choice. The article http.overview shows you some choices from the repos.

Name

Size

Description

luci

779

Meta package. Standard OpenWrt set including full and mini admin and the standard theme

uhttpd

23778

uHTTPd is a tiny single threaded HTTP server with TLS, CGI and Lua support. It is intended as a drop-in replacement for the Busybox HTTP daemon.

Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua is free software. This package contains the Lua shared libraries, needed by other programs.

lua

9069

Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua is free software. This package contains the Lua language interpreter. (5.1.4-7)

luci-lib-web

59695

MVC Webframework

luci-lib-sys

15795

LuCI Linux/POSIX system library

luci-lib-nixio

31683

NIXIO POSIX library

luci-lib-core

28096

LuCI core libraries

luci-sgi-cgi

2420

CGI Gateway behind existing Webserver

luci-lib-lmo

4714

LuCI LMO I18N library

Additionally Required for HTTPS

luci-ssl

782

Meta package. Standard OpenWrt set including full and mini admin, the standard theme + HTTPS support

uhttpd-mod-tls

5825

The TLS plugin adds HTTPS support to uHTTPd.

uhttpd-mod-lua

9178

The Lua plugin adds a CGI-like Lua runtime interface to uHTTPd.

libcyassl

69682

CyaSSL is an SSL library optimized for small footprint, both on disk and for memory use.

px5g

28480

Px5g is a tiny standalone X.509 certificate generator. It's suitable to create key files and certificates in DER and PEM format for use with stunnel, uhttpd and others.