Witam ponownie.
Przeczytałem chyba pół internetu i nadal stoję w miejscu. Jest na kopy różnych tutków ale nie do tego sprzęta. Najbliższej analogii można szukać w niższych czy wyższych modelach Belkina, i na tym się opierałem się w moich poszukiwaniach .
https://wiki.dd-wrt.com/wiki/index.php/TFTP_Flashing_a_Belkin_F5D7230https://wiki.openwrt.org/toh/belkin/f7d3302https://wiki.dd-wrt.com/wiki/index.php/TFTP_flashCytuj:
In order to catch the narrow window for TFTP flash, you should use platforms with simple TCP/IP implementations that don't have CTCP implemented: Windows XP or Linux are reported to work, but some have reported significant problems with Vista, Windows 7 or Windows 2008.
Chyba że tu jest problem mam win10.
https://www.elektroda.pl/rtvforum/topic3308169.html#16279064Bardzo ciekawy artykuł "Reverse Engineering w praktyce - część 1,2,3,4"
Metoda na "wskoczenie" z wysyłką 1-3 s po starcie routera. Opiera sie na tym że w momencie startu przez krótki czas na routerze powinien działać serwer tftp. Tzn odpalić na pc ping 192.168.2.1 -t i w momencie pokazania się pierwszego poprawnego pinga wbijamy z wysyłką firmware. Klient tftp (np tftpd32) na pc 192.168.2.2. Problem w tym że nie dochodzą mi poprawne pingi .
Jest taki moment przy starcie że boot zatrzymuje się na 1-2s. Ale nie otrzymuje ani jednego poprawnego pinga.
Bootloader version v0.07 boot_version v0.07
Project name : WG8016G22-AK
Press space bar to cancel startup...
Device eth0: hwaddr xx-xx-xx-xx-xx-xx, ipaddr 192.168.2.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 5192 bytes read
Entry at 0x80001000
Ewidentnie czeka, ale nie udało mi się wbić z firmware w tym czasie. Potem kontynuuje bootowanie.
Closing network.
Starting program at 0x80001000
Linux version 2.6.22.19 (root@tomato) (gcc version 4.2.4) #7 Sat Jul 7 19:22:14 CEST 2018
Jeśli przerwe mu start i mam znak zachęty CFE> pingi zaczynają ładnie dochodzić
Request timed out.
Request timed out.
Reply from 192.168.2.1: bytes=32 time=1ms TTL=100
Reply from 192.168.2.1: bytes=32 time=1ms TTL=100
Reply from 192.168.2.1: bytes=32 time=1ms TTL=100
Reply from 192.168.2.1: bytes=32 time=1ms TTL=100
Reply from 192.168.2.1: bytes=32 time<1ms TTL=100
Reply from 192.168.2.1: bytes=32 time=1ms TTL=100
CFE>
https://openwrt.org/docs/techref/bootloader/cfeMoj boot to"Bootloader version v0.07" tak że większość opisanych komend nie jest zaimplementowana w tak starej wersji, albo nie działa tak jak opisują.
Moje CFE>
CFE> help
Available commands:
et Broadcom Ethernet utility.
nvram NVRAM utility.
reboot Reboot.
flash Update a flash memory device
go Verify and boot OS image.
boot Load an executable file into memory and execute it
load Load an executable file into memory without executing it
save Save a region of memory to a remote file via TFTP
param Set router parameters.
ifconfig Configure the Ethernet interface
help Obtain help for CFE commands
For more information about a command, enter 'help command-name'
*** command status = 0
jest komenda flash
CFE> help flash
SUMMARY
Update a flash memory device
USAGE
flash [options] filename [flashdevice]
Copies data from a source file name or device to a flash memory device.
The source device can be a disk file (FAT filesystem), a remote file
(TFTP) or a flash device. The destination device may be a flash or eeprom.
If the destination device is your boot flash (usually flash0), the flash
command will restart the firmware after the flash update is complete
OPTIONS
-noerase Don't erase flash before writing
-offset=* Begin programming at this offset in the flash device
-size=* Size of source device when programming from flash to flash
-noheader Override header verification, flash binary without checking
-mem Use memory as source instead of a device
*** command status = 0
wpisuje flash -noheader firmware.bin (serwer postawiony na pc 192.168.2.2. ip routera 192.168.2.1)
CFE> flash -noheader firmware.bin
flash0.0: Device not found
*** command status = -6
mówi że nie ma flash0.0 , próbowałem już rożnych kombinacji flash, flash0, flash0,0 i nie wiem na jakim urządzeniu ma to zapisać.
Znalazłem też wątek
http://openrouter.info/forum/viewtopic.php?f=19&t=2479 gdzie pepe2k reanimuje dwa belkiny w tym taki jak mój

, ale opisał procedure programowania kości w programatorze. Trochę mi to pomogło. Nie chce mu zawracać głowy na priv, ale pewnie potrafiłby pomóc. Wyczerpały mi się pomysły. Proszę o pomoc i wyrozumiałość , jeśli czegoś nie ogarniam.
Pozdrawiam
Dodane 5 sierpnia.
Nikt nie potrafi mi pomóc ??