Temat: aktualizacja via CLI SSH
Cześć, pomyliłem się z wybraniem obrazu i przypadkowo wrzuciłem sysupgrade bez LuCI. Chciałem teraz wrzucić na router obraz z LuCi, ale z linuxem nie czuję się komfortowo.
Znalazłem to: https://openwrt.org/docs/guide-user/ins … pgrade.cli
Wykonałem polecenia, ale dostaję zwrotkę:
Failed to allocate uclient context
root@TL-WDR3600:~# DOWNLOAD_LINK="https://dl.eko.one.pl/luci/openwrt-23.05/ath79/generic/luci-23.05-snapshot-r23780-6
f70e09a00-ath79-generic-tplink_tl-wdr3600-v1-squashfs-sysupgrade.bin"; SHA256SUMS="c93f6f0ec99bdf502e372f93aac3981cc7
a0b7a52132704c9d510e72ea442600"
root@TL-WDR3600:~# cd /tmp;wget $DOWNLOAD_LINK;wget $SHA256SUMS;sha256sum -c sha256sums 2>/dev/null|grep OK
Downloading 'https://dl.eko.one.pl/luci/openwrt-23.05/ath79/generic/luci-23.05-snapshot-r23780-6f70e09a00-ath79-generic-tplink_tl-wdr3600-v1-squashfs-sysupgrade.bin'
Connecting to 95.160.102.195:443
Writing to 'luci-23.05-snapshot-r23780-6f70e09a00-ath79-generic-tplink_tl-wdr3600-v1-squashfs-sysupgrade.bin'
luci-23.05-snapshot- 100% |*******************************| 7552k 0:00:00 ETA
Download completed (7734085 bytes)
Downloading 'c93f6f0ec99bdf502e372f93aac3981cc7a0b7a52132704c9d510e72ea442600'
Failed to allocate uclient contextSpróbowałem jeszcze komendy scp z linka powyżej, ale chyba źle ją wpisałem. Nie wiem jak ją poprawić.
root@TL-WDR3600:/tmp# free
total used free shared buff/cache available
Mem: 122056 26548 70488 7648 25020 54600
Swap: 0 0 0
root@TL-WDR3600:/tmp# scp "C:\Users\XED\Downloads\a.bin" root@TL-WDR3500:/tmp
/usr/bin/dbclient: Connection to root@C:22 exited: Connect failed: Error resolving 'C' port '22'. Name does not resolvePodpowiecie jak powinienem wpisać te komendy, żeby móc wrócić do LuCI?