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

    Machinename.local not working (from one day to another)

    Scheduled Pinned Locked Moved
    Duet Web Control
    9
    17
    766
    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.
    • DocTruckerundefined
      DocTrucker
      last edited by

      Do you mean you don't have access to the router settings or the router doesn't have an IP Address reservation system?

      If the latter try restricting the IP Addresses the DHCP server uses to a specific range (eg 100-254) and set the duet to use a static IP address (somewhere in the 2-99 range for previous example).

      Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

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

        @taconite said in Machinename.local not working (from one day to another):

        Hello guys,

        I always connected to the printer via machinename.local. The name is set up in the config.g file. At first I needed to install the bonjour-services (from Apple) to get it to work. Now it was working for half an year and from one day to another it stopped working. I still can connect to the board via the IP adress. The thing is, that I can't set a static IP in the router so the adress is changing every 30 days (which is really annoying).

        I tried to update the bonjour service but I had no luck.
        Any suggestions?

        Best Regards

        have a look at this thread https://forum.duet3d.com/topic/11425/upgrade-from-1-22-6-to-1-24-has-goosed-local-addressing/7

        taconiteundefined 1 Reply Last reply Reply Quote 0
        • taconiteundefined
          taconite @DocTrucker
          last edited by

          @doctrucker Thank you for your reply!
          I have access to the router but is doesn't have a reservation for IP's.
          I tried this, cause I read it on another tread. the DHCP range is from .1 to .199 so I tried 205. If i just send the M587 command it replys the new IP address.

          But:
          I can still reach the duet over the old IP assigned by the router (.114). So now the big question is If i have to delete the old IP address from the routers memory?

          Custom ANET A8
          Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

          All I do here is under this license: CC BY-NC-SA

          1 Reply Last reply Reply Quote 0
          • taconiteundefined
            taconite @A Former User
            last edited by

            @bearer currently I am using Version 2.02 of the Firmware
            " FIRMWARE_VERSION: 2.02RC5(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-11-28b1
            and I did no Upgrade. Maybe I miss something but it just stopped ....

            Custom ANET A8
            Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

            All I do here is under this license: CC BY-NC-SA

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

              Thats a bit strange then, my money would be on client side trouble if you didn't change the firmware. Try wireshark to log the traffic and see if you can see the request from your computer and response from the duet?

              I've more or less given up on bonjour and made sure I have a router that can do proper dhcp/dns.

              1 Reply Last reply Reply Quote 0
              • nopheadundefined
                nophead
                last edited by

                I have always found .local hit and miss with any device but my router names hosts it gives DHCP leases to .lan. So machinename.lan works for me and doesn't require anything on the client side.

                1 Reply Last reply Reply Quote 0
                • Danalundefined
                  Danal
                  last edited by

                  I have a number of devices, beyond the Duet, that have mDNS (the open equivalent to Bonjour).

                  Windows machines trying to find "real" Bonjour machines, and/or mDNS machines, are very flakey. Apple machines, both osX and iOS, are close to perfect.

                  So... I quit using it in mixed environments.

                  P.S. Check out the Chrome store for a couple of plugins that will show all mDNS info for the machine on which Chrome is running. Very helpful, if someone does intend to continue to pursue this.

                  Delta / Kossel printer fanatic

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

                    had to do some wiring to test against Duet2Maestro, maybe the windows command line tool that comes with Bonjour may kickstart things.

                    dns-sd -G v4 hostname

                    (at least forcing it to browse for _arduino_.tcp services seems to help platformIO with OTA stuff when it gets cranky. Seems solid on Linux, but Windows is a lottery).

                    @Danal which plugin? Searching for mDNS didn't seem to get any matches to what you describe

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      MDNS protocol is not currently supported on Duet Ethernet or Duet Maestro. It is supported on Duet WiFi.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • taconiteundefined
                        taconite
                        last edited by

                        Wow ... it seems like I found the issue. My machine name was (all the time when it was working and not working) e.g. xx-yy. Now I changed it to xxyy and not it is working like a charm again. Any ideas why this happens. There currently was a firefox update so maybe it has something to do with that

                        Custom ANET A8
                        Custom Delta: D-PATCH (Delta Printer with Automatic Tool CHanging) https://forum.duet3d.com/topic/16082/d-patch?_=1596131234754

                        All I do here is under this license: CC BY-NC-SA

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

                          might have something to do with local search domain, but that would suggest mDNS never worked and your router is doing the DNS work

                          (nope, read that as xx.yy not xx-yy so that would not affect the search domain)

                          1 Reply Last reply Reply Quote 0
                          • Vetiundefined
                            Veti
                            last edited by

                            the entire mdns name resolving is very fragile and should not be relied upon.

                            i would suggest to see if your router is supported by openwrt and flash that. or consider replacing your router with one that supports alternative firmwares.
                            this has multible benefits.
                            you have a lot more configuration options
                            more secure than as it does get security patches.

                            i personally run a small machine with a celeron (which uses 6 watts) as my router running ipfire.
                            the name resolution is done via dns, so for me it does not rely on mdns and it work even on machines that do not support mdns

                            1 Reply Last reply Reply Quote 0
                            • dragonnundefined
                              dragonn
                              last edited by

                              mikrotik routes have build in DNS server.
                              And they have a lot options more, good solution for some with doesn't like fiddling around with alternative firmware. The basic/normal models doesn't cost more then a regular good router.

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

                                I would think its safe to say any consumer or nat capable router has built in dns server, what sets them aside is the dhcp and dns server talking to each other (or in the case of openwrt w/dnsmasq, being the same server daemon)

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