Trying to unbrick my RG750GL.

:smiley: :smiley: :smiley:

Now i have solved this problem, don’t know why I have to use dnsmasq to serve the netinstall-cli bootp & dhcp, and then using netinstall-cli to install and flash the device, but here you have the commands i have to use to get it working.

sudo systemctl stop NetworkManager.service
sudo ip address flush eth0
sudo ip address add 192.168.88.1/24 dev eth0

sudo ./netinstall-cli -a 127.0.0.2 netinstall-cli &
sudo dhtest -T 5 -o "Mips_boot" -i lo
curl tftp://127.0.0.1/linux.arm > netinstall.mips
sudo killall netinstall-cli

sudo dnsmasq --port=0 --no-daemon --interface=eth0 --dhcp-range="192.168.88.2,192.168.88.254,12h" --dhcp-leasefile=dnsmasq.leases --enable-tftp --dhcp-authoritative --bootp-dynamic --dhcp-boot=netinstall.mips --tftp-no-blocksize --tftp-root="$(pwd)" --log-dhcp --log-queries
dnsmasq: started, version 2.89 DNS disabled
dnsmasq: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset nftset auth cryptohash DNSSEC loop-detect inotify dumpfile
dnsmasq-dhcp: DHCP, IP range 192.168.88.2 -- 192.168.88.254, lease time 12h
dnsmasq-tftp: TFTP root is /home/patrik/Projekt/mikrotik  
dnsmasq-dhcp: 2778116566 available DHCP range: 192.168.88.2 -- 192.168.88.254
dnsmasq-dhcp: 2778116566 vendor class: Mips_boot
dnsmasq-dhcp: 2778116566 DHCPDISCOVER(eth0) 00:0c:42:a3:4a:b6 
dnsmasq-dhcp: 2778116566 tags: eth0
dnsmasq-dhcp: 2778116566 DHCPOFFER(eth0) 192.168.88.4 00:0c:42:a3:4a:b6 
dnsmasq-dhcp: 2778116566 requested options: 1:netmask, 3:router
dnsmasq-dhcp: 2778116566 bootfile name: netinstall.mips
dnsmasq-dhcp: 2778116566 next server: 192.168.88.254
dnsmasq-dhcp: 2778116566 sent size:  1 option: 53 message-type  2
dnsmasq-dhcp: 2778116566 sent size:  4 option: 54 server-identifier  192.168.88.254
dnsmasq-dhcp: 2778116566 sent size:  4 option: 51 lease-time  12h
dnsmasq-dhcp: 2778116566 sent size:  4 option: 58 T1  6h
dnsmasq-dhcp: 2778116566 sent size:  4 option: 59 T2  10h30m
dnsmasq-dhcp: 2778116566 sent size:  4 option:  1 netmask  255.255.255.0
dnsmasq-dhcp: 2778116566 sent size:  4 option: 28 broadcast  192.168.88.255
dnsmasq-dhcp: 2778116566 sent size:  4 option:  3 router  192.168.88.254
dnsmasq-dhcp: 3598205160 available DHCP range: 192.168.88.2 -- 192.168.88.254
dnsmasq-dhcp: 3598205160 vendor class: Mips_boot
dnsmasq-dhcp: 3598205160 DHCPREQUEST(eth0) 192.168.88.4 00:0c:42:a3:4a:b6 
dnsmasq-dhcp: 3598205160 tags: eth0
dnsmasq-dhcp: 3598205160 DHCPACK(eth0) 192.168.88.4 00:0c:42:a3:4a:b6 
dnsmasq-dhcp: 3598205160 requested options: 1:netmask, 3:router
dnsmasq-dhcp: 3598205160 bootfile name: netinstall.mips
dnsmasq-dhcp: 3598205160 next server: 192.168.88.254
dnsmasq-dhcp: 3598205160 sent size:  1 option: 53 message-type  5
dnsmasq-dhcp: 3598205160 sent size:  4 option: 54 server-identifier  192.168.88.254
dnsmasq-dhcp: 3598205160 sent size:  4 option: 51 lease-time  12h
dnsmasq-dhcp: 3598205160 sent size:  4 option: 58 T1  6h
dnsmasq-dhcp: 3598205160 sent size:  4 option: 59 T2  10h30m
dnsmasq-dhcp: 3598205160 sent size:  4 option:  1 netmask  255.255.255.0
dnsmasq-dhcp: 3598205160 sent size:  4 option: 28 broadcast  192.168.88.255
dnsmasq-dhcp: 3598205160 sent size:  4 option:  3 router  192.168.88.254
dnsmasq-tftp: sent /home/patrik/Projekt/mikrotik/netinstall.mips to 192.168.88.4
dnsmasq-dhcp: 3598205160 available DHCP range: 192.168.88.2 -- 192.168.88.254
dnsmasq-dhcp: 3598205160 vendor class: Mips_boot

sudo ./netinstall-cli -k Y7SR-Z6EA.key -a 192.168.88.4 -r routeros-7.13-mipsbe.npk
Version: 7.13(2023-12-14 10:08:11)
Will reset to default config
Interface Mask: 255.255.255.0
Using Client IP: 192.168.88.4
Using Server IP: 192.168.88.254
Starting PXE server
Waiting for RouterBOARD...
Installed branding package detected
Discovered RouterBOARD...
Formatting...
Sending package routeros-7.13-mipsbe.npk ...
Ready for reboot...
Sent reboot command

sudo systemctl start NetworkManager.service

And for the dhtest program.
https://github.com/saravana815/dhtest

Hurray

I found the main problem was, the Routerboard setting of boot protocol was set to dhcp, when I changed this back to bootp, then I can only use netinstall-cli to flash the device back to it’s original manufacture firmware