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

DuetWifi not serving Web pages

Scheduled Pinned Locked Moved
General Discussion
5
11
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.
  • undefined
    phoenix
    last edited by 15 Oct 2016, 20:17

    Hello,
    I am trying to commission my kossel - migrating from a Duet 0.8.5 to a DuetWifi and I am having issues to make things work: I can connect to the wifi and receive an IP.

    When connecting to the IP however, the browser connects, and then waits… and waits... no page load is occurring.

    Pinging the IP address shows some strange behavior: ping times vary from 50% replies within 2-4ms and others being between 100-800ms reply, with sometimes a timeout.

    Any ideas what could make this happen? I have flashed already the latest firmware (DuetWiFiFirmware-1.15e.bin, DuetWiFiServer-1.02.bin and DuetWebControl-1.12.bin). Connecting through pronterface seems to work just fine.

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 16 Oct 2016, 03:48

      How good is the WiFi signal where the Duet is? If you send M552 S0 from Pronterface turn off WiFi and then M552 S1 to turn it back on, what signal strength does it report when it reconnects?

      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
      • undefined
        phoenix
        last edited by 16 Oct 2016, 08:48

        thanks for the quick reply. The router is in the next room: it reports -59db

        1 Reply Last reply Reply Quote 0
        • undefined
          phoenix
          last edited by 18 Oct 2016, 21:17

          Checking further, I still don't see any pattern or success:

          • Laptops indicate full WIFI strength (full bars in Windows) when sitting on the printer bed
          • I changed the network SSID (believing that maybe special characters could confuse the Duet - no success
          • Also moved the printer to a different room - right next to the router - with no success.

          I still see erratic response times, including time outs when pinging. Also when entering the address in the browser, it doesn't time out or indicates "not reachable" but just "waiting for…" endlessly.

          Do you see anything else I can try to isolate the issue?

          The Board itself works fine (when used through USB, or PanelDue) to move the printer (homing, probing), could the wifi chip have an issue (or the firmware on it - despite flashing the firmware anew)?

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 18 Oct 2016, 21:40

            My gut feeling is that -59db is a rather weak signal, especially if there are a lot of WiFi networks in the area. What is the signal strength with the Duet in the same room as the router? Bear in mind that cordless telephones and microwave ovens use the same 2.4GHz spectrum.

            Can you provide a Wireshark trace of the communication with the printer when the problems occur? You could also try pressing control-shift-J to see if any errors are reported in the browser debug console.

            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
            • undefined
              phoenix
              last edited by 23 Oct 2016, 08:56

              Continuing the search, and getting quite frustrating…

              Have moved the printer right next to the original access point: no change
              Did a try with a new access point: no change

              This is what I get from Pronterface:
              WiFi server starting up
              DuetWiFiServer version 1.02
              Flash size 4194304, free RAM 31504 bytes, WiFi Vcc 3.28V, host name: duetwifi, reset reason: Turned on by main processor
              WiFi server connected to access point ing0001_2.4G, IP=192.168.0.11, signal strength=-58dBm

              This is what wireshark is showing:
              https://drive.google.com/open?id=0B__AzxizPXtAU0E1bnl6b3ZuTjg

              Can provide the full wireshark dump if that helps, but as you can see the browser finds the duetwifi, and it replies once with a 0 length packet to the get request.

              These are the only traces I get when requesting 192.168.0.11 (DuetWifi)

              Also to note that the original page (when you need to select the wifi AP and password) takes quite long (10sec) to load consistently.
              As browser I am using two different laptops (Windows with IE or Chrome) and one android tablet - with identical results.

              Especially worried about the signal strength: I've not seen it move below -57dBm, even when the router is literally touching the antenna!

              Not sure also if it is relevant, but the Diag LED is constantly red… is that to say anything (as I read that it was not functional in pre-series boards)?

              1 Reply Last reply Reply Quote 0
              • undefined
                tomasf
                last edited by 23 Oct 2016, 09:10

                I had to put my Duet WiFi on a separate wifi network from all my other devices to make it work reasonably reliably. 😞

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 23 Oct 2016, 10:44

                  @phoenix:

                  Continuing the search, and getting quite frustrating…

                  Have moved the printer right next to the original access point: no change
                  Did a try with a new access point: no change

                  This is what I get from Pronterface:
                  WiFi server starting up
                  DuetWiFiServer version 1.02
                  Flash size 4194304, free RAM 31504 bytes, WiFi Vcc 3.28V, host name: duetwifi, reset reason: Turned on by main processor
                  WiFi server connected to access point ing0001_2.4G, IP=192.168.0.11, signal strength=-58dBm

                  This is what wireshark is showing:
                  https://drive.google.com/open?id=0B__AzxizPXtAU0E1bnl6b3ZuTjg

                  Can provide the full wireshark dump if that helps, but as you can see the browser finds the duetwifi, and it replies once with a 0 length packet to the get request.

                  These are the only traces I get when requesting 192.168.0.11 (DuetWifi)

                  Also to note that the original page (when you need to select the wifi AP and password) takes quite long (10sec) to load consistently.
                  As browser I am using two different laptops (Windows with IE or Chrome) and one android tablet - with identical results.

                  Especially worried about the signal strength: I've not seen it move below -57dBm, even when the router is literally touching the antenna!

                  Not sure also if it is relevant, but the Diag LED is constantly red… is that to say anything (as I read that it was not functional in pre-series boards)?

                  That -58dBm doesn't look right at all. I suspect a faulty WiFi module. Time to replace your board I think - please contact your supplier.

                  It's normal for the diag LED to be illuminated if you have a type 1 Z probe configured in your M558 command. The diag LED shares a port pin with the Z probe command/modulation signal.

                  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
                  • undefined
                    MarioZ
                    last edited by 7 Feb 2017, 20:24

                    Hi David

                    Seams I have same problem. I was able to do initial configuration and even upload new FW. But after 1.5 months I cannot connect to the board any more.

                    This is what I get when WiFi starts:

                    < 21:15:21: DuetWiFiServer version 1.03 (ch fork)
                    < 21:15:21: Flash size 4194304, free RAM 32840 bytes, WiFi Vcc 3.07V, host name: kossel, reset reason: Turned on by main processor
                    < 21:15:21: WiFi server connected to access point UPC0051808, IP=192.168.200.40, signal strength=-55dBm

                    My router is 5m away from the board and I can see that IP was assigned. However, when pinging the IP of the board all packages are dropped.

                    I order board from Duet3d.com webpage.

                    Best regards, Marjan

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by 7 Feb 2017, 21:22

                      Here is another thread regarding a similar issue, unfortunately unsolved:
                      https://www.duet3d.com/forum/thread.php?id=124&p=3

                      But pinging should usually work nevertheless. This is quite strange.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        MarioZ
                        last edited by 8 Feb 2017, 17:51

                        Thank you. Will take a look..

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