Duet2 WiFi V1.04 board running 2.03.3 firmware
-
@Phaedrux Just a quick update, I really think that there is a problem with the router now. Prior to attempting to change the board to Duet the printer ( A delta with 500mm base sides and 1mt hight) was running reprap firmware and DWC on a SKR1.4turbo board and has been for many months, but putting the SKR back in has produced the same problem as the duet board i.e I get the same result of Failed to retrieve network list- SPI timeout. Failed to connect etc. I also updated the firmware to 2.05.1 to try it and got the same result.
-
You should still be able to set the Duet to access point mode.
-
@Phaedrux Unfortunately no, all I get is- Failed to configure access point parameters.
Error retrieving WiFi status message: Bad reply format version. -
I don't suppose you could grab a screenshot of the terminal after trying to configure it?
-
@Phaedrux ! The SSID and password you see are vodafone make up, they are changed when the problem is solved
-
@lexia I forgot to add that when the board is switched on the led on the wifi unit flashes once
-
I don't see where you're sending M552 S2 to actually enable the access point mode.
To use AP mode:
Send a M589 command once from the console, or via macro to set the access point name, IP address etc. These parameters will be saved within the WiFi module.
The password must be at least 8 characters long. See notes of M587 for valid characters.
The M589 command will fail if the WiFi module has not yet been taken out of reset. So if the WiFi module has not been started, send M552 S0 to put it in idle mode first.
M589 does not work from within config.g at startup.
Use M552 S2 in config.g to start the wifi module.
WPA2 security will be used by default.
Look for the wireless network name you specified on your device and connect to it using the password you set. -
@Phaedrux Success (sort of) I think an eye test is due because I completely missed the M552 S2 instruction. Now the board shows the WiFi connected as does cutecom, but I still cannot connect to web control and the connection does not show up on the router manager, so I need to get in touch with Vodafone again.hopefully it is something that I am overlooking because I have never used the Guest channel on the router
-
@lexia said in Duet2 WiFi V1.04 board running 2.03.3 firmware:
I still cannot connect to web control and the connection does not show up on the router manager,
You misunderstand the point of Access Point mode. It won't show up in your router at all because it bypasses the router entirely. In this mode the Duet become its own router and creates its own SSID which you name. You must connect your device to this new SSID. This is to verify that the Duet wifi module is in fact capable of functioning.
-
@Phaedrux Apologies for the delay with reply, Vodafone still insist that the router is all good although I cannot connect anything with WPS so waiting for engineer visit. I have now managed to get the following on Cutecom- WiFi module is providing access point xxxxxxxxx44, IP address 192.168.5.30. the led is solid on the wifi unit, but I can't get any further, entering the IP address into a tablet connected to the network results in a connection timeout message, so I'm thinking that maybe there is a missing or wrong file on the sd card. Is it possible to give me a list of files that should be on the card for it to work properly.
-
Once again, I think you misunderstand what access point mode is doing. The Duet is creating a wifi network, It doesn't use your existing router at all. You must connect your device to this new network in the same way you would join a new wireless network you've never joined before. Only then can you access it via the IP address.
-
@Phaedrux I probably am not explaining properly, I understand that I need to connect to the access point, but that is where the trouble starts. Not having used an access point before I am working in the dark to some degree. When I had the printer set up (using the SKR V1.4Turbo board) I typed the IP address into the browser and DWC popped up and everything worked just fine, so I assume that I do the same for an access point, but in fact nothing happens apart from after a while I get the message that the command had timed out. This is why I am wondering if there may be something missing from the sd card,
-
@Phaedrux Yes it does, in fact it provides 2 circuits ie: the main circuit of 2.4 Mhz and 5Mhz , and a guest circuit of both 2.4 and 5Mhz. I have tried 2 desktops (wired) 1 desktop (WiFi) and 2 tablets (WiFi) all with the same results. The Duet gives 1 flash and then a solid blue led on start and switches the WiFi off when issuing M552 S-1. The only thing that seems a bit odd to me is that once switched off the WiFi will not switch on again unless I disconnect and reconnect the power.
-
@lexia The M589 command you are sending seems to be trying to replicate the Vodafone access point name and IP address - don't do this! You are not trying to connect the Duet to the Vodafone router, you are trying to make the Duet it's own WiFi network. Send something like this to the Duet:
M552 S0 M589 S"DuetSSID" P"abcd1234" I192.168.1.1 M552 S2
Then go to your PCs WiFi network chooser, and connect to the WiFi network called "DuetSSID", using the password "abcd1234" (note, this isn't very secure!).
If your PC has a wired connection as well as wireless, you should still be able to connect to the network/internet. If you only have WiFi, you will be cut off from the internet while connected to the Duet.
In either case, go to a browser tab and type the address "192.168.1.1", it should take you to the Duet Web Control page on the Duet.Maybe the image here might help explain: https://docs.duet3d.com/en/User_manual/Machine_configuration/Networking#configuring-duet-in-wifi-access-point-mode
Ian
-
@droftarts Thanks for the information, thats a big step forward, I now have DWC on a browser. Now I can get on with upgrading the Duet and then I have to change all the plugs on the printer,a fair bit of work to do. Having said that, there is a problem with the web control is that when it starts I get a message to say that it failed to connect because of an incompatible firmware version,but it does not indicate which firmware, but I am not worried about this until I have upgraded the board. So once again thanks very much for all the help I have received to get this up and running.
-
@lexia Can you post a screenshot of what you see in DWC? Click on the 'Settings > General' menu option to see what version of DWC you are running.
I'd guess you either put a much newer version of DWC on the SD card with the old version of the firmware (2.05.1), or have a new version of the firmware with an old version of DWC. This might make updating via DWC difficult. If you still have firmware 2.05.1 on the Duet, replace the contents of the www folder on the SD card with the contents of this zip file: https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/DuetWebControl-SD-2.0.7.zip
Ian
-
@droftarts Could'nt get to general settings until I replaced the www folder, but as you can see everything is OK so your assessment was correct first time, thank again.