Duet Ethernet with Octoprint
-
I'm not an enterprise guru, but from my limited experience you'll have to open both ends of the port.
Most home networks the port going out is open by default. You'll have to open the outbound as well as the inbound, if I'm not mistaken.
-
After some testing, I found that I can access octoprint from anywhere as is because I'm at a University and the IP address is a WAN but for some reason i can't access the DWC from any computer other than one connected to the internet with an Ethernet cable, not even one on the WiFi. Any suggestions as to why.
-
You must designate a static IP to your duet card in the LAN settings of the WIFI router.
Then go to WAN settings and forward a port to that static IP address.When you are inside your network you should be able to successfully connect to DWC using the Local IP address.
If you want to connect OUTSIDE of the local network, then you must navigate to the PUBLIC Ip address and the port you have assigned to the Duet card.Meaning is your Public IP address is 92.45.1.25, and you have assigned the Duet card to port 80 then you would open a browser and in it's address bar type "92.45.1.25:80" and it should connect.
I hope I understood you question and this was the answer you needed.
EDIT: I forgot that you mentioned you are in an enterprise network.
Assigning a static IP in the WIFI router should get you connected without having to forward a port to it as long as you ALWAYS connect to that WIFI connection.
But you'll have to assign ports from the Enterprise networks Firewall to connect from outside of the local network. -
Thomas, i just reread your message and I don't think I answered your question. But I will leave my answer above in case you need that info too.
Let me ask you this.
Do you have the Duet connected with an ethernet cable to the WIFI router, or is it plugged into the wall?
You mentioned you were on an enterprise network. I am guessing there is a separate switch or router handling wired connections in your local network. -
Thomas, i just reread your message and I don't think I answered your question. But I will leave my answer above in case you need that info too.
Let me ask you this.
Do you have the Duet connected with an ethernet cable to the WIFI router, or is it plugged into the wall?
You mentioned you were on an enterprise network. I am guessing there is a separate switch or router handling wired connections in your local network.I'm at a large university so it is just plugged into the wall, but using the same Ethernet port and cable with the octoprint allows me to pull it up on the WiFi but the DWC can only pulled up on devices with an Ethernet connection.
-
Your WIFI router, if the Firewall is enabled will assign it's own ip addresses for devices that are connected to it. So in this case the DUET is not connected to it so it has not been assigned.
Meaning if you have plugged the DUET into the wall, the network switch has assigned 192.168.1.200 to it.
If you try to connect to that address over WIFI, the router doesn't know what you are looking for because it has it's own 192.168.1.200 and it has either assigned that to another device that would cause a conflict, or it hasn't been assigned at all.A simple fix would be to plug the DUET into the WIFI router. Allow the router to assign an IP and then you can connect to it wirelessly. But then you won't be able to connect via a wired connection.
To have both, you'll need to disable the Firewall in the WIFI router, and allow the University's switch to be the sole assigner of IP addresses. Get with the school's IT dept and they should be able to fix this for you very easily.
-
Also, I'll add that you are able to connect to Octoprint over Wifi because I am guessing your Raspberry Pi is connected over WIFI.
Hence you being able to connect to Octoprint, but not the Duet which is plugged into a total different router. -
Also, I'll add that you are able to connect to Octoprint over Wifi because I am guessing your Raspberry Pi is connected over WIFI.
Hence you being able to connect to Octoprint, but not the Duet which is plugged into a total different router.The Octoprint is connected over a tethered ethernet cable same setup as the DWC. Thanks I'll see if the IT department can help
-
If you have your laptop connected to the network wirelessly and you have your Octoprint connected with a cable, you can connect to it?
If you try the same with the Duet, it won't work?
But, it will work if you hook your laptop up to the network with a cable?
-
If you have your laptop connected to the network wirelessly and you have your Octoprint connected with a cable, you can connect to it?
If you try the same with the Duet, it won't work?
But, it will work if you hook your laptop up to the network with a cable?
Correct