1 (edytowany przez Oniryczny 2020-03-28 23:04:26)

Temat: 17.01 upgrade nie działa

Witam



kolega oddał mi stary router 710 v1 jest na nim LEDE 17.01 r3301-7099bb1
żaden upgrade nie idzie
zrobiłem reset firstboot reboot i nic loguję się na 192.168.1.1 wrzucam czy co 19.07 czy 18.06 zarówno rootfs lub sysupgrade i nic nie idzie po restarcie reboocie wyłączeniu/włączeniu zasilania ciągle jest stary 17.01
Nawet wgrać firmware TP-Linka nie idzie

cogito ergo sum

2

Odp: 17.01 upgrade nie działa

Zawsze możesz zrobić jawnie wgranie przez mtd. Broń ostateczna, choć tego nie pochwalam i nie polecam, bo jak się pomylisz to coś stracisz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez Oniryczny 2020-03-29 10:22:40)

Odp: 17.01 upgrade nie działa

No właśnie nie wiem co by tu zrobić żeby działało...
Najdziwniejsze że nie mogę nawet wgrać softu od TP-Linka

cogito ergo sum

4

Odp: 17.01 upgrade nie działa

mtd -r write /tmp/plik firmware

O ile jesteś pewnien na 150% że wszystkie jest poprawne.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez Oniryczny 2020-03-29 10:28:34)

Odp: 17.01 upgrade nie działa

coś jest nie tak bo ping idzie ale strona się nie wczytuje a ssh idzie strasznie wolno
router chodził przez noc od wczoraj jak zacząłem pisać że mi nie idzie upgrade

a tym mtd wrzucić plik factory czy sysupgrade?

cogito ergo sum

6

Odp: 17.01 upgrade nie działa

Wyłącz go, uruchom w failsafe i dopiero to zrób.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: 17.01 upgrade nie działa

zrobię failsafe zaloguję się po ssh i wtedy skopiować plik do /tmp i wrzucić, który plik?

cogito ergo sum

8

Odp: 17.01 upgrade nie działa

sysupgrade

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: 17.01 upgrade nie działa

# mtd -r write /tmp/luci-19.07-snapshot-r10949-c56ed72d2b-ath79-generic-tplink_tl-wr710n-v1-squashfs-sysupgrade.bin 
Usage: mtd [<options> ...] <command> [<arguments> ...] <device>[:<device>...]

The device is in the format of mtdX (eg: mtd4) or its label.
mtd recognizes these commands:
        unlock                  unlock the device
        refresh                 refresh mtd partition
        erase                   erase all data on device
        verify <imagefile>|-    verify <imagefile> (use - for stdin) to device
        write <imagefile>|-     write <imagefile> (use - for stdin) to device
        jffs2write <file>       append <file> to the jffs2 partition on the device
        fixtrx                  fix the checksum in a trx header on first boot
        fixseama                fix the checksum in a seama header on first boot
        fixwrgg                 fix the checksum in a wrgg header on first boot
Following options are available:
        -q                      quiet mode (once: no [w] on writing,
                                           twice: no status messages)
        -n                      write without first erasing the blocks
        -r                      reboot after successful command
        -f                      force write without trx checks
        -e <device>             erase <device> before executing the command
        -d <name>               directory for jffs2write, defaults to "tmp"
        -j <name>               integrate <file> into jffs2 data when writing an image
        -s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"
        -p <number>             write beginning at partition offset
        -l <length>             the length of data that we want to dump
        -o offset               offset of the image header in the partition(for fixtrx)
        -c datasize             amount of data to be used for checksum calculation (for fixtrx / fixseama / fixwrgg)
        -F <part>[:<size>[:<entrypoint>]][,<part>...]
                                alter the fis partition table to create new partitions replacing
                                the partitions provided as argument to the write command
                                (only valid together with the write command)

Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
         mtd -r write linux.trx linux

#
cogito ergo sum

10

Odp: 17.01 upgrade nie działa

Ja napisałem kompletne polecenie a ty go źle zrobiłeś.  Zobacz jeszcze raz na to co napisałem i napisz czego brakuje w twoim poleceniu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: 17.01 upgrade nie działa

no tak, potraktowałem 'plik firmware' jako jedno

# mtd -r write /tmp/luci-19.07-snapshot-r10949-c56ed72d2b-ath79-generic-tplink_tl-wr710n-v1-squashfs-sysupgrade.bin firmware
Unlocking firmware ...

Writing from /tmp/luci-19.07-snapshot-r10949-c56ed72d2b-ath79-generic-tplink_tl-wr710n-v1-squashfs-sysupgrade.bin to firmware ...     
Rebooting ...

Po zalogowaniu się pokazuje 19.07
Dzięki za pomoc smile

cogito ergo sum