Duet2 Wifi - Cannot connect to WIFI



  • Hello,

    I have followed the docs precisely and also forum posts non can seem to help. I'm trying to setup the Duet2 Wifi and it is not accepting my wifi network. I'ts about 1.5M away (Airport Time Capsule on 2.4Ghz).

    When I login via screen no problem, it loops horrible on both ubuntu and mac with crazy tabbing. But anyway we connect and then get:

    WiFi reported error: no known networks found
    WiFi module is idle

    After that I run M115 Command and we see:

    FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-12-24b1

    Great so far so good. Next I try and setup the WIFI noting this is just basic pw to get Duet to work:

    M587 S"OPartridge" P"welcome2017"

    We then get:

    WiFi module is idle
    M587: Failed to add SSID to remembered list
    ok
    Error retrieving WiFi status message: bad reply format version
    WiFi module is idle

    It's not a networt distance issue as I've also tried putting it ontop of the wifi box.

    Just in case.. I try to connect anyway:

    M552 S1

    Nothing still loads of:
    e
    WiFi reported error: no known networks found
    WiFi module is idle

    Anyone have any suggestions here? I was hoping I could just configure via JSON or similar.



  • https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s4

    How are you sending the commands? Via terminal?

    One way to circumvent any weirdness from the terminal garbling your commands is to use a macro which contains the command to add the network, then sending acommand via the terminal to run that macro.

    Alternatively you can edit the config.g on your PC to include the network add command. Boot up the board, it runs config.g automatically, the network gets added, then you can remove that line from the config.g.

    Also, can you confirm the version of your WIFI server firmware by sending M122. The results of the wifi portion are towards the end.



  • Hello,

    Yep via Terminal. I've done the build online as a try and loaded it to the SD Card But then I get:

    WiFi module is idle
    M587: Failed to add SSID to remembered list
    ok

    The M122 Command reports:

    WiFi firmware version 1.21
    WiFi MAC address cc:50:e3:0d:2b:53
    WiFi Vcc 3.38, reset reason Turned on by main processor
    WiFi flash size 4194304, free heap 19968
    Socket states: 0 0 0 0 0 0 0 0
    ok



  • Forgive me I am a complete Idiot. I had setup the wrong Wifi Name on the router when I changed it. Sorry guys and thanks!


  • administrators

    No problem, I'm glad you got it working! Have fun.


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.