[klipper] Re: Printing without wifi?

  • From: Harald <hg42@xxxxxxx>
  • To: klipper@xxxxxxxxxxxxx
  • Date: Tue, 13 Mar 2018 01:24:10 +0100

I'm planning to do a demonstration with my printer at a school gymnasium in
a couple weeks.  I won't have access to wifi, and I'm not sure if it's
possible for me to run the printer using Klipper without wifi.

Why? do you mean you cannot use a wifi network of the school? are you
allowed to create your own wifi network?

Generally, you only need a network connection.

The easiest (configuration-wise) way to create a network would
probably be to use your own router or a switch.
Then laptop and printer are in the same network and this will work
directly (at least with a router). The router does not need an
internet connection.

You could also use a wifi capable router to create your own wifi
access point just like you probably have it at home. You could even
take your own router (if your family doesn't need it) and use it just
like at home. It's the same like when you disconnect the internet
cable from your router. You can try this at home by putting all
equipment including the router in another room or similar.

If your laptop has a network connector (Ethernet/LAN), you can also
connect laptop and printer directly via ethernet cable. But you
probably need a cross cable and the network must be configured
manually (meaning no DHCP), I think it would be sufficient to put both
in the same network range, e.g. 10.0.0.1 and 10.0.0.2, netmask
255.255.255.0. If you are lucky, auto-ip will work, too.

 I'll have my
laptop, and I can SSH into my Replicape/BBBW using a USB serial connection.

hmm, that's interesting. How do you do it? ssh uses network, but a
serial line is something different. Do you use ppp over it?
If so, you already have a network connection and you only need to
connect to octoprint from a browser on the laptop using the same IP as
ssh.

If that does not work, for some reason, you might tunnel the octoprint
port through ssh instead with some ssh command line options.

I'm just not sure how I can access Octoprint or start a print without wifi.
Any thoughts?

you could also directly print through the serial connection.
I use printrun for this. But you can also run octoprint on the laptop
and connect it to the serial cable.
The problem with that is how to connect the serial port to klipper. I
am not sure if it can do this directly (instead of /tmp/printer you
would use /dev/serial/by-id/device-name-for-the-serial-cable).

So it depends...

Other related posts: