(sorry posting to this old thread but its the most apropriate one i found)
for me the mentioned prolific usb-rs232 converter basically works great too.
one problem i noticed, it somehow "freezes" after some time when no data is sent or received.
i connect via ssh to rb and then just /system serial-terminal usb1 . this works fine as long as i work on it, type commands or get frequently output.
but while i leave the ssh session open, do something else for about 5-10minutes, then looking back on the ssh session, i can not type anything.
what i tried:
- replace serial-cable: have 3 of them, problem is with every cable.
- not using usb hub: attached just the cable directly to rb - no difference, same problem.
- check if serial-terminal responds: seems ok: ctrl-a prefix-key and functions work to e.g. quit serial-terminal. (but else no input works)
- get some output for long time: print date every second on the serial-terminal device - works for 30+minutes ok.
- check logs: set debug rule and filter everything unrelated out, no log messaged when serial-terminal freezes.
- reboot router: this fixes it until it freezes again. but i found out, full reboot not needed, only usb power-reset fixes it too until next freeze.
- upgrade router: recently updated to (actual stable channel) version 6.44 - problem still there.
- somehow find out after what time it freezes: something between 5min and 10min:
Thu Mar 7 00:13:28 CET 2019
Thu Mar 7 00:13:29 CET 2019
Thu Mar 7 00:13:30 CET 2019
Thu Mar 7 00:13:31 CET 2019
Thu Mar 7 00:13:32 CET 2019
Thu Mar 7 00:13:33 CET 2019
Thu Mar 7 00:13:34 CET 2019
^C
onetrix@mh-router:~$ date
Thu Mar 7 00:13:46 CET 2019
onetrix@mh-router:~$ date
Thu Mar 7 00:14:27 CET 2019
onetrix@mh-router:~$ date
Thu Mar 7 00:18:48 CET 2019
onetrix@mh-router:~$ date
Thu Mar 7 00:24:04 CET 2019
onetrix@mh-router:~$ date
Thu Mar 7 00:30:11 CET 2019
onetrix@mh-router:~$ <-- at about 00:40 no input is accepted
pressing ctrl-a works:
onetrix@mh-router:~$ date
Thu Mar 7 00:14:27 CET 2019
onetrix@mh-router:~$ date
Thu Mar 7 00:18:48 CET 2019
onetrix@mh-router:~$ date
Thu Mar 7 00:24:04 CET 2019
onetrix@mh-router:~$ date
Thu Mar 7 00:30:11 CET 2019
onetrix@mh-router:~$
[Q - quit connection] [B - send break]
[A - send Ctrl-A prefix] [R - autoconfigure rate]
what can i check else to find out what causes this issue?
the reason i need this running for long time is because im debugging another device and waiting/watching console for any log messages.
thanks, chris