Coder Social home page Coder Social logo

tg-luci's People

Contributors

francyesco avatar kevdagoat avatar nutterpc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tg-luci's Issues

unistall.sh does not fully revert

Seems that opkg remove is needed for some other package (dependencies) like luci-base as when you try to install after an unistall opkg will skip install on few packages (debris of previus installation) and uci will not work

Segmentation Fault

Model: TG789vac V2
Firmware: 17.2
When trying to run the install.sh the modem returned "Segmentation Fault". I fixed removing this [logger() {
logger -s -t "tg-LuCI Install Script:" "$1"
echo "$1"
}] from the script, but I didn't receive any message during the installation.
The script worked well though and everything was working fine after the reboot.

Sequence

Step 4 refers to files extracted in step 2 (should refer to step 3)

nginx broken after install

If you install Luci all is working good (both nginx and uhttp/luci) but if you try to restart (so also if you reboot the device) nginx this will result broken:
500 Internal Server Error on webpage.

also uninstall will not help

and here some log that will help debug

Mon Oct  1 13:36:13 2018 daemon.err nginx: 2018/10/01 13:36:13 [error] 31900#0: *416 lua entry thread aborted: runtime error: content_by_lua(nginx.conf:109):2: loop or previous error loading module 'cards'
stack traceback:
coroutine 0:
        [C]: in function 'require'
        content_by_lua(nginx.conf:109):2: in function <content_by_lua(nginx.conf:109):1>, client: 192.168.1.77, server: localhost, request: "GET / HTTP/1.1", host: "192.168.1.1"
root@dsldevice:~# transformer
lua: /usr/bin/transformer:37: module 'uci' not found:
        no field package.preload['uci']
        no file './uci.lua'
        no file '/usr/share/lua/uci.lua'
        no file '/usr/share/lua/uci/init.lua'
        no file '/usr/lib/lua/uci.lua'
        no file '/usr/lib/lua/uci/init.lua'
        no file './uci.so'
        no file '/usr/lib/lua/uci.so'
        no file '/usr/lib/lua/loadall.so'
stack traceback:
        [C]: in function 'require'
        /usr/bin/transformer:37: in function 'do_config'
        /usr/bin/transformer:85: in main chunk
        [C]: ?

WIFI Reporting

This is mainly for me, to remind myself to finalise the reporting for wifi.

There still is minor glitches inside reporting, but by & large it works

Experimental Branch

Need ideas for ways we can make into a script for our ownCloud hosted version:

Such things as:

Minimalist Install
VoIP ATA Router

You get the idea. Since FrancYesco's input for the install.sh, it makes sense to have a development branch & a stable one

789vac v2 Install report

Fully installed on 789vac v2 with Firmware UNO 17.2

Basically Luci works but not the wireless part and during executing of sh script there are a lot of error messages:

image

scriptlog.txt

ps, you should point out that a WAN connection is required (and the easiest way to get is is to put a gateway in the script the is not the modem where you are installing) probably a better way to get it is to not fully clean the network config file but just fix what is needed for luci... or in general take the script less "aggressive"

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.