Trying to setup - Ethernet Woes



  • My DuetEthernet and PanelDue arrived safely yesterday but I have some issues when setting it up last night and I hope someone can help. I ran through the guide here: https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7?lang=en and can complete up to the end of step 8.

    So to recap,

    • I can connect to the DuetEthernet via the USB and give commands using YAT.
    • I receive a confirmation that the Ethernet connector is on in YAT and an IP address is assigned.

    But

    • I cannot access that address in a browser.
    • I cannot see the connection via my router (there is no connection for that IP address)
    • The connection light on the network switch that the board is it is connected to is also yellow indicating a network issue.

    Any thoughts?



  • If you issue command M552 you should see something like...

    Network is enabled, configured IP address: 0.0.0.0, actual IP address: 192.168.0.202
    

    Is the actual IP address the board is using in the same subnet as the computer you're using?
    For instance, If your computer is using 192.168.0.99, then the Duet2 must also have a 192.168.0.xxx address.
    Can you ping it?

    Are you using DHCP?

    ; config.g
    M552 P0.0.0.0 S1      ; Enable network and acquire dynamic address via DHCP
    M586 P0 S1                ; Enable HTTP
    M586 P1 S1                ; Enable FTP
    M586 P2 S1                ; Enable Telnet
    

    Is the yellow light on the Duet2 ethernet connector lit? That indicates that a link is established.
    The Duet2 only negotiates at 100M so the yellow LED on the switch is probably just indicating that it's operating at 100M instead of 1G.



  • as supplied the Duetethernet config.g has a hard coded IP Address in the 192.168.1.x range IIRC (this is for bench testing before shipping) so if you put the sd card in your computer and edit the Config.G file in the /sys folder it is the M552 line as gtj0 says if you set it to M552 p0.0.0.0 then it will get an IP via DHCP but you can just as easily assign it a manual address so that it should remain the same on reboots etc

    HTH

    Doug



  • Spot on guys, all fixed and up and running.

    Thanks for the speedy help!


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.