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

    Cannot connect to Wifi

    Scheduled Pinned Locked Moved
    General Discussion
    5
    20
    303
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Is the network 2.4ghz or 5ghz based? You'll only be able to connect to 2.4ghz networks.

      Does the network require anything other than a password to connect?

      You can test the wifi module itself by setting it up to create it's own network which you could then connect your device to.

      Follow the steps show here: https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m589-configure-access-point-parameters

      This will at least confirm for you if the wifi module is working as expected, and perhaps would be suitable for your needs.

      Z-Bot CoreXY Build | Thingiverse Profile

      Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
      • Timothee Leblondundefined
        Timothee Leblond @Phaedrux
        last edited by

        @Phaedrux Thanks for your answer.

        From what I understand, the network might be 5Ghz... do you know if using a raspberry PI connected to the mainboard could allow the connection to 5Ghz networks?

        Thanks for your help,

        Tim

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

          Yes you could use SBC mode with a Pi. The Pi has greatly expanded network options and would take over for the Duet in that regard.

          Z-Bot CoreXY Build | Thingiverse Profile

          Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
          • Timothee Leblondundefined
            Timothee Leblond @Phaedrux
            last edited by

            @Phaedrux

            Thank you for your help. I'll add a Raspberry then.

            droftartsundefined 1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @Timothee Leblond
              last edited by

              @Timothee-Leblond Most routers have the option to broadcast a 2.4GHz SSID as well as 5GHz. Check the router manual.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
              • Timothee Leblondundefined
                Timothee Leblond @droftarts
                last edited by

                @droftarts

                I sadly cannot access the routers.. But I then have questions concerning SBC set up.

                I already have the motherboard configured and access to DWC through the local network but want to add the raspberry PI.

                Do you know if adding the SBC will replace my files like config.g and so on? I do not want to lose the files I edited already.

                Thank you!

                droftartsundefined 1 Reply Last reply Reply Quote 0
                • droftartsundefined
                  droftarts administrators @Timothee Leblond
                  last edited by

                  @Timothee-Leblond You have to remove the SD card from the Duet, so no, it won't replace them. You will need to copy them on to the RPi; you can do this after you connect to DWC on the RPi. You'll need to remove the networking parts of config.g for use on the RPi.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                  • Timothee Leblondundefined
                    Timothee Leblond @droftarts
                    last edited by

                    @droftarts

                    For now I've been following the SBC setup guide here until step 4.

                    I thus have 2 SD cards, one in the Duet and one in the RPi for now. What you mean is that I'll have to remove the one in the Duet and copy the files in the RPi card and erase the one that had been created by the Raspberry imager?

                    Thank you!

                    droftartsundefined 1 Reply Last reply Reply Quote 0
                    • droftartsundefined
                      droftarts administrators @Timothee Leblond
                      last edited by

                      @Timothee-Leblond No, the one created by the imager stays in the RPi. It will also hold the config files for the Duet in SBC mode. To get the Duet into SBC mode, no SD card should be inserted into that. So you can keep the old SD card from the Duet as a backup.

                      Ian

                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                      Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                      • Timothee Leblondundefined
                        Timothee Leblond @droftarts
                        last edited by Timothee Leblond

                        @droftarts

                        So then can I copy my initial files on the RPi 's card? Like config.g, homeall, macro file, etc?
                        Or should I start from scratch again?

                        Also, should my panelDue stay on the Duet or should I connect it to the RPi?

                        Thanks!

                        droftartsundefined 1 Reply Last reply Reply Quote 0
                        • droftartsundefined
                          droftarts administrators @Timothee Leblond
                          last edited by

                          @Timothee-Leblond said in Cannot connect to Wifi:

                          So then can I copy my initial files on the RPi 's card? Like config.g, homeall, macro file, etc?

                          You can use your existing config files, very little change is needed. As I said earlier, you will need to copy them on to the RPi; you can do this after you connect to DWC on the RPi. You'll need to remove the networking parts of config.g for use on the RPi.

                          PanelDue stays connected to the Duet.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                          • Timothee Leblondundefined
                            Timothee Leblond @droftarts
                            last edited by

                            @droftarts

                            Ok, so I plugged the SBC to the Duet following your advice.

                            It seems like it does not connect to Wifi still. It says "connecting" on the top right corner of my PanelDue. When looking for "duet3.local" in my browser, it keeps loading infinitely.

                            I'm trying to follow the troubleshooting steps but I cannot connect it at all to the router.
                            Do you know if the MAC adress is different from the Duet's? Do you think this could be the problem? I'm pretty sure I've configured the wpa_supplicant.conf correctly.

                            Thank you for your precious help!

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

                              @Timothee-Leblond said in Cannot connect to Wifi:

                              Do you know if the MAC adress is different from the Duet's?

                              Yes, most certainly. So if you need to provide the network admin the MAC address of the Pi, you'll need to find it on the Pi.

                              https://pimylifeup.com/raspberry-pi-mac-address/

                              The mDNS name duet3.local may or may not work on that network. You may need to use the IP address directly.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                              • Timothee Leblondundefined
                                Timothee Leblond @Phaedrux
                                last edited by

                                @Phaedrux said in Cannot connect to Wifi:

                                Thanks for your help! However it seems that guide provide help to retrieve the MAC address when it's connected to a network, which is not my case. Any idea how I can get the MAC without Wifi or Ethernet?

                                Thanks again,

                                T3P3Tonyundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                                • T3P3Tonyundefined
                                  T3P3Tony administrators @Timothee Leblond
                                  last edited by

                                  @Timothee-Leblond are you sure ip link show only works with interfaces that are connected?

                                  www.duet3d.com

                                  1 Reply Last reply Reply Quote 0
                                  • droftartsundefined
                                    droftarts administrators @Timothee Leblond
                                    last edited by

                                    @Timothee-Leblond See https://raspberrytips.com/mac-address-on-raspberry-pi/

                                    Send ifconfig in a Raspberry Pi Terminal window.

                                    Ian

                                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                    Timothee Leblondundefined 1 Reply Last reply Reply Quote 0
                                    • Timothee Leblondundefined
                                      Timothee Leblond @droftarts
                                      last edited by

                                      @droftarts

                                      Good morning,

                                      Sorry It took it more time than expected.

                                      Here is where I am now. I got the wifi running on the Raspberry Pi after registering the MAC address to my IT department. Once I plug in the Raspberry PI into the Duet3, I can see both communicating.

                                      But I still can't connect to the DWC through Wifi using my Macbook. I tried both using duet3.local and using the IP of the RPi but nothing is working.

                                      Screenshot 2025-01-17 at 10.48.34 AM.png

                                      I also tried following this configuration guide on Raspberry's website but I'm getting an error when trying to configure Wi-Fi SSID and passphrase.

                                      Would you have any ideas to solve this?

                                      Thank you,

                                      Timothee

                                      droftartsundefined 1 Reply Last reply Reply Quote 0
                                      • droftartsundefined
                                        droftarts administrators @Timothee Leblond
                                        last edited by

                                        @Timothee-Leblond If the RPi can connect to the network/internet, I'd guess that there is something stopping incoming connections to the RPi, possibly blocked at the router. Check with your IT department.

                                        Another way to test would be to set the RPi in access point mode, which you can also do with the Mini 5+ in standalone mode. See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m589-configure-access-point-parameters
                                        Then your PC can connect directly to the WiFi network that creates.

                                        Ian

                                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                        troydemingundefined 1 Reply Last reply Reply Quote 0
                                        • troydemingundefined
                                          troydeming @droftarts
                                          last edited by

                                          ................

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