Giter Site home page Giter Site logo

Comments (5)

darylc avatar darylc commented on August 24, 2024

@OnlineDynamic I love the new look of the page. I fixed a couple of small things, this is the remaining list:

  1. API call /api/files/zip/logs returns a mostly empty troubleshootingCommands.txt incorrectly

  2. Default Gateway
    Command Description:
    Command: for gateway in $(netstat -rn | grep '^0.0.0.0' | awk '{print $2};' ); do ping -c 1 $gateway; done;
    sh: 1: ); do ping -c 1 $gateway; done;: not found

  3. RTC
    Command Description:
    Command: hwclock -r -f "$rtcDevice"
    hwclock: Cannot access the Hardware Clock via any known method.
    hwclock: Use the --verbose option to see the details of our search for an access method.

  4. 2cdetect
    Command Description:
    Command: i2cdetect -y -r . "$i2cDevice"

Error: I2C bus name doesn't match any bus present!
Usage: i2cdetect [-y] [-a] [-q|-r] I2CBUS [FIRST LAST]
i2cdetect -F I2CBUS
i2cdetect -l
I2CBUS is an integer or an I2C bus name
If provided, FIRST and LAST limit the probing range.

  1. If you load the troubleshooting page, and press the down arrow the page doesn't scroll down, instead it moves to the next troubleshooting tab. This is different to the behavior on the similarly structured FPP Settings page.

from fpp.

OnlineDynamic avatar OnlineDynamic commented on August 24, 2024

@darylc fixed 1-4 in latest PR #1807
will have a think on 5

from fpp.

darylc avatar darylc commented on August 24, 2024

@OnlineDynamic Thanks!

I notice DT Details is very very large and takes a long time to load, is it worth doing anything about that? Eg move it to its own tab, or require a button press to run it, or something else or nothing?

For this one, the awk doesn't work with the "'s, it needed the ''s

Default Gateway
Command Description:
Command: for gateway in $(netstat -rn | grep "^0.0.0.0" | awk "{print $2};" ); do ping -c 1 $gateway; done;

PING 0.0.0.0 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.030 ms

--- 0.0.0.0 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.030/0.030/0.030/0.000 ms
PING 192.168.34.1 (192.168.34.1) 56(84) bytes of data.
64 bytes from 192.168.34.1: icmp_seq=1 ttl=255 time=0.437 ms

--- 192.168.34.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.437/0.437/0.437/0.000 ms
PING 0.0.0.0 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.036 ms

--- 0.0.0.0 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.036/0.036/0.036/0.000 ms
ping: UG: Name or service not known
PING 0 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.018 ms

--- 0 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.018/0.018/0.018/0.000 ms
PING 0 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.017 ms

--- 0 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.017/0.017/0.017/0.000 ms
PING 0 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.015 ms

--- 0 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.015/0.015/0.015/0.000 ms
ping: eth0: Name or service not known

from fpp.

OnlineDynamic avatar OnlineDynamic commented on August 24, 2024

fixed the default gateway command in latest #1810 - awk was being a pain so did it a different way ;) will have a think on the long running commands and also seen a comment changing some of the layout so might have a play with at at some time

from fpp.

darylc avatar darylc commented on August 24, 2024

@OnlineDynamic Are we done with this issue now?

from fpp.

Related Issues (20)

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.