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

    2 NEW DUET 2 WIFI's W/EXTERNAL ANTENNA WILL NOT CONNECT

    Scheduled Pinned Locked Moved Solved
    General Discussion
    4
    48
    2.9k
    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.
    • droftartsundefined
      droftarts administrators @GBusy24
      last edited by

      @GBusy24 Does your WiFi network name actually have an apostrophe in it? You're sending:

      M587 S"Greg's WIFI" P"**********"
      

      But the remembered network has no apostrophe:
      Remembered networks:
      Gregs WIFI IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0

      If you need an apostrophe, put two apostrophes in, because it's used to signify a lower case letter in the M587 command. As it says in the M587 notes:

      Use two single quote characters to represent one actual single quote character in the password or in the SSID. For example, if your SSID is "Pete's network" then enter "Pete''s network".

      If that doesn't work, you can get the Duet to scan for networks, which will also check if the WiFi is working. See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m5871-start-network-scan

      From the YAT terminal, send:

      M587.1
      

      Wait for a few moments (30 seconds should be fine), then send:

      M587.2
      

      This should show any WiFi networks it has found.

      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

      GBusy24undefined 1 Reply Last reply Reply Quote 1
      • GBusy24undefined
        GBusy24 @droftarts
        last edited by

        @droftarts Aha! Good to know. Thanks,

        No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

        GBusy24undefined 1 Reply Last reply Reply Quote 0
        • GBusy24undefined
          GBusy24 @GBusy24
          last edited by

          @Phaedrux, @droftarts,
          I've got Access Point setup with the special characters corrected and it's giving me my access point. At this stage, shouldn't I be able to just type that IP into my browser. I'm still missing something. Right? Thanks

          No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

          GBusy24undefined 1 Reply Last reply Reply Quote 0
          • GBusy24undefined
            GBusy24 @GBusy24
            last edited by

            @Phaedrux, @droftarts, @jay_s_uk, Thanks for everyone's help. I'm connected!

            No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

            GBusy24undefined 1 Reply Last reply Reply Quote 1
            • GBusy24undefined
              GBusy24 @GBusy24
              last edited by

              @Phaedrux, @droftarts, @jay_s_uk,

              I've got the solid green light for the wifi module showing and at this point I assumed I could pull up DWC Thru my browser and my static IP, but that's not working for me. So I disconnect USB power and turn main power on and still, no luck. Please advise.

              No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

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

                @GBusy24 Do you have the Duet setup up as an access point (ie you connect phone/tablet/laptop directly to the Duet WiFi, not using your normal network) or have you managed to connect the Duet to your normal router (ie Duet is connected to "Greg's WIFI")? I would recommend just connecting as normal as I think the problem has been the apostrophe in the WiFi SSID name. Setting up the Duet as an access point requires some configuration of the device you are trying to connect to the Duet, so there are more places faults can occur. Perhaps post the commands you are sending in YAT, and the response. What device are you using to try and connect to the Duet?

                When you connect to the IP address, do you get any message in the browser? To show DWC, the SD card needs to be in the Duet, and there needs to be a version of the DWC files in the /www folder on the Duet. The version of DWC should match the firmware version. See https://docs.duet3d.com/en/User_manual/RepRapFirmware/SD_card#sd-card-structure

                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

                GBusy24undefined 1 Reply Last reply Reply Quote 0
                • GBusy24undefined
                  GBusy24 @droftarts
                  last edited by

                  @droftarts Setup as access point.Terminal Snippet.txt

                  No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                  GBusy24undefined 1 Reply Last reply Reply Quote 0
                  • GBusy24undefined
                    GBusy24 @GBusy24
                    last edited by

                    @droftarts I sent a 587 command after that.

                    No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                    GBusy24undefined 1 Reply Last reply Reply Quote 0
                    • GBusy24undefined
                      GBusy24 @GBusy24
                      last edited by

                      @droftarts M587 S"Greg''s WIFI" P"**********" I192.168.0.62

                      No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

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

                        @GBusy24 I think you have set up your Duet with the same SSID name as your existing network. This isn't a good idea. With access point mode, you are setting up a completely separate WiFi network on the Duet, for other devices to connect to (you have to change WiFi network on your phone/tablet/laptop); it doesn't link to your existing WiFi network. As I said, please go back to using the normal mode, and connect the Duet to your existing WiFi network, as I think the initial problem was the use of the apostrophe.

                        Send the following commands from YAT, and post the responses you get:

                        M587 ; lists stored WiFi networks
                        

                        If "Greg's WIFI" (with an apostrophe) is on the list, send

                        M552 S0 ; Set WiFi to idle mode
                        M552 S1 ; turn on WiFi in client mode
                        

                        If "Greg's WIFI" (with an apostrophe) is NOT on the list, send

                        M552 S0 ; Set WiFi to idle mode
                        M588 S"*" ; deletes all saved SSIDs
                        M587 S"Greg''s WIFI" P"**********" I192.168.0.62
                        M552 S1 ; turn on WiFi in client mode
                        

                        This should set up the WiFi correctly, and connect the Duet to your normal network.

                        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

                        GBusy24undefined 1 Reply Last reply Reply Quote 0
                        • GBusy24undefined
                          GBusy24 @droftarts
                          last edited by

                          @droftarts Thanks, I'll do this when I get home from work.

                          No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                          GBusy24undefined 1 Reply Last reply Reply Quote 0
                          • GBusy24undefined
                            GBusy24 @GBusy24
                            last edited by

                            @droftarts Greg''s WIFI was listed, but W/O the apostrophe and I went ahead and ran the commands you said anyway just in case, You can see the 'No network found' result, so I sent the second group of commands you mentioned and my wifi light on the board goes off and I can't connect in normal mode. Head scratching time. Please advise.Terminal Snippet.txt

                            No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                            GBusy24undefined 1 Reply Last reply Reply Quote 0
                            • GBusy24undefined
                              GBusy24 @GBusy24
                              last edited by

                              @droftarts Finally thought to do this that you told me to do a couple of days ago, so I thought I'd let you see it too.Network Scan.txt

                              No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                              GBusy24undefined 1 Reply Last reply Reply Quote 0
                              • GBusy24undefined
                                GBusy24 @GBusy24
                                last edited by

                                @droftarts The only time I've been able to get the wifi module green to turn on is when I set up the access point mode

                                No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                                GBusy24undefined 1 Reply Last reply Reply Quote 0
                                • GBusy24undefined
                                  GBusy24 @GBusy24
                                  last edited by

                                  @droftarts I finally solved it. I'm connected and I just pulled up DWC. Thanks

                                  No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                                  Phaedruxundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator @GBusy24
                                    last edited by

                                    @GBusy24 What was it?

                                    Z-Bot CoreXY Build | Thingiverse Profile

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

                                      @GBusy24 Was it that the IP address sent with M587 was out of range of the router? ie you sent

                                      M587 S"Greg''s WIFI" P"**********" I192.168.0.62
                                      

                                      but router addresses need to start 192.168.1.xxx?

                                      I can see that the network scan showed your WiFi:

                                      ssid=Greg's WIFI chan=1 rssi=-45 phymode=n auth=WPA/WPA2-Personal mac=08:95:2a:f8:6e:36

                                      So it's either a password error or an IP address error.

                                      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

                                      GBusy24undefined 1 Reply Last reply Reply Quote 0
                                      • GBusy24undefined
                                        GBusy24 @droftarts
                                        last edited by

                                        @droftarts @Phaedrux , I think it was both the error with the quotatiion mark and also the I parameter I had in the 587. I'm jusy happy you guys help me solve it. Thanks again.

                                        No such thing as spare time. No such thing as free time No such thing as down time. All you got is lifetime. Go!

                                        1 Reply Last reply Reply Quote 1
                                        • dc42undefined dc42 marked this topic as a question
                                        • dc42undefined dc42 has marked this topic as solved
                                        • First post
                                          Last post
                                        Unless otherwise noted, all forum content is licensed under CC-BY-SA