Duet2 wifi Not connecting
-
Ok this is a stupid question. I have typed in M589 and the SSID and Password, in the example it shows a verticle line does that need to be in there before I type in the IP address
-
That vertical line is actually the capital letter
i
-
Ok and is there a space between the IP address and the C1? what is C1
-
Yes there is a spaxe between the address and the C1. You can leave the C1 off entirely. It sets the wifi channel (1-13) default is 1 and should be fine for our test.
-
ok so do I just type the 552 S1 now
ok so this is my resaults- M589 S"MySpectrumWiFiF8-2G" P"abigail2011" I192.168.1.1 C1<LF>
ok<LF>
M552 S1<LF>
ok<LF>
WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
WiFi module is idle<LF>
WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
WiFi module is idle<LF> -
I don't understand why it's not connecting
-
Ok, let me try explaining again.
What we want to do is use the M589 command to create a NEW wifi network that is coming from the Duet itself. You'll then connect to THAT network from your computer.
So try this, send
M589 S"DuetWifi" P"abigail2011" I192.168.1.1
Then send
M552 S2
Now on your computer you will have to look for the wifi network called DuetWifi and connect to that using the password you just set.
Then in your browser go to 192.168.1.1 which should open to the Duet web interface if everything is working.
-
It didn't work. Would it be possible for it not to work if my windows 10 is out of date
-
What does it say when you send the commands?
Do you see a wifi network on your computer called DuetWifi after sending that command? -
M589 S"DuetWiFi" P"abigail2011" I192.168.1.1<LF>
ok<LF> -
M552 S2<LF>
ok<LF>
WiFi module is providing access point DuetWiFi, IP address 192.168.1.1<LF>
WiFi module is providing access point DuetWiFi, IP address 192.168.1.1<LF> -
Ok, that looks like it's working.
Now on your computer you need to connect to the SSID called "DuetWifi" instead of MySpectrumWiFiF8-2G.
-
ok the blue light came on but it was asking for a network security key.
-
@Tisum1979 said in Duet2 wifi Not connecting:
abigail2011
That's the password you set in the M589 command.
-
would the connection to the board not work if there
-
so if I am connected to the duet wifi I don't have internet. It disconnects me from spectrum
-
- WiFi -<LF>
Network state is running<LF>
WiFi module is providing access point <LF>
Failed messages: pending 0, notready 0, noresp 1<LF>
WiFi firmware version 1.23<LF>
WiFi MAC address 9a:f4:ab:cf:be:21<LF>
WiFi Vcc 3.33, reset reason Exception<LF>
WiFi flash size 4194304, free heap 25848<LF>
WiFi IP address 192.168.1.1<LF>
Connected clients 0<LF>
Socket states: 0 0 0 0 0 0 0 0<LF>
ok<LF>
- WiFi -<LF>
-
ok so I need to be set to the IP address or the DNS address
That could be the issue -
ok so I will try to clear all network and reenter ssid and password along with the IP adress and see what happens
-
Yes that's right, when you're connected to the Duet network you wouldn't be able to get to the internet.
But when you're connected to the duet network you can try accessing the web interface of the duet by going to the IP address 192.168.1.1 in your browser. If that works, then that means the duet wifi is working correctly.
If the Duet can't connect to your router, I'm not sure why that would be. The network needs to be 2.4Ghz because 5.0Ghz won't work for the Duet. If your router has the same SSID for both 2.4 and 5Ghz networks it may help to separate them out into different names. Though the 2G at the end of your SSID makes me think that may already be the case.