dvtirol / pynetinstall

Module to perform Mikrotik Routerboard Netinstall via Etherboot
GNU General Public License v3.0
67 stars 9 forks source link

Cannot make it work for version 7.16 #9

Open xhenner opened 1 week ago

xhenner commented 1 week ago

BOOTP/TFTP are fine, but when trying to make it work past that, nothing is happening Any idea ?

2024-11-14 09:11:38,927 - [INFO ] -> Device found! mac=xx:xx:xx:xx:xx, model=RB4011iGS+, arch=arm
2024-11-14 09:11:38,927 - [DEBUG] -> Resolved File-Data from the BufferedReader
2024-11-14 09:11:38,927 - [DEBUG] -> Sending the offer to flash
2024-11-14 09:11:38,927 - [DEBUG] -> Executing the b'OFFR\n\n' command
2024-11-14 09:11:38,928 - [DEBUG] -> Waiting for the Response b'YACK\n'
2024-11-14 09:12:03,963 - [DEBUG] -> State is [1, 0], but should be [1, 1] (tried 26 times), aborting.
2024-11-14 09:12:03,963 - [ERROR] -> Flashing failed: Did not receive response to b'OFFR\n\n' (expected b'YACK\n')
uedvt359 commented 1 week ago

what versions of the netinstall bootimage are you using? it might be that the one you're trying it with is too old

xhenner commented 1 week ago

tried with the one from netinstall 7.15, 7.16 and 7.16.1. I extracted them myself either with your script or by launching the linux version of netinstall and asking netinstall to get me the image by tftp (which gives the exact same file) My hardware has a minimum version of 7.12, the reason I need to retool our mikrotik provisionning that worked well with version 6

uedvt359 commented 1 week ago

i don't have an RB4011 at hand, so i'd need some wireshark traces please. one with the failing pynetinstall and one (that hopefully works) from the official tool