I can't get the wifi to work
-
Hello,
First of all I admit that I am not an expetro in gcode.
Second, i cant' run the wi fi on my duet 2 wifi, here are the tests that i've done :
Upgrade duet to the lastest fw
Install it on the correct order ( M997 S0:1:2)
Make sure to send the correct instruction ( M587 S"xxx" P"xxx")I paste here some dialog, maybe you understand better than me.
m122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.03 running on Duet WiFi 1.02 or later
Board ID: 08DGM-9T6BU-FG3SD-6J1F8-3S86Q-1BMZF
Used output buffers: 1 of 24 (10 max)
=== RTOS ===
Static ram: 25680
Dynamic ram: 93244 of which 816 recycled
Exception stack ram used: 288
Never used ram: 11044
Tasks: NETWORK(ready,1304) HEAT(blocked,1236) MAIN(running,3792) IDLE(ready,160)
Owned mutexes:
=== Platform ===
Last reset 00:01:36 ago, cause: power up
Last software reset time unknown, reason: Unknown, spinning module Platform, available RAM 10672 bytes (slot 0)
Software reset code 0x00b0 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0040080f BFAR 0xe000ed38 SP 0x20004adc Task 0x4e49414d
Stack: 0044cdbf 0044cbd4 61005000 00000000 4074e600 00000000 00000000 3331bb4c 40000000 3f317200 b5ddea0e 388aa908 bb35fe81 3c4192f5 00000000 00000000 3f800000 00000000 00000000 60000010 0044ce71 20002c48 ffffffff
Error status: 0
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 0.0ms, max retries 0
MCU temperature: min 47.1, current 47.4, max 47.5
Supply voltage: min 1.7, current 1.7, max 1.7, under voltage events: 0, over voltage events: 0, power good: no
Driver 0: ok, SG min/max not available
Driver 1: ok, SG min/max not available
Driver 2: ok, SG min/max not available
Driver 3: ok, SG min/max not available
Driver 4: ok, SG min/max not available
Date/time: 1970-01-01 00:00:00
Cache data hit count 180801538
Slowest loop: 99.68ms; fastest: 0.06ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Move ===
Hiccups: 0, FreeDm: 169, MinFreeDm: 169, MaxWait: 0ms
Bed compensation in use: none, comp offset 0.000
=== DDARing ===
Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 1 allocated, 0 in use
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
serial is ready with "m122" in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 1.26ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 0 of 8- WiFi -
Network state is changing mode
WiFi module is idle
Failed messages: pending 0, notready 0, noresp 0
Failed to get WiFi status
Socket states: 0 0 0 0 0 0 0 0
m115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2019-06-13b2
ok
WiFi reported error: no known networks found
WiFi module is idle
m552 s0
ok
M587 S"APE1" P"AndreaPozzetto9"
ok
m587
Remembered networks:
APE1 IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
ok
m552 s1
ok
WiFi reported error: no known networks found
WiFi module is idle
m552 s0
ok
M588 S"*"
ok
M587 S"APE1" P"AndreaPozzetto9"
ok
m552 s1
ok
WiFi reported error: no known networks found
WiFi module is idle - WiFi -
-
How far away is the access point you are trying to connect to from the Duet?
Frederick
-
3 meters, i also tried another access point and tried turning my phone as acess point.
-
Be sure the network is 2.4GHz and not a 5GHz one, since the 8266 module only do 2.4GHz iirc.
-
Also please confirm that the SSID of your AP is exactly APE1, and that is it not set to hide the SSID. SSIDs are case sensitive.
If it is set to hide the SSID, you will need to connect like this:
M552 S1 P"APE1"
instead of plain M552 S1.
-
have a look in your config.g file to see if you have the same issue as the other have had lately?
https://forum.duet3d.com/post/107325