USED duet ether-not connecting to web-control
-
What about the ping output?
-
updated fw via YAT to 2.0.3, tried 192.168.1.33 which is what the m552 gives me.
Stll nothing....
-
@chrishamm what do you mean with ping output??
-
@CozyP said in USED duet ether-not connecting to web-control:
M552 S1 P192.168.1.33 ; Enable network
try to remove the P part to enable dhcp acquisition.
-
Machine is connected through ethernet to a desktop with wifi connetion and through usb cable.
If you are using separate interfaces (wifi & eth) on your PC to connect to your home network and duet, than you have a few options:
A You set up somekind of bridge on those interfaces, and use the bridge interface as your interface to the network (assign ip to it etc.)
B You set up different subnets on the different interfaces (For ex. 192.168.1.X and 192.168.2.X both with a subnet of 24 (255.255.255.0))
C you set up your route table manually and specify that your duet's ip should be looked up on the eth interfaceOtherwise your computer will not know which interface whould be used to reach the duet (will not know where to route the ip packets)
I hope this makes sense, if not, ask away, I'm happy to help
-
If the Duet is connected directly to your PC via ethernet, the easiest option is usually to set it up on a different subnet, separate from your home network (the WiFi one), as @denke suggests in option B in his post. This is easiest done by setting the ethernet port of your PC as a different network. This is similar to connecting two PCs together without a router, so if the following isn't sufficient, google "connect two pc directly ethernet".
You should be able to do this using a normal ethernet cable, you're unlikely to need a crossover ethernet cable.
-
Go to “Control Panel -> Network and Internet -> Network and Sharing Center -> Change Adapter Settings.”
-
Click on “Change Adapter Settings.” This will reveal different connections. Select the appropriate connection. Usually, but not necessarily, the connection will be called Ethernet and have the description network cable unplugged. Right-click on the connection and select “Properties.” The local area’s connection properties window will appear.
-
Under the network tab select “Internet protocol version 4 (TCP/IPv4),” then click on “Properties.”
In the Properties windows set the IP address and subnet masks of the first computer to:IP – 192.168.2.1
Subnet Mask – 225.225.225.0 -
Set the IP address and subnet Mask on the Duet as follows:
IP – 192.168.2.2
Subnet Mask – 225.225.225.0
Note: it is important to ensure that the last values of the IP address for both computers are different.
Then connect to the Duet by opening a browser and going to 192.168.2.2
Ian
-
-
OK, i tried removing the P from config.g, nothing happened.
entered m557 s192.168.1.33, nothing happened.Tried the method of @droftarts, but windows 10 says
''ou have entered invalid subnet mask. The subnet mask has to be contiguous. Please entered a valid mask''My question is, HOW I cannot access to Duet web control via usb only????? It was perfectly working on previous PC!!!!! It's unbelievable....
-
should I erase the firmware and re-install?? Even if, there isn't an erase button. Could this be done via yat???
Any solutions to suggest any1??
-
can it be the case that the previous owner could have connected duet ethernet cable to a router and the usb to a pc??? And I am connecting both ethernet and usb to pc???
-
@CozyP connecting the Duet directly to a PC, rather than through a router, will require you to have the Ethernet network on the PC setup to work on the same network as the Duet.
By looking at your previous posts you have the Duet set to use 192.168.1.33 (or 192.168.1.44 now?) either way you need to set the network on the PC:
Navigate to network properties, adaptor options, TCPIP v4 -> properties and ensure the network address you set for the thernet is in the same subnet, in this case 192.168.1.x (don't use 0 or 255 or the Duet's address):
Once that is done and the Duet is connected by ethernet and powered, try pinging the address of the Duet from the windows command prompt/powershell.
If that works, then try going to the address of the duet in a browser.
-
@CozyP said in USED duet ether-not connecting to web-control:
can it be the case that the previous owner could have connected duet ethernet cable to a router and the usb to a pc??? And I am connecting both ethernet and usb to pc???
More than likely! Connecting the Duet to your router is the standard way of connecting any Ethernet-enabled device to your network. I think we assumed that you wanted to connect the Duet to your PC directly, because the router wasn't accessible to the Duet. So yes, connect the Duet to your router, it will solve your problem without having to make any changes, other than reverting the M552 (not M557 as you posted, this does something else) line to:
M552 S1 P192.168.1.33
You are going to need to get familiar with the Gcodes, and what the switches do. S1 enables the network, P### gives the Duet it's ip address. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M552_Set_IP_address_enable_disable_network_interface
If you still want to connect your PC directly to the Duet via ethernet, you need to follow my earlier post about setting your PC and Duet up with a different network subnet.
The USB is only required to power the Duet for initial testing, until you hook the Duet up to a power supply. It does let you control the Duet via YAT too, but most people just use the web interface. Once you have a power supply connected to the Duet, and connection to the web interface, you can disconnect the USB.
There are extensive guides in our wiki, that will help you understand how the Duet works. It's a learning curve, not plug-and-play. See https://duet3d.dozuki.com/Wiki/Step_by_step_guide
Ian
-
I just connected duet to a modem without wifi and it worked. Nothing from the above solutions worked. Seems classical method wins!!!!