Giter Club home page Giter Club logo

luci-app-ttyd's Introduction

luci-app-ttyd

Building with OpenWrt/LEDE SDK

LEDE documentation: Using the SDK

Ubuntu 64bit and LEDE ar71xx as example:

sudo apt-get install build-essential subversion libncurses5-dev zlib1g-dev gawk gcc-multilib flex git-core gettext libssl-dev
curl -sLo- https://downloads.lede-project.org/snapshots/targets/ar71xx/generic/lede-sdk-ar71xx-generic_gcc-5.4.0_musl-1.1.15.Linux-x86_64.tar.xz | tar Jx
cd lede-sdk-ar71xx-generic_gcc-5.4.0_musl-1.1.15.Linux-x86_64
./scripts/feeds update -a
./scripts/feeds install -a
git clone https://github.com/ozon/luci-app-ttyd.git package/feeds/luci-app-ttyd
make defconfig
make menuconfig
make package/feeds/luci-app-ttyd/compile

The compiled .ipk package will be in the bin/packages folder.

luci-app-ttyd's People

Contributors

ozon 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

Watchers

 avatar  avatar  avatar  avatar

luci-app-ttyd's Issues

unknown message type: 2

Thu Oct 11 13:01:39 2018 daemon.err ttyd[8106]: [2018/10/11 13:01:39:0535] NOTICE: started process, pid: 8217
Thu Oct 11 13:01:39 2018 daemon.err ttyd[8106]: [2018/10/11 13:01:39:0674] WARN: unknown message type: 2
Thu Oct 11 13:01:41 2018 daemon.err ttyd[8106]: [2018/10/11 13:01:41:0009] NOTICE: sending SIGHUP (1) to process 8217
Thu Oct 11 13:01:41 2018 daemon.err ttyd[8106]: [2018/10/11 13:01:41:0045] NOTICE: process exited with code 1, pid: 8217

tsl0922/ttyd#95 (comment)
This app needs updating.

had to reboot after one session

I have not yet used this a lot but in the brief use I gave it, I think I had to reboot the router in order to open a Terminal a second time. That is, after opening a terminal and then closing it I could not open another. I just got a blank screen.

missing files

i tried to build (and succeeded) the terminal app but am unable to run it due to missing files, such as auth_token.js. where can i get this file from or what did fail in building the app as the makefile makes no reference to it...

Error when open "Overview" tab

I installed "luci-app-ttyd" on LEDE Reboot 17.01.4 and have some errors when I try to open "Overview" tab

This page contains the following errors: error on line 65 at column 55: xmlParseEntityRef: no name Below is a rendering of the page up to the first error.

this because ampersand symbol in view template:

<script>!function(t){if("object"==typeof exports&&"undefined"

I tried to move Javascript code to included file but after this still does not work and have some other errors

Can you try to fix it? Thanks!

ERROR

Fri Feb 25 23:38:03 2022 daemon.notice procd: /etc/rc.d/S30ttyd: once 1
Fri Feb 25 23:38:03 2022 daemon.notice procd: /etc/rc.d/S45nfs: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Fri Feb 25 23:38:03 2022 daemon.notice procd: /etc/rc.d/S45nfs: point 1
Fri Feb 25 23:38:03 2022 daemon.notice procd: /etc/rc.d/S45nfs: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Fri Feb 25 23:38:03 2022 daemon.notice procd: /etc/rc.d/S45nfs: exportfs: can't lock /var/lib/nfs/etab for writing
Fri Feb 25 23:38:03 2022 daemon.notice procd: /etc/rc.d/S45nfs: point 2
Fri Feb 25 23:38:03 2022 daemon.notice procd: /etc/rc.d/S45nfs: point 3
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: ttyd 1.6.3 (libwebsockets 4.1.6-20211107-376-g71d7ad88c)
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: tty configuration:
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: start command: /bin/sh --login
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: close signal: SIGHUP (1)
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: terminal type: xterm-256color
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: once: true
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: LWS: 4.1.6-20211107-376-g71d7ad88c, loglevel 7
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: NET CLI SRV H1 H2 WS IPV6-off
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: /usr/lib/libwebsockets-evlib_uv.so
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: Using foreign event loop...
Fri Feb 25 23:38:03 2022 daemon.notice ttyd[2960]: Listening on port: 7681

..........................

Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: ttyd 1.6.3 (libwebsockets 4.1.6-20211107-376-g71d7ad88c)
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: tty configuration:
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: start command: 127.0.0.1
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: close signal: SIGHUP (1)
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: terminal type: xterm-256color
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: LWS: 4.1.6-20211107-376-g71d7ad88c, loglevel 7
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: NET CLI SRV H1 H2 WS IPV6-off
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: /usr/lib/libwebsockets-evlib_uv.so
Sat Feb 26 00:31:18 2022 daemon.notice ttyd[17111]: Using foreign event loop...
Sat Feb 26 00:31:18 2022 daemon.err ttyd[17111]: ERROR on binding fd 12 to port 7681 (-1 98)
Sat Feb 26 00:31:18 2022 daemon.err ttyd[17111]: init server failed
Sat Feb 26 00:31:18 2022 daemon.err ttyd[17111]: libwebsockets vhost creation failed

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.