Could use a little help with changing WIFI



  • It has been a few months since I use my 3D printer. In that time I have installed a new home network. I didn't update any firmware at all just changed the network. I have been trying to update the password with the getting started guide with no luck. I am confused about the syntax and am not sure if I am doing it wrong because my network has upper case letters and my password has upper case letters and numbers.

    This is what I get:

    M587 S"Networkid" P"Password2"
    M587: Failed to add SSID to remembered list
    ok
    Error retrieving WiFi status message: bad reply format version
    WiFi module is idle
    WiFi reported error: no known networks found

    Here is some info form the M122 command:

    === Diagnostics ===
    RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05 running on Duet WiFi 1.02 or later
    Board ID: 08DGM-917DA-G4MSJ-6JTDD-3SJ6R-98RM9
    Used output buffers: 1 of 24 (1 max)
    === RTOS ===
    Static ram: 25712
    Dynamic ram: 93176 of which 0 recycled
    Exception stack ram used: 256
    Never used ram: 11928
    Tasks: NETWORK(ready,1244) HEAT(blocked,1232) MAIN(running,3824) IDLE(ready,160)
    Owned mutexes:
    === Platform ===
    Last reset 00:07:50 ago, cause: power up
    Last software reset at 2020-04-22 13:35, reason: User, spinning module GCodes, available RAM 11660 bytes (slot 1)
    Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
    Error status: 0
    Free file entries: 10
    SD card 0 detected, interface speed: 20.0MBytes/sec
    SD card longest block write time: 0.0ms, max retries 0
    MCU temperature: min 32.1, current 33.0, max 33.2
    Supply voltage: min 1.3, current 1.6, max 1.7, under voltage events: 0, over voltage events: 0, power good: no
    Driver 0: ok, SG min/max not available
    Driver 1: ok, SG min/max not available
    Driver 2: ok, SG min/max not available
    Driver 3: ok, SG min/max not available
    Driver 4: ok, SG min/max not available
    Date/time: 1970-01-01 00:00:00
    Cache data hit count 776534375
    Slowest loop: 1.07ms; fastest: 0.05ms
    I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
    === Move ===
    Hiccups: 0, FreeDm: 160, MinFreeDm: 160, MaxWait: 0ms
    Bed compensation in use: none, comp offset 0.000
    === DDARing ===
    Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
    === Heat ===
    Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
    === GCodes ===
    Segments left: 0
    Stack records: 2 allocated, 0 in use
    Movement lock held by null
    http is idle in state(s) 0
    telnet is idle in state(s) 0
    file is idle in state(s) 0
    serial is ready with "M122" in state(s) 0
    aux is idle in state(s) 0
    daemon is idle in state(s) 0
    queue is idle in state(s) 0
    autopause is idle in state(s) 0
    Code queue is empty.
    === Network ===
    Slowest loop: 1.25ms; fastest: 0.00ms
    Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
    HTTP sessions: 0 of 8

    • WiFi -
      Network state is changing mode
      WiFi module is idle
      Failed messages: pending 0, notready 0, noresp 0
      Failed to get WiFi status
      Socket states: 0 0 0 0 0 0 0 0
      ok

    Is there a file on the SD card I can just update the WIFI on?


  • Moderator

    @TofuNinja best to turn off the WiFi module with M552 S-1 then set it to idle with M552 S0 then delete stored WiFi addresses M588 S"*" before adding the new WiFi SSID, and finally enabling with M552 S1.

    You can create a macro on the SD card with these commands in it, but put a 5 second pause between each command with G4 S5, then run it with M98 P"[macro_name.g]". But if the commands above don’t work, then this is unlikely to work either.

    Remember the Duet can only connect to 2.4Ghz WiFi networks.

    Ian


  • Moderator

    @TofuNinja best to turn off the WiFi module with M552 S-1 then set it to idle with M552 S0 then delete stored WiFi addresses M588 S"*" before adding the new WiFi SSID, and finally enabling with M552 S1.

    You can create a macro on the SD card with these commands in it, but put a 5 second pause between each command with G4 S5, then run it with M98 P"[macro_name.g]". But if the commands above don’t work, then this is unlikely to work either.

    Remember the Duet can only connect to 2.4Ghz WiFi networks.

    Ian



  • Thank you so much for the help that worked.


Log in to reply