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

    WiFi Unreliable

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    10
    114
    7.0k
    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.
    • droftartsundefined
      droftarts administrators @DessiVerse
      last edited by

      @dessiverse said in WiFi Unreliable:

      Duet 3 Mini 5+ version 3.3beta3

      Okay, so it's not that, though would be worth updating from beta to release candidate (3.3 RC1). Update the DuetWiFiServer to 1.26 at the same time; it fixes a minor bug whereby it was transmitting a small amount of extra unwanted data on the wifi module SPI interface (says @dc42, though I doubt this is the issue).

      For pi network bridge, see https://www.raspberrypi.org/documentation/configuration/wireless/access-point-bridged.md
      However, I was slightly wrong; the Pi would be wired via Ethernet to your hub. However, this should test if the Duet is at issue.

      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

      DessiVerseundefined 1 Reply Last reply Reply Quote 0
      • DessiVerseundefined
        DessiVerse @droftarts
        last edited by

        @droftarts said in WiFi Unreliable:

        the Pi would be wired via Ethernet to your hub

        What do you mean by hub? The duet or my modem?

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

          @dessiverse Sorry, by hub I mean your xfinity router. I assume it's got at least one ethernet port! So you would have an Ethernet cable going from your xfinity router to the raspberry pi. The RPi would allow your Duet to connect to its WiFi, and bridge the connection between the WiFi and Ethernet.

          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

          DessiVerseundefined 1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by dc42

            @dessiverse, FWIW I recall some time ago that a Duet WiFi user was unable to get good WiFi connectivity from the Duet on WiFi Channel 1, but switched to another channel (6 AFAIR) and it worked much better. However, that's no help to you if your ISP won't allow you to change the channel.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            1 Reply Last reply Reply Quote 0
            • DessiVerseundefined
              DessiVerse @droftarts
              last edited by

              @droftarts said in WiFi Unreliable:

              The RPi would allow your Duet to connect to its WiFi, and bridge the connection between the WiFi and Ethernet

              I'm finding a bunch of guides that do the reverse of this. Not having so much luck on the other way around.

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

                @dessiverse The guide I linked to earlier, https://www.raspberrypi.org/documentation/configuration/wireless/access-point-bridged.md does the right thing:
                0c950e44-7bef-42e8-8317-5ba1fcc21c82-image.png
                In the above image, the 'Router' is your xfinity box, which is connected by Ethernet ('LAN') to the 'RPi', with a wireless connection to the 'Laptop', which is where the Duet 2 WiFi would be.

                Edit: Just checked, your Xfinity TG4482A should have 4 Gigabit Ethernet ports: https://www.xfinity.com/support/articles/broadband-gateways-userguides

                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

                DessiVerseundefined 1 Reply Last reply Reply Quote 0
                • DessiVerseundefined
                  DessiVerse @droftarts
                  last edited by

                  @droftarts I just finished setting that up, going to test in a few.
                  To my understanding, it creates a new network that you connect to that is a bridge between the two networks?

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

                    @dessiverse said in WiFi Unreliable:

                    To my understanding, it creates a new network that you connect to that is a bridge between the two networks?

                    Yes. It should give you an IP address in the same range as the other connected devices, though.

                    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

                    DessiVerseundefined 1 Reply Last reply Reply Quote 0
                    • DessiVerseundefined
                      DessiVerse @droftarts
                      last edited by

                      @droftarts An Xfinity technician is coming over as some point today to check the network for any issues regarding the duet and my extenders, see if that'll help in anyway.

                      1 Reply Last reply Reply Quote 0
                      • arhiundefined
                        arhi
                        last edited by

                        I didn't read the whole thread so apologies if this was already in but ESP module is nice and cheap but does not play nice with all wifi hw out there... There are AP's that ESP will just not talk to. I had terrible issues with few AP's (one was some PRC noname repeater, one was tp-link dual something, and one was some xfinity router) ... the noname one I gave to a friend who use it for travel, works great but just don't work with ESP, no matter what you do, xfinity I tried everything also, does not work, got rid of it, tp-link, I changed the original firmware with openwrt and it not works ok with ESP modules ... I see you are using xfinity, might be impossible to solve the problem (maybe, dunno, maybe someone can), the easiest solution is to have second, el cheapo, access point that works ok with ESP modules connected to that xfinity with it's own SSID that you can use for your "internet of things" that's using ESP in huge percentages..

                        1 Reply Last reply Reply Quote 0
                        • DessiVerseundefined
                          DessiVerse
                          last edited by

                          I had purchased a Netgear Nighthawk router, and the router is working great with it. Annoyingly, I still don't know what the issue was exactly with the Xfinity Modem / Router combo. Given the scale of Xfinity, I think it is something that should be looked into going forward.

                          dc42undefined 1 Reply Last reply Reply Quote 1
                          • dc42undefined
                            dc42 administrators @DessiVerse
                            last edited by

                            @dessiverse is the Nighthawk also using WiFi channel 1 ?

                            Duet WiFi hardware designer and firmware engineer
                            Please do not ask me for Duet support via PM or email, use the forum
                            http://www.escher3d.com, https://miscsolutions.wordpress.com

                            DessiVerseundefined 1 Reply Last reply Reply Quote 0
                            • DessiVerseundefined
                              DessiVerse @dc42
                              last edited by DessiVerse

                              @dc42 It is not. I actually had to return that router as it crapped out overnight. Netgear support wasn't quite sure what happened. I ended up getting a linksys something and I set the channel manually to 6 but it's being quite finicky.

                              After a couple of refreshes, I was able to get it to work, and it's being consistent at this speed. 🙂 It does seem that I have to manually run M552 S-1; M552 S0; M552 S1 a few times to get it to connect to the router correctly. Not sure why that might be.
                              Screen Shot 2021-05-06 at 12.53.24 PM.png

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

                                And that's with M552 S1 in config.g?

                                Z-Bot CoreXY Build | Thingiverse Profile

                                DessiVerseundefined 1 Reply Last reply Reply Quote 0
                                • DessiVerseundefined
                                  DessiVerse @Phaedrux
                                  last edited by

                                  @phaedrux config.g has M552 S1. I run the others to disable the WiFi then re-enable and connect. That's just what has worked in the past.

                                  @dessiverse said in WiFi Unreliable:

                                  Here is the config.g file
                                  ; Configuration file for Duet 3 Mini 5+ (firmware version 3) ; executed by the firmware on start-up ;

                                  The config.g was posted there ^

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

                                    Ok, but we're also at 113 posts in this thread now, so can be hard to keep track and I still wouldn't know if it's current, so I'd still ask again. 🐷

                                    Might want to try something like netspot or some other wifi analyzer tool to see what kind of a wireless network environment you've got

                                    https://www.netspotapp.com/best-wifi-analyzer-windows-apps.html

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    1 Reply Last reply Reply Quote 1
                                    • Phaedruxundefined Phaedrux referenced this topic
                                    • First post
                                      Last post
                                    Unless otherwise noted, all forum content is licensed under CC-BY-SA