nicopace / lime-app

Simple, lightweight and scalable PWA for diagnosis of Libremesh nodes
https://libremesh.github.io/lime-app/
GNU Affero General Public License v3.0
0 stars 0 forks source link

show the path to the internet in the map #2

Open nicopace opened 5 years ago

nicopace commented 5 years ago
# ubus call lime-metrics get_last_internet_path
{
    "status": "error",
    "error": {
        "code": "1",
        "msg": "Not found. No known Internet path."
    }
}
# /usr/sbin/last_internet 
/usr/sbin/last_internet: line 10: bmx6: not found
BusyBox v1.28.3 () multi-call binary.

Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...

Search for PATTERN in FILEs (or stdin)

    -H  Add 'filename:' prefix
    -h  Do not add 'filename:' prefix
    -n  Add 'line_no:' prefix
    -l  Show only names of files that match
    -L  Show only names of files that don't match
    -c  Show only count of matching lines
    -o  Show only the matching part of line
    -q  Quiet. Return 0 if PATTERN is found, 1 otherwise
    -v  Select non-matching lines
    -s  Suppress open and read errors
    -r  Recurse
    -i  Ignore case
    -w  Match whole words only
    -x  Match whole lines only
    -F  PATTERN is a literal (not regexp)
    -E  PATTERN is an extended regexp
    -m N    Match up to N times per file
    -A N    Print N lines of trailing context
    -B N    Print N lines of leading context
    -C N    Same as '-A N -B N'
    -e PTRN Pattern to match
    -f FILE Read pattern from file

Failed to resolve host: Name does not resolve