You might want to read the curl documentation... but there is another (easier) way...
Is the file already downloaded to your computer? If so, just use scp to copy it to your router.
from your computer:
scp < filename > root@< router IP >:/tmp/
You should also verify that you're using the right image for your specific variant... info here:
Finally, it is worth noting that 18.06 has been EOL for years and is unsupported. It has numerous known security vulnerabilities. I realize that your device is a camera (different use case than a normal router, of course) and that 18.06 is the latest version for your model, so there's not a lot you can do... but please take appropriate precautions with respect to securing your device, or consider buying new devices when appropriate.
ssh: connect to host 192.168.0.20 port 22: Operation timed out
lost connection
But I'm not asking for port 22, in fact, I think this old crap only uses port 21.
I tried 'root' as well, no luck. I don't think it uses 'root' the default user is 'admin' and no password.
@stangri@psherman@account4538 ; yes, I'm absolutely sure of the ip. the camera has as 'admin' the root user, this is my assumption, because when it's reset, the defaults are: user: admin password: (blank)
how could I rename the 'root user to admin' without re-writing the firmware of the camera?
thanks for your contribution.
this is such an old device, scp/sftp, won't work. curl or basic ftp, I think are the only real solutions to get the firmware to the camera. perhaps someone may suggest the proper line to use curl?
i got the curl line I tried from here by @honken, and adjusted, accordingly, as I posted earlier:
@lleachii no one seems to know whey the GUI interface won't work. and that's why @honken had used curl. and all I need now is for someone to troubleshoot with me that curl error message:
curl: (26) Failed to open/read local data from file/application