Cannot set up duet 2 WiFi on Mac using SerialTools
-
Hi,
I am new to the duet world and I am following the instructions here https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7 to connect the duet to my MacBook Pro using SerialTools. However, I cannot get past step 5 of the guide, as all the other steps don't have instructions anymore for the Mac configuration using SerialTools. I keep getting:WiFi reported error: no known networks found WiFi module is idle
which from what I understand is normal. However, whatever G code command I run (e.g. M115) to get the firmware version, returns the same error.
Another problem is that my wifi network is a public (university) one called 'eduroam' and required both a username and password to set-up. What command should I use to get my duet wifi connected to this?Any help would be greatly appreciated,
Thanks,
Giuseppe
-
Have you tried step 7 yet?
https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s8
@giusciccone said in Cannot set up duet 2 WiFi on Mac using SerialTools:
Another problem is that my wifi network is a public (university) one called 'eduroam' and required both a username and password to set-up. What command should I use to get my duet wifi connected to this?
That type of wifi network with SSID, username, and password is not supported. It's also probably not a great idea to connect the printer to a widely public wifi network.
As an alternative, you can use the Access Point mode of the Duet itself to create it's own SSID and password and then connect your device to that network to interact with the Duet.
https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M589_Configure_access_point_parameters
-
@phaedrux Thank you! Yes, I have tried step 7 but it gives the same error specified in my previous post Do you think changing the baud rate would help in any way? Or any other settings?
Thank you for the advice on the network connection, I will have a look at the link you shared.
-
So does this not work?
If you have a Duet 2 Wifi or Duet 3 Mini 5+ WiFi, you may find you are getting a lot of messages like "WiFi reported error: no known networks found". The default configuration turns on the WiFi, but it is not finding a network to connect to. To stop the WiFi, send M552 S-1 (see M552 in the G-code dictionary).
-
@phaedrux I don't have access to the duet2wifi now, but when I was trying this morning it seemed not to work, as when I ran the command to get the firmware version (after running M552 S-1) I still kept getting ```
undefinedWiFi reported error: no known networks found WiFi module is idle
I will try in the morning again when I will have access to the board, and let you know. Thanks for your help!
-
I suppose you could try using screen instead of serialtools to see if that's the issue.
-
@giusciccone See this thread about someone having issues with SerialTools: https://forum.duet3d.com/topic/23545/mini5-wifi-set-up
SerialTools is a bit finicky about input; you have to get the command right, without pressing delete or cursor keys. I think it sends each character to the Duet as you type them, rather than when you press return. If you navigate away from SerialTools to another application, and then back, in the middle of writing the command, it won't work. You should get an 'ok' when a command goes through correctly.
Also, make sure you're using straight quotes, eg " rather than curly quotes, eg ”
Ian
-
HI @droftarts, it worked!!! I think it was a matter of how I was sending the commands: I did not know that each character went to the duet as I typed them - this made a huge difference, thank you!
Do you have any advice on how to connect it to a network that requires a username and a password? Or whether there is a way around this? I am using it in my university and that's the only network available. @Phaedrux gave the suggestion to configure an Access Point mode of the duet itself, but not sure how to do that.
Thanks!
-
@giusciccone great, glad that helped. I don't think it's possible to connect the Duet to a corporate style network; it only supports relatively simple networking protocols. And as @Phaedrux pointed out, it would be potential dangerous to expose the printer on a public network.
To set the Duet up as an access point, see https://duet3d.dozuki.com/Wiki/Setting_up_networking_on_Duet#Section_Configuring_Duet_in_WiFi_Access_Point_mode
Ian
-
@droftarts ok, thanks for the info. Do you think it is possible to use my iPhone's hotspot as a network?
-
@giusciccone (after running the M587 command using my hotspot, I don't get any response from the terminal)
-
@giusciccone I think that should work, so long as it's a 2.4GHz hotspot. iPhone 12 and later create a 5GHz hotspot, but you can switch them back to 2.4GHz by setting the "Maximize Compatibility" toggle to the ON position in the Setting > Personal Hotspot.
Ian
-
This post is deleted! -
@droftarts You have been very helpful, thank you! It turns out the problem was that both my password and SSID were lower case and I was not using the single quotes to specify that!
After the duet2wifi is connected to the WiFi (blue led on), should I remove the USB and proceed to the wiring? or what are the intermediate steps?
-
@giusciccone If you can connect via Duet Web Control (DWC), then yes, you can disconnect USB and continue with your wiring/commissioning.
Ian