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

    Help with Duet WiFi to work as an Access Point

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    7
    348
    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.
    • Arekundefined
      Arek
      last edited by

      Hello,

      I've got a Duet 2 WiFi board. I am running 1.21 firmware version. I am able to connect to this board via USB, using Pronterface. Then with following M commands it is possible to set up WiFi as AP

      SENDING:M552
      WiFi module is idle

      m552 s0
      SENDING:M552 S0
      M589 S"DuetSSID" P"password" I192.168.0.1 C1
      SENDING:M589 S"DuetSSID" P"password" I192.168.0.1 C1
      M552 S2
      SENDING:M552 S2
      WiFi module is providing access point DuetSSID, IP address 192.168.0.1

      Now I want all of this to run as a macro called form config.g, at a start, so I specified name of the macro: start-access-point.g, and put an M98 P"start-access-poit.g" command in config.g file. Nothing happens. Wi-Fi is in idle state. No AP is established.

      1 Reply Last reply Reply Quote 0
      • Arekundefined
        Arek
        last edited by

        Ok, problem solved. No need to run a macro from config.g. M552 S2 command is only needed after setting up WiFi module using M589 command with appropriate parameters via usb.

        1 Reply Last reply Reply Quote 0
        • mrehorstdmdundefined
          mrehorstdmd
          last edited by

          You might want to update your firmware...

          https://drmrehorst.blogspot.com/

          Arekundefined 1 Reply Last reply Reply Quote 1
          • Arekundefined
            Arek @mrehorstdmd
            last edited by

            @mrehorstdmd Hi ! Which would you recommend?

            jay_s_ukundefined 1 Reply Last reply Reply Quote 0
            • jay_s_ukundefined
              jay_s_uk @Arek
              last edited by

              @Arek 3.2.2. There would be a big change in config required so it's best to read all the change notes

              Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

              Arekundefined 1 Reply Last reply Reply Quote 0
              • Arekundefined
                Arek @jay_s_uk
                last edited by

                @jay_s_uk THX ! 🙂

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Nothing really wrong with 1.21. If it works, it works. But reading through the change notes would give you an idea of all that has changed and been fixed.

                  Updating to 2.05.1 would be pretty easy actually and only require minor changes to the config files and macros.

                  First you'd need to manually update to 2.0 (including the DWC files) and from there you can update directly to 2.05.1 by uploading the zip file from that release in the web interface.

                  From there you could use the same upload method to go to 3.0 and then 3.2.2 but the config file would need to be replaced. Starting with a fresh config set from the config tool would be the best way to go and then adding in any customizations you currently have.

                  Here's a post that has more details on updating from 1.x

                  https://forum.duet3d.com/topic/18962/firmware-not-updating?_=1615414302153

                  Z-Bot CoreXY Build | Thingiverse Profile

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