No, I haven't gone that far yet, all I have done now is put the firmware in /tmp/home/root and unzip it. I just want to do manually step by step what the script does.
But I did test curl before, curl can log in to the GUI correctly to get the cookie.
Now both tests I'm doing are getting the same error: The first test was to upload the zip firmware to /tmp/home/root using scp. There was no problem after uploading, no exceptions, but the decompression failed and it reported insufficient space.
After that everything crashed. I just had to turn the power off and restart it.
RT-AC68U was specially used for debugging for this project, so it was restored to factory settings and almost no other settings were made except turning on SSH/turning off WiFi.
The second test was to put the unzipped firmware on a USB drive and then copy it from the USB to /tmp/home/root in the router. As in the second screenshot above, the copy again reported insufficient space.
After the shell crashes, no commands can be executed. But please note that the SSH session is not disconnected at this time.
View attachment 53516
EDIT:
I tend to suspect lack of RAM for this error, but I could be wrong, as with the previous nohup, I also initially blamed it on lack of RAM. In fact I care so much about available memory that I might derive the wrong evaluation.
If there's any way you guys can help me determine the cause of the error, I'd love to try it tomorrow. I'll run more tests tomorrow and provide more details, sorry I can't test anymore today.