First-Time Setup - Problem with Connecting to Network
-
Ok, that explains why the blue led doesn't flash.
Cool, and…?
And now we know which firmware is installed. In 1.21 the wifi LED blinks 3 times and then goes solid when it's ready to go and is turned off when the wifi module is off.
-
Well I don't think there is a hardware issue just yet. You are able to ping the board and it is replying, so that's good. You're on the network.
The duplicate wifi network with all caps is just a dud entry. It will do no harm. You can tell it to forget that network later.
There might be something wrong with the files on the SD card preventing a webpage from showing, so until we can verify what's on the card I'm not sure how best to proceed.
We could try setting up the Duet to run in access point mode where it creates it's own network and you connect to it that way, but if there is something wrong with the files on the card it would lead to the same result.
Just a shot in the dark, but have you tried power cycling your wifi router?
Also, how far away is the Duet from the router?
Have you ever logged into your router web interface?
It would be nice to verify at the router end that the Duet is actually getting a proper IP address.
Hi Phaedrux,
Turns out the problem is almost certainly with the SD card (or related hardware)!
It just occurred to me to connect the PanelDue (which I got with the DuetWifi) and see what it shows (sorry, I didn't think about this before because I haven't had any experience with the display before and didn't know it can show the content of the SD card).
I discovered that the display itself works fine, but when I click on the SD Card icon (or anything else that requires the card like the 'macros' button), I get the following error message:
Files on SD Card 0
Error 1 Accessing SD Card
So either the SD card is empty or faulty or the hardware used for reading it is defective.
I'll only be able to confirm if it's the card tomorrow when I get the reader, though.
However, in the likely even that it is the card that's been causing the problem, do you know if there's a source somewhere from which I could download all the relevant content and paste it into a new replacement card?
-
The PanelDue SD card slot is a little different than the main slot. I'm not sure these results are conclusive.
But yes, you will be able to recreate the correct directories on the card if they are missing.
-
The PanelDue SD card slot is a little different than the main slot. I'm not sure these results are conclusive.
But yes, you will be able to recreate the correct directories on the card if they are missing.
Ah, I didn't realize the PanelDue is attempting to read the card from its own slot - I thought it was trying to read the SD card in the controller.
Another step forward, though. I dug up my old camera and discovered an SD card adapter which meant I could read the content of the DuetWifi Mirco-SD card on my Mac.
And the card seems to be reading fine…
I've uploaded all the content of the SD Card here: https://drive.google.com/open?id=19-slsC29NlJQrPa0UW8JmAyMfc3sW_aC
Could you please have a look and see if it's right?
-
First thing I would do is a make a backup of the contents of the card. Just in case.
The config files on the card are pretty generic and will need to be modified to suit your printer.
But there might be one change we can try to see if it will get you connected. I really don't know if this will help, but it's the only thing I can see that might be interfering.
In the config.g file find the lines that have
[c];*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
M552 P192.168.1.14 ; (0 = DHCP)
M554 P192.168.1.255 ; Gateway
M553 P255.255.255.0 ; Netmask[/c]
and either add a ; before each line, or just delete them.Put the card back in and power it up and see if you can connect.
Even if that doesn't let you connect, I think you should try getting a configuration file package ready to go anyway with the online config tool.
https://configurator.reprapfirmware.org/
It will ask you to enter your network information as well and will generate a full set of config files that should more closely match your printer since you'll be providing the details. When you have that ready, copy it over to the SD card and replace the existing files, and give those a try.
-
Hi Phaedrux,
Firstly, thank you very much again for helping me tackle this frustrating problem! it's very much appreciated!
Allow to me respond to your earlier questions first, before moving on to your later suggestion:
Just a shot in the dark, but have you tried power cycling your wifi router?
Yes, did it just now and it made no difference.
Also, how far away is the Duet from the router?
Quite close, about 3-4 meters and it's in the same room I am working in so no walls in between.
Have you ever logged into your router web interface?
Nope, but figured out how to do it and logged in.
Here are a couple of screenshots of what looked to me to be the most relevant pages:
https://drive.google.com/open?id=1Xr_vEs3sW3NTY_XFiyCOikZOmxULhjn0
https://drive.google.com/open?id=1xGxddpLkgyoh_JrSB5ZlxqnfjQVmFCYY
It would be nice to verify at the router end that the Duet is actually getting a proper IP address.
Seem to me that it does, no?
-
First thing I would do is a make a backup of the contents of the card. Just in case.
Good idea! done
The config files on the card are pretty generic and will need to be modified to suit your printer.
But there might be one change we can try to see if it will get you connected. I really don't know if this will help, but it's the only thing I can see that might be interfering.
In the config.g file find the lines that have
[c];*** Ethernet networking: Adjust the IP address and gateway in the following 2 lines to suit your network
M552 P192.168.1.14 ; (0 = DHCP)
M554 P192.168.1.255 ; Gateway
M553 P255.255.255.0 ; Netmask[/c]
and either add a ; before each line, or just delete them.Put the card back in and power it up and see if you can connect.
Tried it just now and still no webpage found (despite having all messages in Printrun about the connection saying it's good just like before).
Even if that doesn't let you connect, I think you should try getting a configuration file package ready to go anyway with the online config tool.
https://configurator.reprapfirmware.org/
It will ask you to enter your network information as well and will generate a full set of config files that should more closely match your printer since you'll be providing the details. When you have that ready, copy it over to the SD card and replace the existing files, and give those a try.
Thanks for the suggestion! I will try it tomorrow and report back!
-
Looks good on the router front. On the second screen shot you posted there is an option for Always use this IP Address. You should probably set that to yes so that the router doesn't issue a new IP address at some point in the future.
I'm stumped as to why you can't connect at this point. Steps forward now are to try a fresh config file set, and if that doesn't work, reinstalling the firmware and trying again. Possibly trying the 1.21 firmware as well. If none of that works, I would start to suspect hardware?
Perhaps David has more insight on a better way forward at this point?
-
I'm sorry, I can't see your screenshots hosted on Google Drive because Chrome on my tablet keeps saying that the Drive site returned an invalid response when I touch the link. I'll try from a PC later.
Please check that the SD card is being read by the Duet. Two ways:
1. Send M503 from YAT. It should respond with a listing of config.g.
2. Send M906. If will respond with the motor currents. If config.g was read at startup, they will be the values at in the M06 command in config.g, otherwise they will be zero.
PS
3 PanelDue can read both SD card slots. It defaults to the one on the Duet.4. Another SD card test: send M122 from YAT. In the Platform diagnostics it should say "SD card detected" and give the interface speed if there is an SD card in the slot.
-
Could the contest of the WWW directory be corrupt?
-
Hi dc42 (David?),
I'm sorry, I can't see your screenshots hosted on Google Drive because Chrome on my tablet keeps saying that the Drive site returned an invalid response when I touch the link. I'll try from a PC later.
If you'd like, I could send you all the screenshots via email? It's just 9 pics and the folder of the SD card is a tiny zip file.
On the other hand, it might not be needed, since your suggested tests might indicate the location of the problem as I'll explain below.
Please check that the SD card is being read by the Duet. Two ways:
1. Send M503 from YAT. It should respond with a listing of config.g.
Checked and got the response:
Configuration file not found!
2. Send M906. If will respond with the motor currents. If config.g was read at startup, they will be the values at in the M06 command in config.g, otherwise they will be zero.
Yep, they're reported as zero.
The full response to that command was:
Motor current (mA) - X:0, Y:0, Z:0, E:0:0:0:0:0:0:0:0:0, idle factor 30%
An important thing to note is that I've run these tests with the original SD card first, and then with a different SD card onto which I copied the entire content of the original SD card.
The results were the same.
Moreover, given that the SD card itself reads fine on my computer indicates, I think, that the problem is actually with the card reader on the DuetWifi (or some other related hardware on the controller)?
3. PS PanelDue can read both SD card slots. It defaults to the one on the Duet.
Tried using the SD card slot on the PanelDue, but didn't work either - although I seem to remember that in order to utilize that slot a different wiring is needed?
Plus, this workaround won't really solve anything as I plan on using the main SD card slot and not the one on the PanelDue.
4. Another SD card test: send M122 from YAT. In the Platform diagnostics it should say "SD card detected" and give the interface speed if there is an SD card in the slot.
Run that one too and got the response:
SD card 0 detected, interface speed: 12.0MBytes/sec
SD card longest block write time: 0.0msIn light of these results, what do we do now?
Do you think a firmware update might solve this issue? and, if so, are there step-by-step instructions on how to do that?
Thanks for your help!
SnowCrash -
I'm at my PC now and I can see the screen shots.
I think the SD card reader on your Duet is faulty.
1. Please confirm that you pushed the SD card in until it clicks. [Then you have to push it in again to remove it.]
2. One more test please: from YAT send M21 to try to mount the SD card, and report the response.
-
I'm at my PC now and I can see the screen shots.
I think the SD card reader on your Duet is faulty.
I think so too.
1. Please confirm that you pushed the SD card in until it clicks. [Then you have to push it in again to remove it.]
Yep, pushed in (gently) till it clicked into place and clicked in (gently) again to release it.
2. One more test please: from YAT send M21 to try to mount the SD card, and report the response.
Sent and no good (tried with both the original SD card and the alternative one).
The response was:
Cannot initialise SD card 0: Card is unusable
-
Glad we got a result. Too bad it wasn't a happier one.
-
Glad we got a result. Too bad it wasn't a happier one.
Yeah, couldn't agree more.
Thanks for the excellent help, Phaedrux! If you ever pass through London I'll be very happy to buy you a beer
dc42, where do we stand on this? how can we get it resolved as quickly as possible? I don't mean to be impatient, but my project has been at in standstill for the past week because of this and can't move forward until it's sorted out …
-
Please ask your supplier for a warranty replacement, linking to this thread. If you bought it direct from Duet3D then email info at duet3d for com.
-
Please ask your supplier for a warranty replacement, linking to this thread. If you bought it direct from Duet3D then email info at duet3d for com.
Sent an email to Duet3D as instructed.
I sincerely hope a new board will be sent out to me as soon as possible so I can get my project back on track.
Thanks for the help in this!
-
I wanted to add a postscript to this thread in praise of Duet3D's exceptional customer service.
Identifying the hardware problem with the controller has taken a bit of time and effort (thanks again Phaedrux & dc42!), but once this was accomplished - and notice that dc42 was responding to my queries over the weekend(!) - the matter was resolved extremely efficiently and quickly.
I sent the email to Duet3D with the replacement request on Saturday. I got a response first thing Monday morning to let me know that a new board is on the way, and the board itself arrived the very next day!
Customer service was a major factor in my decision to go with the DuetWifi. As we all know, everybody are great at the point of sale, but very few follow it up later on if/when problems arise. Prior to buying the DuetWifi, I've seen posts from other people commending Duet3D for their customer care, but now I can also vouch for it from my own personal experience. The process was extremely efficient and pain-free. I didn't need to chase anyone or sit and wait till someone got around to sorting it out.
Well done, Duet3D, and keep it up! you'll certainly gain many more loyal customers like myself!
-
@snowcrash thanks for your kind words.