Giter Site home page Giter Site logo

openwrt / luci Goto Github PK

View Code? Open in Web Editor NEW
6.0K 267.0 2.4K 379.12 MB

LuCI - OpenWrt Configuration Interface

License: Apache License 2.0

Makefile 2.28% Lua 14.12% HTML 6.18% Shell 1.56% JavaScript 42.35% Perl 0.89% CSS 3.15% C 26.04% C# 0.65% Java 0.75% Lex 0.11% Yacc 0.27% CMake 0.02% Python 0.02% Visual Basic .NET 0.50% Terra 0.01% UnrealScript 1.09%

luci's Introduction

OpenWrt luci feed

Translation status

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Translation status

Translation status

luci's People

Contributors

ansuel avatar aparcar avatar castillofrancodamian avatar chris5560 avatar dibdot avatar feckert avatar freifunkufo avatar hnyman avatar jow- avatar kunkun3012 avatar lampra1 avatar leskanic avatar marcin19883 avatar mmunz avatar musashino205 avatar namedun avatar santossi avatar sbyx avatar sotux avatar sr093906 avatar stangri avatar stargieg avatar stokito avatar systemcrash avatar taran2ul avatar urbalazs avatar user7887 avatar weblate avatar yousong avatar yuripet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

luci's Issues

wake on lan

Reported by anonymous on 17 Jan 2009 19:45 UTC
Please consider implementing wake on lan, I think this is an important feature of the router.

axhttpd fix category

Reported by Yanira on 14 Dec 2008 10:30 UTC
Fix the category for axhttpd from the LuCI feed.

See attached diff.

Writing Modules does not work in RAM on WRT54G

Reported by anonymous on 13 Nov 2008 20:47 UTC
kamikatze 8.09 RC1
I started to try your Dokumentation on WRT54G.

The lua programm looks for
/usr/lib/lua/luci/controller/myapp/mymodule.lua

But I think it would be better that it should use:
/tmp/root/usr/lib/lua/luci/controller/myapp/mymodule.lua

more status-pages

Reported by [email protected] on 8 Jan 2009 14:58 UTC
i miss many status-pages, which are available in openwrt-white-russian-freifunk:

  • '''routes''': Routing-Table
  • '''logread''': systemlogs
  • '''interfaces''': ip-adresses, networks, if-statistik
  • '''wlan-scan''': extra-page for scanning
  • '''version''': display the version of the current firmware
  • '''bot-info''': plaintext-info about many things for usability with bots

Support configuring extra PPPoA options

Reported by [email protected] on 25 Jan 2009 09:00 UTC
Interface configuration for PPPoA is missing some important options entirely (encapsulation, VPI, VCI), and other useful options are disabled (default route, use peer dns, username, password)

The attached patch fixes this - with these changes I can actually configure and use my DSL connection with PPPoA successfully.

I think that the encaps / vpi / vci options are also used for PPPoE connections, but I don't have any direct experience with PPPoE myself so I'll leave that to someone with more knowledge.

Precompiled UVL schemes

Reported by [email protected] on 20 Feb 2009 10:40 UTC
Hello,

as of today, schemes are always stored as plain text in /lib/uci/schema/default.

Could it be possible to use uvlc (r3120) to generate, and have only, uvl schemes as bytecode when chosing the "Precompiled" option in the !OpenWrt package Makefile ?

Best regards

luci-minidlna: wrong file count in status message

Hi,
I noticed that the minidlna status message is showing wrong file count. All counters show zero files.
I went digging and realised that since minidlna 1.1.x, the daemon's builtin status page has changed.
So I would like to suggest the following patch. Probably it's not 100% correct but it solved the problem. Hope it's useful.

diff --git a/applications/luci-minidlna/luasrc/controller/minidlna.lua b/applications/luci-minidlna/luasrc/controller/minidlna.lua
index 500c90a..486cd9e 100644
--- a/applications/luci-minidlna/luasrc/controller/minidlna.lua
+++ b/applications/luci-minidlna/luasrc/controller/minidlna.lua
@@ -44,9 +44,9 @@ function minidlna_status()
                if fd then
                        local html = fd:read("*a")
                        if html then
-                               status.audio = (tonumber(html:match("Audio files: (%d+)")) or 0)
-                               status.video = (tonumber(html:match("Video files: (%d+)")) or 0)
-                               status.image = (tonumber(html:match("Image files: (%d+)")) or 0)
+                               status.audio = (tonumber(html:match("<td>Audio files</td><td>(%d+)</td>")) or 0)
+                               status.video = (tonumber(html:match("<td>Video files</td><td>(%d+)</td>")) or 0)
+                               status.image = (tonumber(html:match("<td>Image files</td><td>(%d+)</td>")) or 0)
                        end
                        fd:close()
                end

package sizes in packagemanagement

Reported by kloschi on 2 Jan 2009 17:42 UTC
would be great to see the download size of the packages and the estimated install size.

additionally would be great to see free space and have limitation or warning when reaching available amount of space.

Port Range

Reported by [email protected] on 25 Nov 2008 04:02 UTC
When users specify a port range to be opened, the start and end port must be separated by a colon. I suggest having some text on the page for adding advanced firewall rules that indicates that.

Some Symbols are not encoded correct in the Kernel log

Reported by Maduser on 24 Jan 2009 18:31 UTC
After the update to 8.09RC2, I look at the Kernel log with Firefox 3. The site could not display, because some chars are not encoded correct.
The Line is

jffs2_build_filesystem(): erasing all blocks after the end marker... |�/�-�\�|�/�-�\�|�/�-�\�|�/�-�\�|�/�-�\�|�done.

app-upnp is missing the unit

Reported by Maduser on 24 Jan 2009 19:25 UTC
On the UPNP-Page is a edit-field for the Down- and Uplink. But on this page is no Unit which should be inserted (I think it kbits/s).

uvl configdir option not used

Reported by [email protected] on 15 Jan 2009 15:00 UTC
Hello,

uvl option '--configdir' seems to be used only for verify-scheme.

It would be handy to be able to verify the configuration files in a different directory than '/etc/config'.

qos french traduction

Reported by anonymous on 20 Dec 2008 14:58 UTC
hello

a small contribution on the translation of luci-qos.

thank for luci project

thank you for this project luci

Support for more protocols in firewall and qos

Reported by [email protected] on 8 Jan 2009 16:57 UTC
The protocol dropdown restricts protocols to icmp/udp/tcp/tcpudp. So it is impossible to have rules for e.g. VPN (except OpenVPN). I suggest at least to add:

esp

Other may be interested in:

gre
ah ?
l2tp

Affected files at least:
model/cbi/luci_fw/trule.lua
model/cbi/qos/qos.lua

qtfxSgzOe

