• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Wifi module idle

Scheduled Pinned Locked Moved
Duet Hardware and wiring
6
40
2.1k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ?
    A Former User
    last edited by 4 Jul 2020, 10:36

    what firmware are you running?

    check with M122. The Duet board firmware will be at the top, and the Wifi firmware will be in a a section at the bottom.

    undefined 1 Reply Last reply 4 Jul 2020, 10:40 Reply Quote 0
    • undefined
      tkdirp @A Former User
      last edited by 4 Jul 2020, 10:40

      @bearer
      seem to be 2.03
      Screen Shot 2020-07-04 at 4.23.59 PM.png

      ? 1 Reply Last reply 4 Jul 2020, 10:43 Reply Quote 0
      • ?
        A Former User @tkdirp
        last edited by 4 Jul 2020, 10:43

        @tkdirp said in Wifi module idle:

        2.03

        thats just the RepRapFirmware version, as I said when you run M122 it will also print the version of the firmware running om the Wifi module.

        undefined 1 Reply Last reply 4 Jul 2020, 10:47 Reply Quote 0
        • undefined
          tkdirp @A Former User
          last edited by 4 Jul 2020, 10:47

          @bearer
          This happens if I send a M122 command...
          Screen Shot 2020-07-04 at 7.45.15 PM.png

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by A Former User 7 Apr 2020, 12:20 4 Jul 2020, 10:56

            right, wifi not happy.

            btw could you try running stty -F /dev/tty.usbmodem14101 inlcr in another terminal and see if it sorts the line endings for you? (edit or stty -F /dev/tty.usbmodem14101 -icrnl)

            then lets try the nuke from orbit approach.

            M552 S-1
            M552 S0
            M588 S"*"
            M587 S"U'+Net48C4" p"8040P8C0#1"
            M552 S1

            M552 S-1 resets the wifi module
            M588 S"*" clears the wifi credentials

            edit fixed typo M589 to M588

            undefined 2 Replies Last reply 4 Jul 2020, 11:24 Reply Quote 0
            • undefined
              tkdirp @A Former User
              last edited by 4 Jul 2020, 11:24

              @bearer said in Wifi module idle:

              in another terminal

              So, on another computer?

              ? 1 Reply Last reply 4 Jul 2020, 11:27 Reply Quote 0
              • ?
                A Former User @tkdirp
                last edited by 4 Jul 2020, 11:27

                @tkdirp said in Wifi module idle:

                another computer?

                no, same computer just another window with a terminal. (but its not that important, it just makes it easier to read if the end of line characters actually causes a new line - and I'm not sure if it would work on a Mac)

                1 Reply Last reply Reply Quote 1
                • undefined
                  tkdirp @A Former User
                  last edited by 4 Jul 2020, 11:29

                  @bearer said in Wifi module idle:

                  M552 S-1 resets the wifi module
                  M589 S"*" clears the wifi credentials

                  The nuke plan failed... šŸ˜ž
                  Screen Shot 2020-07-04 at 8.26.26 PM.png

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User
                    last edited by A Former User 7 Apr 2020, 12:19 4 Jul 2020, 11:32

                    but M122 shows the wifi version now?

                    if not lets try

                    M552 S-1
                    M552 S0
                    M588 S"*"
                    M122

                    edit: fixed typo M589 to M588

                    undefined 2 Replies Last reply 4 Jul 2020, 11:45 Reply Quote 0
                    • undefined
                      tkdirp @A Former User
                      last edited by 4 Jul 2020, 11:45

                      @bearer
                      M122 is still not working

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        tkdirp @A Former User
                        last edited by 4 Jul 2020, 11:50

                        @bearer said in Wifi module idle:

                        M552 S-1
                        M552 S0
                        M589 S"*"
                        M122

                        Worked.
                        Screen Shot 2020-07-04 at 8.46.44 PM.png

                        1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User
                          last edited by A Former User 7 Apr 2020, 12:11 4 Jul 2020, 11:56

                          ah, okay, was about to suggest just updating it without finding out which version it is, but thats all up to date then. (1.23 is the latest iirc)

                          if you run M111 P14 S1 it will enable debug output for wifi.

                          then run M587 S... P.... (with your credentials) followed by M552 S1

                          (but I suspect you really need to find another terminal for that to be usefull, or have screen translate LF into CR/LF)

                          ((edit: if you must use screen maybe log to a file and view the file (in another window) with fixed line endings tail -F my.log | sed 's/$/\r/' ))

                          undefined 1 Reply Last reply 4 Jul 2020, 12:11 Reply Quote 0
                          • undefined
                            tkdirp @A Former User
                            last edited by 4 Jul 2020, 12:11

                            @bearer said in Wifi module idle:

                            M111 P14 S1

                            After that commend, the M587 S"U'+Net48C4" Pā€8040P8C0#1" dos not seem to have any significant effect
                            Screen Shot 2020-07-04 at 9.05.45 PM.png

                            ? 1 Reply Last reply 4 Jul 2020, 12:21 Reply Quote 0
                            • ?
                              A Former User @tkdirp
                              last edited by 4 Jul 2020, 12:21

                              @tkdirp said in Wifi module idle:

                              dos not seem to have any significant effect

                              thats okay, was primarily after the ouput that say WiFi: ../src/Sock <...> found network U+Net48C4.

                              Either the + is a problem or there is some sort of interoperability issue with the router.

                              I would suggest checking the encyption type, or change it to WPA(2)/TKIP, changing the SSID and Passphrase to something without special charters.

                              Or optionally use M589 to set up the duet as an access point.

                              But first, repeat https://forum.duet3d.com/post/164593 as I had made a typo in the command to clear the wifi settings. (However as you did get an OK at some point i doubt it'll make a difference)

                              1 Reply Last reply Reply Quote 1
                              • ?
                                A Former User
                                last edited by 4 Jul 2020, 12:21

                                forgot the link to M589 to try AP mode
                                https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters

                                undefined 1 Reply Last reply 4 Jul 2020, 13:08 Reply Quote 0
                                • undefined
                                  tkdirp @A Former User
                                  last edited by 4 Jul 2020, 13:08

                                  @bearer
                                  Thank you so much
                                  Screen Shot 2020-07-04 at 10.07.56 PM.png

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User
                                    last edited by 4 Jul 2020, 13:14

                                    which bit helped? correcting to M558 or are you using the Duet as an access point?

                                    undefined 1 Reply Last reply 5 Jul 2020, 01:00 Reply Quote 0
                                    • undefined
                                      tkdirp @A Former User
                                      last edited by 5 Jul 2020, 01:00

                                      @bearer
                                      I just changed the name of the wifi I guess the "+" in the SSID name was the issue

                                      ? undefined 2 Replies Last reply 5 Jul 2020, 06:47 Reply Quote 1
                                      • ?
                                        A Former User @tkdirp
                                        last edited by 5 Jul 2020, 06:47

                                        @tkdirp said in Wifi module idle:

                                        I guess the "+" in the SSID name was the issue

                                        interesting feedback, perhaps something should be tested and added to the documentation.

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Phaedrux Moderator
                                          last edited by 9 Jul 2020, 01:08

                                          There is no hard rule for SSID special character support on the router side. Some will let you use pretty much anything, but in general it's probably best to avoid special characters in the SSID.

                                          I'll add a note to the M587 command regarding that.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          1 Reply Last reply Reply Quote 0
                                          27 out of 40
                                          • First post
                                            27/40
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA