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
    978
    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.
    • jay_s_ukundefined
      jay_s_uk @GBusy24
      last edited by

      @GBusy24 yea, try the other one.
      you can get antennas off amazon easily enough. search for a U.FL Antenna for wifi

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      GBusy24undefined 2 Replies Last reply Reply Quote 0
      • GBusy24undefined
        GBusy24 @jay_s_uk
        last edited by

        @jay_s_uk okay 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 @jay_s_uk
          last edited by

          @jay_s_uk I've now switched out the antennas, but still in same condition. No connection. Scratching my head. Here's a pic of the board. Is it a mistake to wire everything up before connecting? I know I've done this before successfully.20250415_191452.jpg

          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 0
          • GBusy24undefined
            GBusy24 @GBusy24
            last edited by

            @jay_s_uk I set my network ...........it remembers it and M587 confirms. I send M552 S1 and get 'No known networks found".

            M587 S"Greg's WIFI" P"**********"
            M587
            Remembered networks:
            Gregs WIFI IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
            TNCAPF318D9 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0
            ok
            M552 S1
            ok
            Error: WiFi module reported: no known networks found

            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 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by

              Just to confirm the situation.... Is this correct?

              • you have two old Duet 2 wifi boards that worked with the wifi network in question previously.
              • you have two new Duet 2 wifi boards with external antenna that both show No known networks found?

              The network in question is a 2.4Ghz network?

              Can you test in access point mode to remove your network from the equation?

              https://docs.duet3d.com/User_manual/Reference/Gcodes#m589-configure-access-point-parameters

              Z-Bot CoreXY Build | Thingiverse Profile

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

                @Phaedrux The answer is yes to all 3 of your questions. It's morning here and I'll try that 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!

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • 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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA