@EdI_VeDeR said in Duet wifi, not able to setup network true serial:
M552 S0 ;stop wifi
G4 P10000 ;pause
M587 S"SSID" P"PASSWORD" ; set network
G4 P10000 ;pause
These lines are unnecessary in config.g, because the WiFi module is disabled to start with, and does not get enabled until the end of running config.g. Also, M587 should NOT be in config.g; see note at end of https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks
Important! Do not use M587 within config.g. As well as being a security hazard, writing the access point parameters to WiFi chip every time you start the Duet may eventually wear out the flash memory.
Ian