I am trying to connect to my single board computer terminal, which has OpenWRT Linux. in order to do that, I connect the board serial pin (UART) to my pc and access to the terminal using Putty. I need to modify some network configuration file.
1- I only have vi or vim editor on my Linux.
2- I cannot install any other editor using package manager because I do not have access to the internet and also my USB port.
there are some tutorials on the net that introduced some commands but they are not working for putty in serial mode.
for example, vi can be opened in 2 modes, command mode and edit mode
I can go to edit mode by typing i and exit from this mode by Esc key. but I cannot save the modifications.