Cannot set up duet 2 WiFi on Mac using SerialTools
-
@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