Page 1 of 1

How to connect to Klipper

Posted: Tue Sep 03, 2019 6:44 pm
by Magoo0876
Hi,
I'm new to this software and stuck during the setup.
So maybe someone with a bit more knowledge could please help me quick.
My printer is an Ender 3 with Klipper Firmware and a Prusa head. I simply bought the software and was pretty sure that there won't be a problem with the network connection. I already tried to forward the virtual serial /tmp/printer connection to a tcp port, but I could not find a way access this via S3D.

Thanks in advance,
Magoo

Re: How to connect to Klipper

Posted: Thu Dec 29, 2022 6:04 pm
by Stroppel
Hey there,

had the same problem and looked for klipper on how to access klipper from remote. In fact, there doesn't seem to exist build in function yet. Anyway I found this Post: https://github.com/Klipper3d/klipper/issues/2154
Using this i just logged in on my klipper Raspi and tried it.

Used Commands:
sudo apt-get install socat
socat -d -d open:/tmp/printer tcp-l:3000,nodelay

pressing ctrl-z and run the command bg is pushing this command in the background. Alternatively it should be possible to just add a & at the end of the command like so:

socat -d -d open:/tmp/printer tcp-l:3000,nodelay&

But i havent tried that.
After that i went to Simplify 3d and tried to access the board via manual config and could directly connect to the Voron.

As i having an print running right now, i will wait till its finished before I go on trying other stuff.. or try to autorun the socat command on startup.

Hope this helps..

Greetings Andreas