2 NEW DUET 2 WIFI's W/EXTERNAL ANTENNA WILL NOT CONNECT
-
@GBusy24 can you post a photo of the board?
-
@jay_s_uk unfortunately, I'm at work right now
-
@jay_s_uk may I ask what you would be looking for on the board and maybe I can help her memory. It is one of the newer boards with the external Wi-Fi antenna
-
@GBusy24 just checking that everything looks ok. as the wifi module appears to be working, the antenna is either not connected correctly or is not functioning.
I've seen cases of antennas not working correctly -
@jay_s_uk I'm really confident that the antenna is connected correctly but I will mention that it is not mounted it is just laying near the board
-
@GBusy24 just laying around is fine. In that case, I would suggest changing the antenna
-
@jay_s_uk okay, but who will sell me just the antenna? I have two because I have two new boards. Maybe I should try the other antenna off of The Other Board
-
@jay_s_uk I will say that when working with the other board the green light on the Wi-Fi module would blink constantly where I get nothing out of this current board I'm working with
-
@GBusy24 yea, try the other one.
you can get antennas off amazon easily enough. search for aU.FL Antenna
for wifi -
@jay_s_uk okay thanks
-
@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
-
@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 -
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
-
@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.
-
@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.0If 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
-
@droftarts Aha! Good to know. Thanks,
-
@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 -
@Phaedrux, @droftarts, @jay_s_uk, Thanks for everyone's help. I'm connected!
-
@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.
-
@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