Duet Wifi board. Can i use a USB Print Server to get to DWC?
-
@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...
-
Yes I saw the photo.
The SD card contains all the configuration files for the Duet, plus the files for the web interface, and macros to make things like homing work.
For pronterface/printrun you would probably want this file http://kliment.kapsi.fi/printrun/Printrun-Win-Slic3r-03Feb2015.zip
-
Which SD? The one in my picture doesnt?
I got it connected to Pronterface but i have to go to a meeting. Back in 1 hr
-
@jallen810 said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
Which SD?
The SD card in the Duet board.
-
@droftarts said in Duet Wifi board. Can i use a USB Print Server to get to DWC?:
M589 S"SSID" P"password" Innn.nnn.nnn.nnn
Okay i have the Duet SD card and i made and i made a copy of it for good measure. Now what do i need to do?
-
If you put the SD card back into the Duet, and connect your usb cable, and fire up printrun and connect to it, does the Duet respond to commands like M115 (get firmware version)?
-
@Phaedrux This is exactly what i got back from the machine:
SENDING:M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.03RC3 ELECTRONICS: Duet WiFi 1.02 or later + DueX5 FIRMWARE_DATE: 2019-05-25b5 -
Ok, now that you have a USB console connection up you can send the commands to setup the access point as described by @droftarts above. Once connected to the web interface you can update the firmware, etc.