Minicom would be on the *nix-based machine you use to fix the device, not installed on the OpenWrt itself. Kermit is a serial protocol, it would be in the Minicom program.
I was not able to find a tutorial that did not require the OpenWrt box to do something. For example, following this tutorial, everything is fine until I get to "The file receiving side must be waiting to receive the file". I don't know how to make the openWrt switch able to receive the file.
Kermit is also a serial term application, you could do kermit in Kermit ,)
Can you explain how I would do it with Kermit (or any other serial application)? I could be missing something, but it seems to me that after I send a file from the host running kermit, I need to run a GET command on the openWrt box.
There are several project like this one on GitHub, if this one fails.
This is the closes I cam to success, but when I run the program, I get errors like:
File "/run/media/ian/wisdom/projects/serial-transfer/./serial-transfer.py", line 327, in <module>
main()
File "/run/media/ian/wisdom/projects/serial-transfer/./serial-transfer.py", line 324, in main
args.func(args)
File "/run/media/ian/wisdom/projects/serial-transfer/./serial-transfer.py", line 285, in parse_write
return write_files(sio, args.input, args.output, DEFAULT_CHUNK_SIZE, args.perm, args.base64, args.nodirstruct)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/run/media/ian/wisdom/projects/serial-transfer/./serial-transfer.py", line 188, in write_files
if write_file(ser, DEFAULT_LPATH_B64D, DEFAULT_RPATH_B64D, chunk_size, '777', False):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/run/media/ian/wisdom/projects/serial-transfer/./serial-transfer.py", line 152, in write_file
exec_cmd(ser, "mkdir -p %s" % rdir)
File "/run/media/ian/wisdom/projects/serial-transfer/./serial-transfer.py", line 75, in exec_cmd
write_ser(ser, cmd + '\n')
File "/run/media/ian/wisdom/projects/serial-transfer/./serial-transfer.py", line 63, in write_ser
ser.write(unicode(str))
^^^^^^^
NameError: name 'unicode' is not defined
I took that error to mean that the GitHub repo is written in python2. I applied 2to3
to the repo, but got the same error.
frollic, could you suggest another project. When I searched, the projects I encountered were towards writing python programs that involved transfer of serial data. I have not found a python3 project that has a CLI for file transfer over a serial connection.