1 (edytowany przez solargrim 2018-11-05 19:51:15)

Temat: TD8970 SSID Config Injection

Zdobyłem poczciwego TDW8970 i chcę bez rozbierania obudowy wgrać mu OpenWrt bądź LEDE.

Udało mi się wbić na router poprzez SSID Config Injection ->

TD-W8970B(DE) login: admin
Password:
~ # ls
web       usr       sys       proc      linuxrc   firmware  dev
var       tmp       sbin      mnt       lib       etc       bin

Firmwareversion:
0.6.0 2.10 v000d.0 Build 141008 Rel.55826n

Hardwareversion:
TD-W8970B(DE) v1 00000000

Obraz: openwrt-18.06.1-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin

teraz tak jak pod windowsem zrobić ->
Create a 1310720 bytes block-size slice of the firmware file using dd (this one needs to be on the USB stick as well).
This command creates the file openwrt-15.05.1-lantiq-xrx200-TDW8970-sysupgrade-1.image:
i sformatować pendrive do msdos/vfat czy fat32 moze byc?

/var/usbdisk/sda1 # ls -la /var/usbdisk/sda1/mtd1
-rwxrwxrwx    1   1310720 /var/usbdisk/sda1/mtd1


zrobiłem ->

ddrelease64 if=openwrt-18.06.1-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin of=openwrt-18.06.1-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin-1.bin bs=1310720 skip=1

-rwxrwxrwx    1   3735741 openwrt-18.06.1-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin-1.bin
-rwxrwxrwx    1   5046461 openwrt-18.06.1-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin

zostało mi wykonanie
cat /var/usbdisk/sda1/obraz-sysupgrade.bin > /dev/mtdblock1
cat /var/usbdisk/sda1/obraz-sysupgrade-1.bin > /dev/mtdblock2

ale nie wiem czy router wstanie? smile

Udało się. Po reboocie router chodzi wink --> OpenWrt 18.06.1, r7258-5eb055306f