Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Using Raspberry Pi3 with Duet 2 Ethernet

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    24
    3.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • arnd13undefined
      arnd13
      last edited by arnd13

      Hi,

      the easiest way is to use a bridge. Something like this (small, enough bandwith):

      https://www.amazon.de/Vonets-300Mbps-Router-Wireless-Repeater/dp/B0148NO58W/ref=sr_1_3?ie=UTF8&qid=1544824135&sr=8-3&keywords=vonets+var11n-300

      Costs about 20 euros and can be powered over the 5 Volt pins of the duet.

      I'm using it with my maestro and it's perfect.

      1 Reply Last reply Reply Quote 0
      • incogizmoundefined
        incogizmo
        last edited by

        Whilst I totally agree simplicity is better, there are situations where it makes sense.
        When you are already using the Pi for other things eg motioneye for remote monitoring / recording or octoprint etc.
        I would prefer to minimize additional components.

        1 Reply Last reply Reply Quote 0
        • nikkerundefined
          nikker
          last edited by

          All are great solutions to various scenarios... @incogizmo hit the nail on the head for my scenario, I am using something similar to motion eye to stream jpegs to DWC. I also have 5 RPI3s, about 10 USB Wifi adaptors and other little tid bits. I have a monoprice duplicator 6 with a Duet WiFi and love it. I just decided to give the Ethernet version a shot on a whim. Who knows, I may come up with other ideas where the RPI3 will come in handy.

          1 Reply Last reply Reply Quote 0
          • gtj0undefined
            gtj0
            last edited by

            Here's another possible and much easier solution... use "socat" to bridge the ports...

            Give the duet and the pi ethernet port static addresses say 10.0.0.2/24 and 10.0.0.1/24 respectively then run socat as follows...

            socat \
                   TCP4-LISTEN:80,bind=<pi_wifi_addr>,reuseaddr,fork \
                   TCP4:10.0.0.2:80,bind=10.0.0.1
            

            Now any connection that comes in over wifi to port 80 will get forwarded to the duet's port 80.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA