Is there NO WAY to connect to DWC?????
-
@rushmere3d that’s interesting. I’ll check it out thank you.
-
@alankilian wifi
-
@corlissmedia OK, good to know.
Please scroll down to section 5 on THIS PAGE and let us know what you see compared to the document.
What do you get to the M552 commands as you turn off your WiFi?
What to you get from your M587 command to configure your WiFi?
What do you get to the M552 commands as you turn on your WiFi?- Do you get "WiFi is connected to access point (whatever you access point is using for its SSID) , IP address is xxx.yyy.zzz.www?
-
@corlissmedia
-
@alankilianWiFi module is idle
M552
WiFi module is changing mode
ok
WiFi reported error: Wrong password while trying to connect to NETGEAR83_2GEXT
WiFi module is idle
M552 S-1
WiFi module stopped
ok
M552
WiFi module is disabled
ok
M552 S0
M552
WiFi module is disabled
ok -
@alankilian WiFi module is idle
WiFi module is connected to access point NETGEAR83, IP address 192.168.0.XX -
@corlissmedia said in Is there NO WAY to connect to DWC?????:
WiFi reported error: Wrong password while trying to connect to NETGEAR83_2GEXT
I think we found the problem.
Does your password contain any special characters?
What terminal software are you using the set the password?
See the notes here: https://docs.duet3d.com/User_manual/Reference/Gcodes#notes-96
-
@corlissmedia said in Is there NO WAY to connect to DWC?????:
WiFi module is connected to access point NETGEAR83, IP address 192.168.0.XX
OK, you should have gotten an actual IP address and not one ending in "XX"
I have NO IDEA how in the heck that could have happened.
I'm 100% baffled.
-
@alankilian that was something I did to hide the numbers. I have the numbers, but I thought they should remain mine, and not published here.
-
@phaedrux the password looks like this, only the letters have been changed in this example: anduyrt789
How is that wrong?
-
@corlissmedia said in Is there NO WAY to connect to DWC?????:
How is that wrong?
That's between you and your wifi router.
The error message says your router rejected your password.
If there are no unusual characters. All lower case and numbers, there should be no issue there, so that just leaves the password being incorrect.
What terminal software are you using? Mac? If so, the password command will need to be typed correctly all in one go without stopping or back spacing.
Alternatively you can create a small text file with the command and place it on the SD card in the sys folder, call it
addwifi.g
Then from the terminal you can sendM98 Paddwifi.g
and it will execute the command for you without the terminal software getting in between. -
@phaedrux I’m on a Mac, yes. I’m not using the Mac Terminal to enter the password? I’m using SerialTools to enter the password?
I’ve redone the entry a number of times. I’ve used software from Netgear to verify the password. I’m sure I’ve entered the correct password for that extended network.
One thing that concerns me: when I use system preferences, then Network to see the networks I have, NETGEAR93 (not 83) shows up. So I think at some point I typed something after the M587 command that caused some confusion. I don’t know how to delete that phantom network. I do know that I can long on to it, but when I try to do that, it asks for a password. I’ve tried the password I thought was for it, and the password for the 5G network. Neither has worked.
My apologies, but your last suggestion made no sense whatsoever to me. Since I can’t access the fils on the card, which are on the board I still can’t use DWC to view, how does that work?
Great suggestions and help, though. Thank you.
-
@corlissmedia said in Is there NO WAY to connect to DWC?????:
My apologies, but your last suggestion made no sense whatsoever to me. Since I can’t access the fils on the card, which are on the board I still can’t use DWC to view, how does that work?
He is talking, I think, about doing what I do.
I remove the SD card from the Duet and insert it into a device I have connected to my computer which allows me to read/write an SD card.
I keep a standard, minimum config.g file on my computer. It has the bare minimum commands to get a Duet up and running with WiFi
This is what I do:
- modify the standard config.g file for the needs of the given WiFi connection
- write the modified file to the SD card.
- remove the SD from the device connected to my computer
- insert the SD card back into the Duet.
Of course I don't remove or insert the SD card with the Duet powered on.
Frederick
-
Yes, exactly. You'd need to remove the SD card from the Duet and put it in your Mac to edit the files on it.
I've attached a sample macro you can use. Edit it and change the M587 command to use your SSID and password and copy the file to the sys folder on the SD card. Then put it back in the Duet and reconnect by USB terminal. Now send the command
M98 P"addwifi.g"
which will run that file and execute your command and hopefully get you connected to the wifi network.Contents of the file:
; Add default wifi network ; M552 S0 ; Disable network module G4 S5 ; wait 5 seconds M587 S"NETWORKNAME" P"PASSWORD" ; Add duet wifi SSID to remembered networks list G4 S5 ; wait 5 seconds M552 S1 ; reenable wifi module
-
@corlissmedia you can also use this command to remove all remembered networks from the WiFi module.
M552 S0 ; set wifi to idle M588 S"*" ; forget all networks
-
@phaedrux Thank you, I will try to do exactly what you’re suggesting tomorrow morning. But first I will try once more to verify the Ssid and password.
I do wish I didn’t have this Netgear AC1900 EX7000 extender.
-
@engikeneer are you saying I can use that code in SerialTools? My SerialTools doesn’t look like that. Are you using the colors feature to get that look? Thank you.
-
@fcwilt thank you, reading your post a few times has made it make more sense now.
-
@corlissmedia yes via serial tools.
The colouring is just me and the others using the code snippet tag on the forum to make it easier to read -
@engikeneer to reveal my stupidity even more, what is "the code snipet tag?"