My wi-fi constantly disconnects every few minutes.
-
i was asked to start a new thread so here is my issue,it's continuously disconnecting, so it's close to impossible to upload anything through the web control. I reflashed the board twice with 3.4.5 from GitHub and reformatted and and rebuilt the SD card files so many times so many different ways, I tried using the board as a access point hooked to my laptop and controlling with another device. I spent hours on my Xfinity router changing settings, and trying different stuff. What I have found so far is DHCP is where it's the worst, unusable to be honest,20 -30 seconds at a time usually. I created a split band on the router so it had its own 2.4 Wi-Fi.... When I finally gave it and my laptop a fixed IP and turned DHCP off it got maybe 50 percent better. Now I can almost flash a combined firmware zip file from the RepRap config tool before it disconnects, usually at the end of the fonts folder or beginning of the js folder. I tried flashing the Wi-Fi from YAT. Every website online that tells you how to structure your SD card is different because of firmware changes over the years I'm guessing, some say put certain files in system some say put it in www,some say to put in firmware folder. I just added a additional port forward a few minutes ago,so it has port 80 and port 81. i cant tell if it helped or not yet.
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later
Board ID: 0JD0M-9P6B2-NJ4S8-6J1FG-3SN6T-1V4GJ
Used output buffers: 1 of 26 (12 max)
=== RTOS ===
Static ram: 23836
Dynamic ram: 74664 of which 88 recycled
Never used RAM 13492, free system stack 184 words
Tasks: NETWORK(notifyWait,13.9%,242) HEAT(notifyWait,0.0%,333) Move(notifyWait,0.0%,363) MAIN(running,86.0%,458) IDLE(ready,0.1%,30), total 100.0%
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:34:49 ago, cause: power up
Last software reset at 2023-06-19 05:18, reason: User, GCodes spinning, available RAM 13492, slot 2
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Step timer max interval 0
MCU temperature: min 23.9, current 27.8, max 28.0
Supply voltage: min 24.0, current 24.2, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 0 queued, 0 completed
Driver 0: standstill, SG min n/a
Driver 1: standstill, SG min n/a
Driver 2: standstill, SG min n/a
Driver 3: standstill, SG min n/a
Driver 4: standstill, SG min n/a
Driver 5:
Driver 6:
Driver 7:
Driver 8:
Driver 9:
Driver 10:
Driver 11:
Date/time: 2023-06-19 06:34:37
Cache data hit count 4294967295
Slowest loop: 7.93ms; fastest: 0.18ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 6.9ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is idle in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== Network ===
Slowest loop: 12.33ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 1 of 8
= WiFi =
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.27
WiFi MAC address f4:cf:a2:e3:05:ee
WiFi Vcc 3.36, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 22864
WiFi IP address 10.0.0.51
WiFi signal strength -40dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 06/19/2023, 6:25:53 AM Connection established
6/19/2023, 6:25:52 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 6:25:03 AM Connection established
6/19/2023, 6:25:02 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:59:57 AM Connection established
6/19/2023, 5:57:09 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:46:14 AM M98 P"config.g"
HTTP is enabled on port 80
FTP is disabled
TELNET is disabled
6/19/2023, 5:41:59 AM Connection established
6/19/2023, 5:41:58 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:30:22 AM m115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.5 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2022-11-30 19:36:12
6/19/2023, 5:30:14 AM m115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.5 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2022-11-30 19:36:12
6/19/2023, 5:27:03 AM Connection established
6/19/2023, 5:26:00 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:25:49 AM Warning: VIN under-voltage event (9.5V)
6/19/2023, 5:23:25 AM Connection established
6/19/2023, 5:23:24 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:20:44 AM Connection established
6/19/2023, 5:18:17 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:17:16 AM Connection established
6/19/2023, 5:17:14 AM Failed to upload homey.g
Could not complete action because the connection has been terminated
6/19/2023, 5:17:14 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:10:14 AM Connection established
6/19/2023, 5:10:13 AM Failed to upload Duet2CombinedFirmware.bin
Could not complete action because the connection has been terminated
6/19/2023, 5:10:13 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:06:46 AM Connection established
6/19/2023, 5:06:45 AM Connection interrupted, attempting to reconnect...
6/19/2023, 5:06:37 AM G28 Z
Error: Probe was not triggered during probing move
6/19/2023, 5:06:36 AM Emergency stop, attemping to reconnect...
6/19/2023, 5:05:36 AM G28 Z
Error: Must home axes [XY] before homing [Z]
6/19/2023, 5:05:21 AM Connection established
6/19/2023, 5:05:20 AM Connection interrupted, attempting to reconnect...
6/19/2023, 5:05:11 AM Emergency stop, attemping to reconnect...
6/19/2023, 5:04:43 AM Connection established
6/19/2023, 5:04:37 AM Connection interrupted, attempting to reconnect...
HTTP request timed out
6/19/2023, 5:03:06 AM Connection established
6/19/2023, 5:03:05 AM Connection interrupted, attempting to reconnect...
6/19/2023, 5:02:56 AM Emergency stop, attemping to reconnect...
6/19/2023, 5:01:23 AM Connection established
6/19/2023, 5:01:22 AM Connection interrupted, attempting to reconnect...
6/19/2023, 5:01:13 AM Emergency stop, attemping to reconnect...
6/19/2023, 4:56:45 AM Connection established
6/19/2023, 4:56:45 AM Connection interrupted, attempting to reconnect...
6/19/2023, 4:56:37 AM Emergency stop, attemping to reconnect...
6/19/2023, 4:56:30 AM G28 X
Warning: Driver 2 warning: phase B may be disconnected -
@matthew-81 What version of DWC are you using? See https://docs.duet3d.com/en/User_manual/RepRapFirmware/RepRapFirmware_overview#checking-firmware-versions
The version of DWC you use should match the RepRapFirmware version, which is 3.4.5 in your case.Have a look at the WiFi troubleshooting page: https://docs.duet3d.com/en/User_manual/Troubleshooting/WiFi_troubleshooting
It's possible that the router is defaulting to use channel 1. As it says in the above:Try changing the channel on your WiFi router. Most routers default to Auto, but can be set to use a fixed channel instead. The channels overlap, so it is common to use channel 1, 6 or 11. This may also help if another device is causing interference.
Particularly if using channel 1, change the router WiFi channel. Duets with onboard WiFi antennas may be more susceptible to interference from the Duet itself at this frequency. Try channel 6 or 11.If that doesn't help, it may help to update the firmware for the WiFi module. Yours is currently on v1.27, which is the official WiFi firmware for 3.4.5, but you could try the "DuetWiFiServer.bin" file from https://github.com/Duet3D/WiFiSocketServerRTOS/releases/tag/2.1beta4 which is v2.1beta4. Note that if you do update the WiFi firmware, any stored SSIDs will be deleted, so you will need to connect via USB and add the SSID and password again. See https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet
Ian
-
@droftarts I had investigated the channel thing previously when I come across it in some reading and I went all through my router and the settings. My old 6-channel router that I had set up in bridged mode through Xfinity had all kinds of different settings that I could have changed but we had gotten a updated one through Xfinity because we were having disconnects and issues with the TVs in the house and we got rid of the aftermarket one. I went all through xfinity's website and they're saying that that part of their system is controlled automatically now it is something they used to allow you to individually change or set but now it picks the channels for you and there isn't really any way to set certain channels to certain devices anymore. So I'm kind of screwed on that unless I buy a another router that cost a couple hundred bucks. I still have the old Netgear 6 channel but she didn't like it and claimed that it was causing disconnections and pushed me to get the new updated one through Xfinity, if there was a way that I could use them both and just have my own router and let everybody else use the Xfinity one I would attempt it but I'm thinking I might order an adapter so I can just plug in directly , we have her son's Xbox set up like that and it works a lot better for him.
-
@droftarts I don't mean to sound stupid but which one of those three files do I use to update the module it says warning do not use the third one on duet electronics, but I'm suspecting that's the one I'm supposed to use because the other two say they're for different boards than what I have I have the 2? Or is it the very first one that says module.
-
@matthew-81 use the DuetWiFiServer.bin file.
-
@matthew-81 said in My wi-fi constantly disconnects every few minutes.:
... there isn't really any way to set certain channels to certain devices anymore.
You don't set channels for certain devices, you just set the channel the router uses for 2.4Ghz WiFi. Then all devices use that channel. But if that functionality isn't available any more (I found this https://www.xfinity.com/support/articles/change-wifi-mode-admin-tool-xfinity-xfi which supports that it is managed), then it is difficult to test if this is the problem.
I still have the old Netgear 6 channel ... if there was a way that I could use them both and just have my own router and let everybody else use the Xfinity one I would attempt it
Yes, if you can connect the Netgear to the Xfinity with an Ethernet cable, then set it up in 'Access Point' mode, you should be able to connect to the Netgear WiFi with the Duet, and everybody else will connect to the Xfinity as before.
which one of those three files do I use
I did say "you could try the "DuetWiFiServer.bin" file from ..." in my reply!
Ian
-
@droftarts lol ,sorry man I just woke up. And I did put in my original post I think that I already did the 2.4 GHz thing that was one of the first things I did. I have the 2.4 because several of my devices in the house mainly the cameras will not work with five G and the 5G everybody uses for their TVs and phones. I thought there was individual channels as well on each separate Wi-Fi band and that was what I was trying to say
-
@matthew-81 and I'm going to read up on the access point thing I always knew about bridged mode which completely bypasses the Xfinity router I did not know I could do what you are saying and I want to try that for sure because it's really my last option before just buying a ethernet adapter thank you for that idea and hopefully I learn something along the way
-
@droftarts darn the xb6 is what I have to,lol