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

    Webserver won't start

    Scheduled Pinned Locked Moved Solved
    Duet Web Control
    4
    76
    2.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.
    • Haffwalkerundefined
      Haffwalker
      last edited by

      Wireshark gives me this:
      0fc92bac-b14c-4de3-8272-f557827ea85f-image.png

      so it should recieve 192.168.137.22 as ip adress, but i cant ping it nor is it in listed in arp -a.
      57f2639e-8c09-4efe-b7d7-16ea99aa4aac-image.png

      29da3773-535e-4ee8-983a-ecbc6eafe68a-image.png

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by A Former User

        is this with just the computer and the duet on a switch? can you save and upload the .pcap file somewhere? gofile.io or similar?

        (at a glance it looks like the duet isn't sending its mac address as part of the dhcp discovery)

        Haffwalkerundefined 1 Reply Last reply Reply Quote 0
        • Haffwalkerundefined
          Haffwalker
          last edited by

          This is what I get when I connect the Ethernet cable directly to my pc and the duet.

          I can't find the Duet's Mac Address anywhere in Wireshark...

          I also got a DSO0138 if that helps troubleshooting....I think, that the ethernet module is broken.

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            as laid out earlier, a direct connection isn't the best option as windows takes a while from the link status goes up until its ready with a static ip to start logging and/or serving dhcp.

            anyways, still like to have a peak at the whole .pcap for any arp or mdns traffic etc, as well as looking as the ethernet source for the packets etc. but for now it would appear the ethernet module is the culprit, given the firmware isn't corrupted - which is unlikely given the downgrades

            1 Reply Last reply Reply Quote 0
            • Haffwalkerundefined
              Haffwalker @A Former User
              last edited by

              @bearer I try to upload to gofile.io, but it doesnt work...I zipped my pcap file into an rar archive and added .txt to the end, to be able to upload it directly...so simply remove .txt and you should have an rar archive.duetethernet.rar.txt

              I hope this is allowed (and works).

              droftartsundefined A Former User? 2 Replies Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @Haffwalker
                last edited by

                @Haffwalker I’m still puzzled by why you got an IP address initially. But does increasingly look like a failure of the Ethernet module. How long ago, and where did you buy it? Warranty is 6 months.

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                Haffwalkerundefined 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @Haffwalker
                  last edited by

                  Right, I'm guessing you haven't put a static IP address on your computer and the DHCP requests are from the local machine.

                  The only thing the log actually tells me is that there isn't a single frame that isn't from your computer, i.e no traffic from the Duet. Two possible explanations, either it didn't get a DHCP response before window was ready and stopped trying, or it never started trying. This is why the switch is needed so windows and wireshark is up to speed before the Duet establishes a link status.

                  1 Reply Last reply Reply Quote 0
                  • Haffwalkerundefined
                    Haffwalker
                    last edited by Haffwalker

                    I got the Duet Ethernet back in January 2019 for a different project (I did optimize a Deltatower RTA420, because the owner wasn't happy with it's performance, which he now is), but went for the Duet Wifi instead, so the ethernet was sitting under my workbench for over a year now...so no warranty anymore...Well then i probably blow this one up with a bunch of fireworks and get a Duet Wifi instead.
                    Thanks everyone for your time and help!!!

                    PS: I currently run three Duet 2 Wifi boards...but wanted to use the Ethernet and get a Maestro as well, to have the full set ^^

                    PPS: Will also get Duet 3 as soon as I start building a CNC machine...

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @Haffwalker
                      last edited by

                      @Haffwalker You can get just the Ethernet module, if you want. https://www.duet3d.com/DuetEthernet_Module

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      1 Reply Last reply Reply Quote 0
                      • Haffwalkerundefined
                        Haffwalker @droftarts
                        last edited by

                        @droftarts I bought it from makerdise

                        1 Reply Last reply Reply Quote 0
                        • Haffwalkerundefined
                          Haffwalker
                          last edited by

                          Just found an old switch...will try tomorrow! Not sure about how to set everything including tftpd up, but will find out eventually.

                          1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User
                            last edited by A Former User

                            its been a while but from memory

                            1. connect computer to switch
                            2. set a static ip for your wired network https://www.google.com/search?q=window+static+ip
                              • ip 10.10.10.1
                              • netmask 255.255.255.0
                            3. configure tfpd64 by clicking the setup button (bottom center of the window)
                            4. open the global tab and make sure dhcp is ticked
                            5. open the dhcp tab and fill in
                              • ip pool start address 10.10.10.10
                              • size of pool 10
                              • mask 255.255.255.0
                              • bind dhcp to this address 10.10.10.1
                            6. close settings and restart tftpd64.
                            7. start wireshark and begin capture
                            8. plug in network cable for the duet
                            9. power up the duet.
                            10. enable the network on the duet with either config file on sd card or by sending M552 S1
                            11. pray

                            you can use whatever private address you like, using 10 is faster to type imho, but techincally its a little dirty to use that netmask with that class of network but hopefully we don't have to go off topic on that any more than i just did...

                            1 Reply Last reply Reply Quote 1
                            • Haffwalkerundefined
                              Haffwalker
                              last edited by

                              I did all of the steps provided, now the green led is blinking less frequently, but still doesn't work.

                              1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User
                                last edited by

                                and presumably no packets shown if you enter bootp as a display filter, some arp traffic likely, but doubt its relevant

                                Haffwalkerundefined 1 Reply Last reply Reply Quote 0
                                • Haffwalkerundefined
                                  Haffwalker
                                  last edited by

                                  neither bootp nor dhcp show up anything.

                                  1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User
                                    last edited by

                                    bootp catches both (seems dhcp was added since last time i updated wireshark).

                                    anyways, the horse is sufficiently beaten and still dead.

                                    1 Reply Last reply Reply Quote 0
                                    • Haffwalkerundefined
                                      Haffwalker @A Former User
                                      last edited by

                                      @bearer @droftarts thanks for all of your time and help! I highly appreciate it!
                                      I just ordered an ethernet module...will keep you updated, as soon as it arrives!

                                      1 Reply Last reply Reply Quote 0
                                      • Haffwalkerundefined
                                        Haffwalker
                                        last edited by Haffwalker

                                        15858689949272340094815410625811.jpg 15858690422067305517152523859768.jpg

                                        and now wait...

                                        Can I hit this thing somewhere with 3,3 or 5v and measure any output? Maybe only one of the smd components blew...or maybe try to talk to the w5500 directly?

                                        1 Reply Last reply Reply Quote 0
                                        • Haffwalkerundefined
                                          Haffwalker
                                          last edited by Haffwalker

                                          Hi guys,

                                          so I just recieved the new module and what can I say...it works flawlessly now, so the old module was definately broken.
                                          f6d4bf97-6de3-4ee4-8ee7-2f3940d28b9e-image.png

                                          Thanks to all, for your time and help!!!

                                          How can I close the thread?

                                          A Former User? 1 Reply Last reply Reply Quote 0
                                          • A Former User?
                                            A Former User @Haffwalker
                                            last edited by

                                            @Haffwalker said in Webserver won't start:

                                            How can I close the thread?

                                            awesome!

                                            no need to close, but you can mark it as solved.
                                            https://forum.duet3d.com/topic/7773/forum-feature-mark-as-question-solved?_=1586512391010

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