Skip to content

Instantly share code, notes, and snippets.

@Python1320
Last active October 22, 2022 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Python1320/2f806360533b8cd8faa7fcfe76bdbfee to your computer and use it in GitHub Desktop.
Save Python1320/2f806360533b8cd8faa7fcfe76bdbfee to your computer and use it in GitHub Desktop.
Serial linux<->windows with persistence
#
# https://sourceforge.net/projects/com0com/
#
$ hub4com --baud=38400 --octs=off "\\.\CNCB0" --use-driver=tcp --reconnect=1 "10.0.0.1:2000"
%YAML 1.1
---
connection: &mydevice1
accepter: tcp,10.0.0.1,2000
enable: on
options:
kickolduser: true
telnet-brk-on-sync: true
connector: serialdev,
/dev/serial/by-path/pci-0000:00:14.0-usb-0:1:1.0-port0,
38400n81,local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment