From 2d705aac1ba18a8faa09f6b0b43ff1b157209214 Mon Sep 17 00:00:00 2001 From: teachingtechYT Date: Thu, 20 Jan 2022 16:21:49 +1100 Subject: [PATCH] Add guides for terminal and SSH --- troubleshooting.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/troubleshooting.html b/troubleshooting.html index 03ff33d..331c3e4 100644 --- a/troubleshooting.html +++ b/troubleshooting.html @@ -12,6 +12,7 @@
  • Tools
  • Frame Check
  • Connecting via Terminal
  • +
  • Connecting to a Pi via SSH
  • First Layer
  • Filament Jams
  • Motor Direction
  • @@ -105,6 +106,8 @@
    +

    This tab has a companion video:

    +

    Connecting via terminal

    Typically, connecting to the printer with any of these software options involves using a USB cable, selecting a port and a baud rate.

    USB cable

    @@ -136,6 +139,37 @@
    +
    +

    This tab has a companion video:

    + +

    Connecting via SSH to a Raspberry Pi

    +

    Connecting to a Pi from your PC is possible via Secure Shell (SSH). This is a protocol for communicating with the Pi remotely. This is needed because we typically run the Pi headless on our 3D printers (no attached GUI).

    +

    PuTTY

    +

    Windows has an in built SSH client but I can never get it to open. Therefore I use the free and open source software PuTTY .

    +

    IP address

    +

    To connect with PuTTY, we need the ip address of the Pi on our local network. If already being used in a working Octoprint or Klipper installation, this is simply the ip address you enter into the browser to access the web interface. Alternatively, you can log in to your WIFI router and retrieve a list of connected devices with their IP addresses. An example ip address is 192.168.1.5

    +

    Default username and password

    +

    The default username for the Pi should be pi and the default password raspberry .

    +

    It is recommended to change this after logging in with passwd .

    +

    Some useful commands:

    +
    ls
    +

    Lists the contents of the current directory.

    +
    cd ..
    +

    Move up a directory.

    +
    cd [name]
    +

    Move to the named directory. You can start to type and then press tab to auto complete the name.

    +
    sudo
    +

    Superuser do command. Added before other commands to give admin/root privileges. Your password will be required after using this.

    +
    sudo nano [filename]
    +

    Nano is an inbuilt text editor. sudo is needed to give file overwriting privileges. Be careful to enter the filename correctly. If you enter a typo, a blank file with that name will be created instead.

    +

    Copying and pasting in PuTTY

    +

    To copy in PuTTY, simply highlight text and it will be copied to the clipboard automatically. This is the equivalent of highlighting and inputing Control + C in Windows.

    +

    To paste in PuTTY, simply right click the mouse. This is the equivalent of inputing Control + V in Windows.

    +

    WinSCP

    +

    Another very useful piece of free software for Windows users is WinSCP .

    +

    The left panel shows a local Windows directory and the right a directory from the Raspberry Pi. Both can be navigated using the graphical interface and files and folders can be moved and copied between the two.

    +
    +

    First layer problems

    In my experience, the number one problem new 3D printer users will have is getting the bed levelled correctly and therefore an adequate first layer on a 3D print.