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

Can I access the Robo R2 webcam from outside my LAN

Discussion in 'General Questions' started by Matt730, Jun 5, 2017.

  1. Matt730

    Matt730 New Member

    Joined:
    Jun 5, 2017
    Messages:
    4
    Likes Received:
    0
    I'm new to the whole 3D printing world and the webcam feature on the R2 is super cool. I was just wondering if there was a way I could check in on my 3d printer and connect to the webcam while not on my home wireless network? If I was at work, is there any way I could check how my print is going, possibly by using the app?

    Thanks in advance!
     
  2. Ed Ferguson

    Ed Ferguson Active Member

    Joined:
    Sep 21, 2016
    Messages:
    272
    Likes Received:
    220
    No personal experience myself, but take a look here:
     
    Geof and mark tomlinson like this.
  3. jwmueller

    jwmueller Active Member

    Joined:
    Jun 5, 2017
    Messages:
    169
    Likes Received:
    51
    TeamViewer FTW! I use it to access my CNC machine as I do not have a monitor on it at all.

    The lag is not all that bad.
     
    mark tomlinson likes this.
  4. Matt730

    Matt730 New Member

    Joined:
    Jun 5, 2017
    Messages:
    4
    Likes Received:
    0
    These replies have been very helpful thank you!
    I have another question, Why doesn't my RoboR2 require a login when connecting to octoprint over my LAN? I am a little hesitant to port forward my 3D printer without having it somewhat secured.
     
  5. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    OctoPrint is not a secure app. The current access control built into it is an afterthought. This is how OctoPrint was built and continues to exist. Gina has her hands full with other OctoPrint coding and besides she is not a security expert. I am sure she woul appreciate coding help on the security end if provided.
     
    Geof likes this.
  6. JeffreyB

    JeffreyB Member

    Joined:
    Mar 25, 2016
    Messages:
    71
    Likes Received:
    29
    Actually Robo's version doesn't even have the check box to enable access control. I was going to do it manually on the pi side, but there's no config.yaml file and I'm reluctant to create one since there's not even a settings folder where it should exist. I don't want to muck up Robo's implementation of OctoPi.
     
    Geof likes this.
  7. Geof

    Geof Volunteer Moderator
    Staff Member

    Joined:
    Nov 9, 2015
    Messages:
    6,728
    Likes Received:
    2,328
    if you go that route make a copy of the card file and modify that. That way you can switch back.
     
  8. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    OctoPrint is still OctoPrint, config.yaml is in a hidden directory, Robo didn't change the underlying OctoPrint code, they just skinned it.

    SSH into your Raspberry Pi then execute the following command

    Code:
    sudo nano /home/pi/.octoprint/config.yaml
     
    mark tomlinson, JeffreyB and Geof like this.
  9. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    Let's say we don't want to use port 80? I have two Raspberry Pis in the house, one running the R1+, and another running the R2. I'd like to, say, forward port 8011 to the R1+ and 8022 to the R2. I know how to do this in my router, no problem, but where would I tell OctoPrint that it has been assigned port 8011/8022?
     
  10. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,479
    Likes Received:
    7,303
  11. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    @Todd Wessendorf You shouldn't have to do anything with Octoprint, you could use port forwarding from your router and if someone accesses External IP @ port 8011 then forward that traffic to OctoPrint 1 IP @ port 80, if the request is for External IP @ port 8022 then forward that traffic to OctoPrint 2 IP @ port 80
     
  12. Pilsnerboy

    Pilsnerboy New Member

    Joined:
    Jun 9, 2017
    Messages:
    19
    Likes Received:
    2
    I'm going to bookmark this for reference. ;)
     
  13. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    Sometimes we just try to make things more complicated than they need to be.
     
  14. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    Or maybe some of us are just stupid.

    My router won't let me forward a port to an internal IP address and port. I can only forward port 8011 to 192.168.1.XXX, not to 192.168.1.XXX:80.

    I'll just remote desktop into a computer running in the house, and access them that way.
     
  15. WheresWaldo

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

    Joined:
    Feb 18, 2015
    Messages:
    5,905
    Likes Received:
    3,593
    @Todd Wessendorf
    Buy a better router, one with a real firewall, you'll be glad you did. ;)
     
    Todd Wessendorf and Geof like this.
  16. Todd Wessendorf

    Todd Wessendorf Active Member

    Joined:
    Feb 14, 2016
    Messages:
    125
    Likes Received:
    48
    Upon closer inspection of my Port Forwarding section in the router there was this little tiny button labeled, "Advanced". And there was the setting options you mentioned. Configured and working now as you recommended.

    Thanks, WW! :)
     

Share This Page