Did you follow these instructions https://duet3d.com/wiki/Getting_connected_to_the_Duet_WiFi#Connecting_to_your_access_point_using_firmware_1.19_or_later ?