[luci] Compiling and installing Luci as a package
Jo-Philipp Wich
xm at subsignal.org
Tue Apr 28 00:01:07 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Tim.
LuCI is splitted in many small modules and the simplest way to pull all
required dependencies is to use opkg.
You could publish your bin/packages/target-xyz/ directory on a http
server in your lan and then add this custom repository to /etc/opkg.conf
on your router.
For example for brcm47xx such an entry would look like:
src/gz lan http://192.168.1.10/packages/
Where "/packages/" is the folder which contains the "Packages.gz" file.
After that run:
opkg update
opkg install luci-admin-full
If you keep getting "model not found" errors after the installation, try
removing the internal caches with:
rm -rf /var/luci-*
... or reboot the router. Then try accessing the web interface again.
If setting up a local webserver is no option, scp the following packages
to /tmp on your router:
lua
liblua
libuci-lua
luci-core
luci-cbi
luci-web
luci-uvl
luci-uci
luci-sys
luci-http
luci-theme-base
luci-theme-openwrt
luci-sgi-cgi
luci-i18n-english
luci-admin-core
luci-admin-full
After that install them one-by-one with:
opkg install /tmp/xyz.ipk
I really suggest to build LuCI directly into the image (select as <*>)
in make menuconfig since this will take care of proper installation and
safe a lot of flash space compared to an installation with opkg.
HTH,
JoW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkn2KyMACgkQdputYINPTPOkbQCfdSri+s4b/vDNVoGYGpTlcvXA
nvMAn1llEIn6Uo3W6TIUr0EDYO3ziSSJ
=TG20
-----END PGP SIGNATURE-----
More information about the luci
mailing list