Skip to content

Instantly share code, notes, and snippets.

@dguerizec
Last active March 16, 2017 16:29
Show Gist options
  • Save dguerizec/af6a14fc5b64d2810f652975049c8d33 to your computer and use it in GitHub Desktop.
Save dguerizec/af6a14fc5b64d2810f652975049c8d33 to your computer and use it in GitHub Desktop.
#!/bin/bash
# run this on bCNC client machine
SERVER="${1:-rpi-cnc}
sudo socat PTY,raw,echo=0,link=/dev/ttyVUSB0,waitslave tcp:$SERVER:8888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment