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

    The problem of connecting DuetWiFi to modern routers.

    Scheduled Pinned Locked Moved Unsolved
    General Discussion
    5
    24
    873
    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.
    • i0n1zeDundefined
      i0n1zeD @i0n1zeD
      last edited by i0n1zeD

      @dc42
      Screenshot_2.png

      @dc42 said in The problem of connecting DuetWiFi to modern routers.:

      PS also, does it connect if you set the router to No Encryption? Perhaps the failure has nothing to do with encryption.

      When the network is open, there are no connection problems, everything is fine.

      But this is not an option to leave the network open for me, I live in a very large house.

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

        looking at the code it seems CCMP is supported. i have connected several esp8266 boards to my network which forces ccmp.

        /**
         * Return the encryption type of the networks discovered during the scanNetworks
         * @param i specify from which network item want to get the information
         * @return  encryption type (enum wl_enc_type) of the specified item on the networks scanned list
         */
        uint8_t ESP8266WiFiScanClass::encryptionType(uint8_t i) {
            struct bss_info* it = reinterpret_cast<struct bss_info*>(_getScanInfoByIndex(i));
            if(!it) {
                return -1;
            }
        
            switch(it->authmode) {
                case AUTH_OPEN:
                    return ENC_TYPE_NONE;
                case AUTH_WEP:
                    return ENC_TYPE_WEP;
                case AUTH_WPA_PSK:
                    return ENC_TYPE_TKIP;
                case AUTH_WPA2_PSK:
                    return ENC_TYPE_CCMP;
                case AUTH_WPA_WPA2_PSK:
                    return ENC_TYPE_AUTO;
                default:
                    return -1;
            }
        }
        
        1 Reply Last reply Reply Quote 0
        • Vetiundefined
          Veti
          last edited by

          the duet has very weak antennas. it could be that the new router wireless signal is weaker and its not enough for the duet.

          try moving closer to the router for a test.

          i0n1zeDundefined 1 Reply Last reply Reply Quote 0
          • i0n1zeDundefined
            i0n1zeD @Veti
            last edited by

            @Veti I wrote above that without encryption, everything connects perfectly.

            And yes, the router is 2 meters line of sight from the printer.

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

              can you tell use the model of the router?

              i0n1zeDundefined 1 Reply Last reply Reply Quote 0
              • i0n1zeDundefined
                i0n1zeD @Veti
                last edited by i0n1zeD

                @Veti MI Ax1800
                I would leave the network open and whitelist, but part of my smart home uses 2.4 and cannot work with a network without encryption.

                fcwiltundefined 1 Reply Last reply Reply Quote 0
                • i0n1zeDundefined
                  i0n1zeD
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by Veti

                    enable ssh on the router and you can have a look at the wireless config. but i would suspect that tkip is enabled

                    https://forum.openwrt.org/t/add-support-for-xiaomi-ax1800-wifi-6-router/66911

                    edit: from the dump in the post

                    nv_wifi_enc=mixed-psk

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

                      question in the picture you posted. you called your network Bazzinga, but in the log you are trying to connect to a DuetWiFi network

                      i0n1zeDundefined 1 Reply Last reply Reply Quote 0
                      • i0n1zeDundefined
                        i0n1zeD @Veti
                        last edited by

                        @Veti The screen with the settings was for the sake of example, as one of attempts to change the name and password.

                        They were always the same when trying, of course.

                        I will try to change the region on my router.

                        droftartsundefined 1 Reply Last reply Reply Quote 0
                        • i0n1zeDundefined
                          i0n1zeD @Veti
                          last edited by

                          @Veti said in The problem of connecting DuetWiFi to modern routers.:

                          enable ssh on the router and you can have a look at the wireless config. but i would suspect that tkip is enabled
                          https://forum.openwrt.org/t/add-support-for-xiaomi-ax1800-wifi-6-router/66911
                          edit: from the dump in the post
                          nv_wifi_enc=mixed-psk

                          Yes, I did it, changed the region to EU.
                          And I also saw "nv_wifi_enc = mixed-psk"

                          But that didn't solve the problem.

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

                            @i0n1zeD see my reply to this thread. There is a possible bug in the Expressif SDK used to build the Duet WiFi firmware, that seems to cause issues with newer routers. @dc42 is looking at it.

                            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

                            i0n1zeDundefined 1 Reply Last reply Reply Quote 1
                            • i0n1zeDundefined
                              i0n1zeD @droftarts
                              last edited by

                              @droftarts
                              Me and others who have similar problems can only wait or use other network equipment?

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

                                @i0n1zeD see this post https://forum.duet3d.com/post/175584
                                This does seem to be a recent problem. There is an upcoming release but I don’t know what changes are being made yet. Until then, unfortunately yes, either wait or use other network equipment.

                                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
                                • fcwiltundefined
                                  fcwilt @i0n1zeD
                                  last edited by

                                  @i0n1zeD said in The problem of connecting DuetWiFi to modern routers.:

                                  @Veti MI Ax1800
                                  I would leave the network open and whitelist, but part of my smart home uses 2.4 and cannot work with a network without encryption.

                                  Hi,

                                  Can you setup multiple SSIDs on your router?

                                  If so you could setup one without encryption just for the Duet until the problem is resolved.

                                  Just FYI, AES works fine for me with my Duets and recent model EnGenius Access Points.

                                  Frederick

                                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

                                    i just got a new router and set 802.11w to optional.

                                    i had some old clients that could not connect to the wlan until i disabled it.

                                    maybe that is what is causing the problems with new devices.

                                    802.11w will be mandatory for wpa3 and newer devices need to support it.

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