Hi there,
I have been running my duet for months without issue, a couple of days ago I run a print fine, come to set up a print today but I am unable to connect to the wifi interface.
Everything seems to be reporting fine on the duet, the m122 command shows :
12:00:25.050 : === Diagnostics ===
12:00:25.050 : RepRapFirmware for Duet 2 WiFi/Ethernet version 2.01(RTOS) running on Duet WiFi 1.0 or 1.01
12:00:25.050 : Board ID: 08DAM-999TL-MQ4SD-6J1FA-3SJ6P-959MW
12:00:25.050 : Used output buffers: 1 of 20 (11 max)
12:00:25.050 : === RTOS ===
12:00:25.050 : Static ram: 28476
12:00:25.050 : Dynamic ram: 96236 of which 0WiFi: Conn 1: free
12:00:25.050 : recycled
12:00:25.050 : Exception stack ram used: 316
12:00:25.050 : Never used ram: 6044
12:00:25.050 : Tasks: NETWORK(ready,1112) HEAT(blocked,1248) MAIN(running,3484)
12:00:25.050 : Owned mutexes:
12:00:25.050 : === Platform ===
12:00:25.050 : Last reset 00:32:49 ago, cause: reset button or watchdog
12:00:25.050 : Last software reset at 2018-08-14 23:21, WiFi: Conn 2: free
12:00:25.050 : reason: User, spinning module GCodes, available RAM 5656 bytes WiFi: Conn 3: free
12:00:25.050 : (slot 1)
12:00:25.050 : Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0xffffffff
12:00:25.050 : Error status: 0
12:00:25.050 : Free file entries: 9
12:00:25.050 : SD card 0 detected, interfWiFi: Conn 4: free
12:00:25.051 : WiFi: Conn 5: free
12:00:25.051 : ace speed: 20.0MBytes/sec
12:00:25.051 : SD card longest block write time: 0.0ms, max retries 0
12:00:25.051 : MCU temperature: min 38.4, current 38.8, max 39.1
12:00:25.051 : Supply voltage: min 24.0, current 24.1, max 24.4, under voltage events: 0, over voltage events: 0
12:00:25.052 : Driver 0: standstill, SG miWiFi: Conn 6: free
12:00:25.052 : n/max not available
12:00:25.052 : Driver 1: standstill, SG min/max not available
12:00:25.052 : Driver 2: standstill, SG min/max not available
12:00:25.052 : Driver 3: standstill, SG min/max not available
12:00:25.052 : Driver 4: standstill, SG min/max not available
12:00:25.052 : Date/time: 1970-01-01 00:00:00
12:00:25.052 : Slowest loop: 20.WiFi: Conn 7: free
12:00:25.052 : 06ms; fastest: 0.08ms
12:00:25.052 : === WiFi:
12:00:25.052 : Move ===
12:00:25.052 : Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 240, MaxWait: 0ms, Underruns: 0, 0
12:00:25.052 : Scheduled moves: 0, completed moves: 0
12:00:25.052 : Bed compensation in use: none
12:00:25.052 : Bed probe heights: 0.000 0.000 0.000 0.000 0.000
12:00:25.052 : === Heat ===
12:00:25.052 : Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
12:00:25.052 : Heater 1 is on, I-accum =WiFi: xmit: 0
12:00:25.052 : 0.0
12:00:25.052 : === GCodes ===
12:00:25.052 : Segments left: 0
12:00:25.052 : Stack records: 1 allocated, 0 in use
12:00:25.052 : Movement lock held by null
12:00:25.052 : http is idle in state(s) 0
12:00:25.052 : telnet is idle in state(s) 0
12:00:25.052 : file is idle in WiFi: recv: 0
12:00:25.053 : WiFi: fw: 0
12:00:25.053 : state(s) 0
12:00:25.053 : serial is ready with "M122" in state(s) 0
12:00:25.053 : aux is idle in state(s) 0
12:00:25.053 : daemon is idle in state(s) 0
12:00:25.053 : queue is idle in state(s) 0
12:00:25.053 : autopause is idle in state(s) 0
12:00:25.053 : Code queue is empty.
12:00:25.053 : === Network ===
12:00:25.053 : Slowest loop: 167.18ms; fastest: 0.08ms
12:00:25.053 : Responder sWiFi: drop: 0
12:00:25.054 : tates: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
12:00:25.054 : HTTP sessions: 0 of 8
12:00:25.054 : - WiFi -
12:00:25.054 : Network state is running
12:00:25.054 : WiFi module is connected to access point
12:00:25.054 : Failed messages: pending 0, notready 0, noresp 0
12:00:25.054 : WiFi firmware version 1.21
12:00:25.054 : WiFi MAC addressWiFi: chkerr: 0
12:00:25.054 : 5c:cf:7f:2c:24:51
12:00:25.054 : WiFi Vcc 3.36, reset reason TWiFi: lenerr: 0
12:00:25.054 : urned on by main processor
12:00:25.054 : WiFi flash size 4194304, free heap 16792
12:00:25.054 : WiFi IP address 192.168.0.239
12:00:25.054 : WiFi signal strength -53dBm, reconnections 0, sleep mode modem
12:00:25.054 : Socket states: 0 0 0 0 0 0 0 0
12:00:25.054 : === Expansion ===
12:00:25.054 : WiFi: memerr: 0
12:00:25.054 : WiFi: rterr: 0
12:00:25.054 : WiFi: proterr: 0
12:00:25.055 : WiFi: opterr: 0
12:00:25.055 : WiFi: err: 0
12:00:25.056 : WiFi: cachehit: 0
12:00:25.056 : WiFi:
12:00:25.056 : WiFi: xmit: 31
12:00:25.056 : WiFi: recv: 218
12:00:25.056 : WiFi: fw: 0
12:00:25.057 : WiFi: drop: 102
12:00:25.057 : WiFi: chkerr: 0
12:00:25.057 : WiFi: lenerr: 0
12:00:25.057 : WiFi: memerr: 0
12:00:25.058 : WiFi: rterr: 0
12:00:25.058 : WiFi: proterr: 102
12:00:25.058 : WiFi: opterr: 0
12:00:25.058 : WiFi: err: 0
12:00:25.059 : WiFi: cachehit: 116
12:00:25.059 : WiFi:
12:00:25.059 : WiFi: xmit: 204
12:00:25.059 : WiFi: recv: 1777
12:00:25.060 : WiFi: fw: 0
12:00:25.060 : WiFi: drop: 592
12:00:25.060 : WiFi: chkerr: 0
12:00:25.060 : WiFi: lenerr: 0
12:00:25.060 : WiFi: memerr: 0
12:00:25.061 : WiFi: rterr: 0
12:00:25.061 : WiFi: proterr: 0
12:00:25.061 : WiFi: opterr: 0
12:00:25.061 : WiFi: err: 0
12:00:25.062 : WiFi: cachehit: 0
12:00:25.062 : WiFi:
12:00:25.062 : WiFi: xmit: 65
12:00:25.062 : WiFi: recv: 48
12:00:25.063 : WiFi: drop: 0
12:00:25.063 : WiFi: chkerr: 0
12:00:25.063 : WiFi: lenerr: 0
12:00:25.063 : WiFi: memerr: 0
Gone as far as erasing the board, and reinstalling all firmware to no affect.
Turned all debugging on but I don't seem to get any reaction from the Duet when trying to connect to the web interface. I just get the following error from the web interface:
This site canβt be reached
192.168.0.239 refused to connect.
However if I specify port 80 I still get an error in the webpage, but this time the debugging picks up the attempted connection and gives:
12:31:45.580 : New conn on socket 1 for local port 80
12:31:45.580 : HTTP connection accepted
12:31:45.580 : Found responder
12:31:45.580 : Received 179 bytes
12:31:45.581 : Sending reply, file = no
12:31:45.581 : Webserver: rejecting message with: 500 unexpected newline
No other port seems to prompt a response.
If anyone can help I would appreciate it. If I have missed out any useful information please say.