I am sorry you are having problems getting your Duet WiFi working with your WiFi network. There are two developments that may help you when they are released:
Work on the Duet Ethernet (like the Duet WiFi but with Ethernet instead of WiFi) is progressing well; In a future firmware update I will add the facility to configure the SSID and password of the router you want to connect to in a file on the SD card.