Reported by otojdven on 22 Jan 2009 18:38 UTC
NKaeg8 tjhxsdcymzbw, [link=http://wkbmglmgefoo.com/wkbmglmgefoo[/link], http://ieioknzlzovz.com/

french traduction

Reported by anonymous on 11 Nov 2008 18:25 UTC
replace line 183 in admin-core.fr.xml by this line

<i18n:msg xml:id="a_n_ifaces1">Dans cette page vous pourrez configurer les interfaces rseaux. Vous pouvez bridger diffrentes interfaces en cochant le champ "bridger les interfaces" et en saisissant les noms des interfaces rseau spares par des espaces. Vous pouvez aussi utiliser la notation VLAN, INTERFACE.VLANNB (ex : eth0.1)./i18n:msg

replace line 179 admin-core.fr.lua by this line

a_n_ifaces1 = 'Dans cette page vous pourrez configurer les interfaces rseaux. Vous pouvez bridger diffrentes interfaces en cochant le champ "bridger les interfaces" et en saisissant les noms des interfaces rseau spares par des espaces. Vous pouvez aussi utiliser la notation VLAN, INTERFACE.VLANNB (ex : eth0.1).'

sorry for my bad english

easy firmware update

Reported by [email protected] on 8 Jan 2009 15:38 UTC
FIrmware-Updates should be as easy as in the older freifunk-firmware.
so the firmware-version should be checked against the versionnumber from a freifunk development-server and then the firmware should be downloaded and md5-checked automatically and the flashed/burned.

after that, the freifunk-wizard should appear and also should know the parameters (nodenumber, contact-data, password)

luci-uvc_streamer (french translation)

Reported by anonymous on 20 Dec 2008 14:14 UTC
file uvc_streamer.en.xml

<i18n:msgs xmlns:i18n="http://luci.freifunk-halle.net/2008/i18n#" xmlns="http://www.w3.org/1999/xhtml">

<i18n:msg xml:id="framespersecond">Images par seconde/i18n:msg
<i18n:msg xml:id="resolution">Rsolution/i18n:msg
<i18n:msg xml:id="settings">Paramtres/i18n:msg
<i18n:msg xml:id="uvc_streamer">Webcam streaming/i18n:msg
<i18n:msg xml:id="uvc_streamer_desc">Configurez le pilote linux UVC-webcam pour votre webcam. Pointez votre navigateur par exemple surhttp://%s:%i//i18n:msg

/i18n:msgs

file uvc_streamer.fr.lua

framespersecond = 'Images par seconde'
resolution = 'Rsolution'
settings = 'Paramtres'
uvc_streamer = 'Webcam streaming'
uvc_streamer_desc = 'Configurez le pilote linux UVC-webcam pour votre webcam. Pointez votre navigateur par exemple sur http://%s:%i/'

OpenWrt trunk LuCi build 2009-03-03, key entry validation

Reported by RoundSparrow on 4 Mar 2009 20:37 UTC
On new install of latest trunk, it let me set an encryption key that was invalid. In shell I see: Line 13: invalid WPA passphrase length 7 (expected 8..63)

Suggestion is that LuCI not allow such an entry.

MSS-correction should be enabled by default

Reported by anonymous on 26 Jan 2009 22:15 UTC
In my case, I was not able to load popular websites such as www.microsoft.com, www.sun.com and www.hotmail.com. This problem was very puzzling and no one in my ISP's or Teleco's technical department was able to solve this problem.

It's probably more sensible to present this as a performance boosting option that may break access to certain websites than a fail-safe option.

If you find this solution unacceptable, I would argue to at least place the option (in the essentials mode, along with other PPPoE options) in a more prominant and logical place and offer a more concrete explanation, such as "if you experience connection problems, such as trouble browsing certain websites, you should try enabling this option."

Missing url token in form on first login

Reported by [email protected] on 22 Dec 2008 15:53 UTC
Hello,

cbi views use luci.http.getenv("REQUEST_URI") which does not contain the url token created when logging in.

If the user logs in with the url of a form, the url token will not be present in the form action url (or mismatch). Submitting will result in a redirection to the login form.

Allow SSH password authentication

Reported by anonymous on 19 Feb 2009 01:03 UTC
In Luci 8.0.4 dropbear ssh password authentication could only be enabled by unchecking the checkbox 'Allow SSH password authentication'.
If it is checked sshd rejects the root password at logon.

money is the root of all evil.

Reported by peer steinbrueck on 22 Oct 2008 12:40 UTC
and if that proves false, we still have:
'girls are the root of all evil'

so.
major bug anyways!

more OLSR-infos

Reported by [email protected] on 8 Jan 2009 15:01 UTC
like in older freifunk-firmwares we need more infos about olsr:

  • in the olsr-node-list: display of the connecting interface for every neighbor.
  • services: "Dienste-Seite"

Disabling wifi in admin-mini doesn't work

Reported by aport on 5 Jan 2009 20:37 UTC
Unchecking the "enabled" box in the wifi page in admin-mini seems to only remove the "disabled 0" line in /etc/config/wireless instead of changing the value to 1. Unfortunately this still leaves the interface up.

Subsequent checking or unchecking does not modify anything in the UCI file.

Add reCAPTCHA to LuCI trac

Reported by anonymous on 26 Jan 2009 02:57 UTC
To stop wiki spam.

[http://recaptcha.net/whyrecaptcha.html]

Cookie-based authentication doesn't work when web interface is accessed through Avahi/Zeroconf/Bonjour/Rendezvous

Reported by anonymous on 24 Jan 2009 17:36 UTC
To reproduce this bug, install avahi-daemon and then attempt to access the web interface using the URL openwrt.local. through Safari 3.2.1:

I noticed 2 related issues:

  1. The sysauth cookie cannot be set when the browser is set to block 3rd party cookies
  2. When the browser is set to allow all cookies, the web interface is able to set the sysauth cookie, but apparently cannot read them, which means the user is asked to authenticate all the time.

Neither of those issues are present when the web interface is accessed through the IP address.

dropbear "password authentication" option can't be disabled

Reported by [email protected] on 26 Jan 2009 02:02 UTC
In Services > Dropbear SSHd there is a "password authentication" checkbox.

However, dropbear still allows password auth even if you uncheck the box and save&apply.

This is because when unchecked, the Passwordauth option is entirely removed from /etc/config/dropbear. The init.d script then interprets the missing option as defaulting to on.

I'll attach a patch in a moment that fixes it.

500 Internal Server Error on Network -> Interfaces

Reported by [email protected] on 27 Jan 2009 12:55 UTC
I got a 500 Internal Server Error on the Network -> Interfaces with the error Message:

Error in template cbi/map: Error in template cbi/tblsection: Error in template cbi/dvalue: bad argument #1 to 'ipairs' (table expected, got nil)

Also is that this Error Message is no valid Xhtml. Firefox reports:

XML Parsing Error: XML or text declaration not at start of entity
Location: file:///home/maduser/Desktop/network.xhtml
Line Number 302, Column 1:<?xml version="1.0" encoding="utf-8"?>

qtfxSgzOe

Reported by otojdven on 22 Jan 2009 18:38 UTC
NKaeg8 tjhxsdcymzbw, [link=http://wkbmglmgefoo.com/wkbmglmgefoo[/link], http://ieioknzlzovz.com/

Freifunk Checkliste

Reported by [email protected] on 8 Jan 2009 15:08 UTC
the wizard should be more accessible.
so, not in a hidden path but easy to be seen for all firmware-flashers.
best would be on startup-page (like in old freifunk-firmwares)

wizard should also appear, when no contact-data is declared

french i18n fw, ddns and fixes

Reported by [email protected] on 18 Dec 2008 09:55 UTC
This patch

  • fixes duplicate entries in default translation
  • adds luci-fw and luci-ddns french translation (I can't believe I failed to include it in my previous patch)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.