1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Robo's OctoPrint

Discussion in 'Software' started by Todd Wessendorf, Jun 3, 2017.

  1. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    Which leads me to my next stupid question, how do I modify config.yaml? The Pi starts the Robo App automatically so not sure how to get to a text editor . . . . .
     
  2. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    SSH, learn about it! If you are on the Windows platform you can use Putty or Bitvise SSH.
    The config.yaml is located in /home/pi/.octoprint/
     
  3. Kilrah

    Kilrah Well-Known Member

    Joined:
    Apr 18, 2017
    Messages:
    498
    Likes Received:
    332
    On Windows WinSCP allows you to get a file browser through the same ssh connection and lets you download/upload/edit files in a more "Windows-like" graphical way.
     
    #23 Kilrah, Jun 9, 2017
    Last edited: Jun 9, 2017
  4. Talanvor

    Talanvor Member

    Joined:
    Oct 10, 2015
    Messages:
    47
    Likes Received:
    19
    Another good thing about the rpi is that everything is an SD card so you can also shut down octoprint and mount the file system on another machine
     
  5. Talanvor

    Talanvor Member

    Joined:
    Oct 10, 2015
    Messages:
    47
    Likes Received:
    19
    Did they change the std root password? I am not at home or I would check.
     
  6. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    A few points:
    1. The standard password is still in place, Username = pi & Password = raspberry
    2. If you pull the SD card and mount it on Windows you only have access to the /boot partition, everything is not accessible.
    3. BitViseSSH works better than WinSCP is your primary requirement is SSH as opposed to SFTP. BitVise and WinSCP do both.
    4. If all you care about is SSH then Putty is lean and mean
    A suggestion here, although you might feel more comfortable downloading a file from the Pi to your PC to edit it there, unless you are familiar with the differences in file formats between TEXT files created in Windows and those created on a Linux system, you will be better served learning a bit of Linux and trying to do everything you can within an SSH session.
     
  7. Talanvor

    Talanvor Member

    Joined:
    Oct 10, 2015
    Messages:
    47
    Likes Received:
    19
    Sorry Waldo I forgot to include the *NIX thing to the mount statement.
     
  8. Talanvor

    Talanvor Member

    Joined:
    Oct 10, 2015
    Messages:
    47
    Likes Received:
    19
    The nice thing is there are Linux containers and bash that run on Windows, like Ubuntu and now suse
     
  9. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Yes true but without installing some additional drivers a default Windows install does not allow mounting of EXT4 partitions natively. Plus sometimes you want to see the result of what you are doing right away, You can't do that if you remove the µSD card to mount it in Windows. I can also continue to print something while I edit files on the rPi in most cases if I do it in an SSH session.
     
    #29 WheresWaldo, Jun 9, 2017
    Last edited: Jun 10, 2017
  10. Talanvor

    Talanvor Member

    Joined:
    Oct 10, 2015
    Messages:
    47
    Likes Received:
    19
    btw I just went through and enabled accesscontrol and all seems to be working correctly. now... ill update if there are any problems.
     
  11. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,912
    Likes Received:
    7,338
    Why don't you document what you did as a
    Mods and Upgrades
     
    Geof likes this.
  12. Talanvor

    Talanvor Member

    Joined:
    Oct 10, 2015
    Messages:
    47
    Likes Received:
    19
    i will once i run it for a little bit, seeing if i find any weirdness.
     
    Geof likes this.
  13. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    Nice! Where did you find the file. I don't have this folder on my Pi /home/pi/.octoprint/ I have /home/pi/Octoprint .. . . but no config.yaml there
     
  14. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    Scratch that . . . used Bitvise instead and I see the folder there now, as well as a terminal window. Didn't see those with WinSCP
     
  15. Talanvor

    Talanvor Member

    Joined:
    Oct 10, 2015
    Messages:
    47
    Likes Received:
    19
    It is there, in raspian it won't show you .directories by default. Just type from the pi folder cd .oct and hit tab and it should load it for you
     
  16. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    See I told you BitViseSSH was good.
     
    Todd Wessendorf likes this.
  17. Kilrah

    Kilrah Well-Known Member

    Joined:
    Apr 18, 2017
    Messages:
    498
    Likes Received:
    332
    Just needed to show hidden files.
     
    Todd Wessendorf likes this.
  18. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    Latest version of OctoPrint (1.3.4) detects and starts the camera automatically so you don't have to click the "Start Video Stream" item from the System drop down menu. My R2 currently has 1.3.2 . . . . would like this new feature for the R2, so hopefully when the Robo team gets to it, we'll have it in the next update.
     
  19. WheresWaldo

    WheresWaldo Volunteer ( ͠° ͟ʖ ͡°)
    Staff Member

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    You can upgrade OctoPrint on your own without waiting on Robo.
     
  20. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    It says updates are disabled, and I worry if I over-ride that, I'll get myself into a mess. Not the sharpest knife in the pool here.
     

Share This Page