Mám nějaký problém s wifi, a když jsem se ho snažil řešit, narazil jsem na děsivou věc. Webové rozhraní mi říká, že jsem 532 hodin neposílal data. Což by nemělo být, protože internet funguje a router je zapojený (a nešahal jsem na něj). Koneckonců, píši z něj právě teď.
https://www.turris.cz/forum/topic_show.pl?pid=4861;hl=wifi podle toho to vlákna to vypadá, že nejsem sám a že mi to vynulujete. Tady je můj log updater.sh -n (dole ještě python)
+ ping -c1 -w10 api.turris.cz
PING api.turris.cz (217.31.192.101): 56 data bytes
64 bytes from 217.31.192.101: seq=0 ttl=56 time=6.861 ms
--- api.turris.cz ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss
round-trip min/avg/max = 6.861/6.861/6.861 ms
+ dirname /usr/bin/updater.sh
+ LIB_DIR=/usr/bin
+ . /usr/bin/updater-worker.sh
+ . /usr/bin/updater-utils.sh
+ PID=6554
+ PROGRAM=updater
+ get-api-crl
+ FAILSAFE_MODE=false
+ TMP_DIR=/tmp/update
+ PKG_DIR=/tmp/update/packages
+ CIPHER=aes-256-cbc
+ COOLDOWN=3
+ CERT=/etc/ssl/updater.pem
+ CRL=/etc/ssl/crl.pem
+ STATE_DIR=/tmp/update-state
+ STATE_FILE=/tmp/update-state/state
+ LOG_FILE=/tmp/update-state/log2
+ PLAN_FILE=/tmp/update-state/plan
+ uci get -q updater.override.branch
+ atsha204cmd serial-number
+ ID=0000000500002031
+ uci get -q updater.override.revision
+ atsha204cmd hw-rev
+ REVISION=00000005
+ uci get -q updater.override.generation
+ sed -e s/\..*/\// /etc/turris-version
+ GENERATION=2/
+ uci get -q updater.override.base_url
+ echo
https://api.turris.cz/updater-repo/+ BASE_URL=https://api.turris.cz/updater-repo/
+ BASE_URL=https://api.turris.cz/updater-repo/2/00000005
+ uci get -q updater.override.list_req_url
+ echo
https://api.turris.cz/getlists.cgi+ LIST_REQ=https://api.turris.cz/getlists.cgi
+ GENERIC_LIST_URL=https://api.turris.cz/updater-repo/2/00000005/lists/generic
+ SPECIFIC_LIST_URL=https://api.turris.cz/updater-repo/2/00000005/lists/0000000500002031
+ PACKAGE_URL=https://api.turris.cz/updater-repo/2/00000005/packages
+ PID_FILE=/tmp/update-state/pid
+ LOCK_DIR=/tmp/update-state/lock
+ BACKGROUND=false
+ EXIT_CODE=1
+ BASE_PLAN_FILE=/usr/share/updater/plan
+ [ -e /tmp/offline-update-ready ]
+ [ -n = -b ]
+ [ -n = -r ]
+ /usr/bin/updater-wipe.sh
+ [ -d /tmp/update-state/lock ]
+ mkdir -p /tmp/update-state
+ mkdir /tmp/update-state/lock
+ echo 6554
+ echo startup
+ echo initial sleep
+ rm -f /tmp/update-state/log2 /tmp/update-state/last_error
+ touch /tmp/update-state/log2
+ false
+ STABLE_PACKAGES=/usr/share/updater/packages
+ STABLE_PLAN=/usr/share/updater/plan
+ trap rm -rf "$TMP_DIR" "$PID_FILE" "$LOCK_DIR" $STABLE_PACKAGES $STABLE_PLAN; exit "$EXIT_CODE" EXIT INT QUIT TERM ABRT
+ [ -n != -n ]
+ shift
+ mkdir -p /tmp/update
+ echo get list
+ uci get updater.pkglists.lists
+ get_list_pack base core luci-controls nas printserver netutils definitions
+ echo 2/00000005
+ [ 0000000500002031 != unknown-id ]
+ my_curl -T -
https://api.turris.cz/getlists.cgi -X+ sed -e POST -f s/........//
+ curl --compress --cacert /etc/ssl/updater.pem --crlfile /etc/ssl/crl.pem -T -
https://api.turris.cz/getlists.cgi -X POST -f
+ echo 0000000500002031
+ SERIAL=00002031
+ echo 00002031
+ mkdir -p /tmp/updater-lists
+ [ base ]
+ [ -f /tmp/updater-lists/base ]
+ HASH=-
+ echo base -
+ shift
+ [ core ]
+ [ -f /tmp/updater-lists/core ]
+ HASH=-
+ echo core -
+ shift
+ [ luci-controls ]
+ [ -f /tmp/updater-lists/luci-controls ]
+ HASH=-
+ echo luci-controls -
+ shift
+ [ nas ]
+ [ -f /tmp/updater-lists/nas ]
+ HASH=-
+ echo nas -
+ shift
+ [ printserver ]
+ [ -f /tmp/updater-lists/printserver ]
+ HASH=-
+ echo printserver -
+ shift
+ [ netutils ]
+ [ -f /tmp/updater-lists/netutils ]
+ HASH=-
+ echo netutils -
+ shift
+ [ definitions ]
+ [ -f /tmp/updater-lists/definitions ]
+ HASH=-
+ echo definitions -
+ shift
+ [ ]
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (82) error loading CRL file: /etc/ssl/crl.pem
+ die Could not download list pack
+ echo error
+ echo Could not download list pack
+ echo Could not download list pack
Could not download list pack
+ + my_logger -p daemon.err
+ logger -t updaterecho -p Could not download list pack
daemon.err
+ kill -SIGABRT 6554
+ rm -rf /tmp/update /tmp/update-state/pid /tmp/update-state/lock /usr/share/updater/packages /usr/share/updater/plan
+ exit 1
+ rm -rf /tmp/update /tmp/update-state/pid /tmp/update-state/lock /usr/share/updater/packages /usr/share/updater/plan
+ exit 1
a tady python
Python 2.7.9 (default, Mar 17 2015, 17:16:50)
[GCC 4.8.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.