nutterpc / tg-luci Goto Github PK
View Code? Open in Web Editor NEWPackage Files required for build of Luci
Package Files required for build of Luci
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
Can be found here:
https://github.com/nutterpc/tg-luci/tree/dev
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.
Yes I am saying this.
Would be nice for my SIP client :)
Step 4 refers to files extracted in step 2 (should refer to step 3)
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]: ?
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
Is there support planned for tg800vac?
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
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:
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"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.