Duet Wifi board. Can i use a USB Print Server to get to DWC?
-
@Phaedrux I don't follow that, sorry not in IT so my networking skills are lacking a bit. Can you elaborate? What would I need to tell my IT guy to understand what we need to do?
-
With access point mode, you don't need to connect the printer to anything else on your network. Instead the duet creates its own low power wifi network that you connect to with your laptop to monitor it and send files. See if that's acceptable to your IT department.
-
@Phaedrux said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
With access point mode, you don't need to connect the printer to anything else on your network. Instead the duet creates its own low power wifi network that you connect to with your laptop to monitor it and send files. See if that's acceptable to your IT department.
That would be awesome, can you point me to the instructions in the guide to do this? Or is it as simple and giving the Duet the M589 followed a made-up SSID and P/W for me to find with my Laptop?
-
@jallen810 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
@bearer Can you control the DWC that way? Or would i just have the Simplify3D/Cura/etc. control screen?
If you're not as you say "in IT" then I don't think trying to get DWC to work outside of the standard means is a good path.
As far as running the Duet as an Access Point you determine what SSID and password used to create a new network. If your computer has a wireless network adapter you can connect the computer to the Duet instead of the other way around. But still check with IT, they might have issues with "rouge" Access Points for various reasons.
-
@bearer said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
@jallen810 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
@bearer Can you control the DWC that way? Or would i just have the Simplify3D/Cura/etc. control screen?
If you're not as you say "in IT" then I don't think trying to get DWC to work outside of the standard means is a good path.
As far as running the Duet as an Access Point you determine what SSID and password used to create a new network. If your computer has a wireless network adapter you can connect the computer to the Duet instead of the other way around. But still check with IT, they might have issues with "rouge" Access Points for various reasons.
Okay i think that is what @Phaedrux is also saying, is there a guide on the Duet Dozuki that i can follow that you can point me to?
-
M589 is all you need. That link is all there is for how to do it. You just need to send that command over a usb console connection.
-
@jallen810 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
Okay i think that is what @Phaedrux is also saying
indeed, just make up a SSID and password to substitute in
M589 S"SSID" P"password"
Password might need to be 8 characters if it doesn't work
-
@bearer said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
@jallen810 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
Okay i think that is what @Phaedrux is also saying
indeed, just make up a SSID and password to substitute in
M589 S"SSID" P"password"
Password might need to be 8 characters if it doesn't work
Bear in mind that anyone with the password will be able to control the printer from a smartphone. So choose something difficult to guess! WPA requires 8 characters minimum.
-
@dc42 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
s minimum.
Excellent, this is perfect. I think this is a safe way for us to limit access. You've been a great help!
-
@dc42 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
WPA requires 8 characters minimum.
Some ambiguity there, if its a password then less than 8 characters can be supported, as the long-enough key will be hashed from the password to form the PMK. On the other hand if an actual key is supplied as the PSK it is used as the PMK directly, its all part of 802.11i if anyone needs a sleeping pill:P
But I guess you answered the question weather or not the Duet2Wifi needs a minimum of 8. As does most devices.
-
@bearer @dc42 When i type on the Duet screen:
M589 S"SSID" P"password"
and hit enter, the machine tells me there is a WiFi error. I tried turning wifi on and running a M552 S0 and then re-did the M589 but then it doesn't do anything.
Did i do something wrong?
Does this have to be done on the computer or can it be done directly on the Duet screen -
I guess you missed the part of substituting something other than SSID and password; I'm not sure if there is a reason it wouldn't work from the PanelDue (which is what I suspect you refer to as the screen).
https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters
The M589 command will fail if the WiFi module has not yet been taken out of reset. So if the WiFi module has not been started, send M552 S0 to put it in idle mode first.
If it doesn't do anything then it might have worked? Or did it throw an error after M552 S0 as well?
-
AFAIR you need to provide an I (IP) address parameter too, for example 192.168.1.0.
You can send M569 without parameters to see the stored settings, except for the password.
Once you have stored the SSID and password, send M552 S2 to start in access point mode. When it is working, you can put that command in config.g.
-
@bearer i used a different SSID and P/W, just obviously didn't post it on here for security purposes.
I looked for the SSID on my laptop but i didn't show up so I just restarted the 3Dprinter and it is stuck saying "Connecting" and i cannot give it any commands. I'm afraid i messed something up. Can i connect to it via USB and go in and set this up? IF so how? -
@jallen810 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
so I just restarted the 3Dprinter and it is stuck saying "Connecting"
thats odd, would suggest PanelDue doesn't get a reply from the Duet. Fear not, you can always connect and recover with the USB cable. It gives you a serial port to send the commands to. You can use the terminal software of choice or follow the guide https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7
-
Via USB or console tab on PanelDue screen:
M552 S0
M589 S"SSID" P"password" I192.168.9.1
M552 S2Then check for network SSID on a phone or similar, connect, and the open a browser to your chosen IP address.
When it is working, put ONLY "M552 S2" in your config.g
Note: DO NOT match your existing network 3 first digits of the IP. 192.168.x Choose a different x.
-
@jallen810 Connect to the Duet via USB with your PC. Then using YAT or similar serial console (see link @bearer posted), send
M589
(not M569!) to see if it has an access point set up. The format for the command should be:
M589 S"SSID" P"password" Innn.nnn.nnn.nnn
where I"nnn.nnn.nnn.nnn" is the IP address of the Duet. Something like I192.168.1.1. M589 response should be something like:M589 S"Bongo" P"Sandwich" I192.168.1.1 M589 Own SSID: Bongo IP=192.168.1.1 GW=0.0.0.0 NM=0.0.0.0
Then send
M552 S2
to enable access point mode. You may need to sendM552 S0
first, to turn off Wifi. You should then be able to see the Duet's wifi network on your PC, and connect to it. Then go to the IP address to connect to the DWC.Once you connect to the DWC, edit the config.g (System > config.g) replace M552 S1 with M552 S2.
-
@bearer said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
SB cable is probably your best bet if not able
Okay so tried to install YAT but we're running .net 4.5 and YAT won't install because of that.
In addition, now my printer is goofed up. Wont boot up, just says "Connecting" when i power cycle it. I belief the config.g file got goofed when i was trying to input the m589 on the Duet screen. Any ideas?duet screen connecting.pdf
-
Can you pull the SD card out and check it on the computer?
There are alternatives to YAT like pronterface. http://www.pronterface.com/ though you h=may have issues sending case sensitive passwords with it.
-
@Phaedrux said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
ull the SD card out and check it on the computer?
Did you see the picture i posted? What would be on the SD card other than Gcode? Which Pronterface file do i need? There is a whole lot of files...