Setup Help
-
@Nathan116 yes. didn't realise there was a DSF version
-
@jay_s_uk Got it... Now I feel kinda dumb, lol
-
@Nathan116 dont worry. we all do it
-
Alright, so, I keep getting an error when I use the "wget https://github.com/gtjoseph/DueUI/releases/DueUI-DSF-x.x.x.zip" command, and I even replaced the x.x.x.zip part with 3.2.0.zip and it gave me the same "404 not found" error
-
Nevermind, I got it. The command on the github install page should be "wget https://github.com/gtjoseph/DueUI/releases/download/v3.2.0/DueUI-DSF-v3.2.0.zip"
-
-
@jay_s_uk Yeah, I decided to check the file link after posting the question...
How do I "unzip" the file now?
-
-
First, if you're using
https://dueui.org/v3/index.html
you don't need to install any software at all. You just need to enter the information on the settings screen, turn on polling, save, then refresh.If you want to install the software locally so you don't need internet access, then continue:
Is 192.168.1.37 the address of the STM board or the Pi?
If it's the STM, you use the Standalone version. If it's the pi AND the STM is connected to the Pi via the SPI interface AND the Pi is running the Duet Software Framework, then you use the DSF version which you upload to the Pi and follow the instructions here...
https://github.com/gtjoseph/DueUI/wiki/Installation#install-dueui-on-the-sbc-running-the-duet-software-frameworkIf you have some other arrangement, let me know and we'll figure it out!
-
@gtj0 I've tried running it right off of the dueui.org sight and can't seem to get it to work. Regardless, I'd like the be able to run it locally, as it's not unusual for my internet to not work or be kinda slow, so being able to just connect over my local network would be optimal.
192.168.1.37 is the IP of the Pi. The STM board doesn't have an IP address. The Pi is what's running the Duet Software I believe ( @jay_s_uk ).
After figuring out I need to run the DSF version and not the standalone version, I ran the wget command (BTW, the wget command on the github page isn't correct, it gives you a "404 not found" error when you use it. It should be "wget https://github.com/gtjoseph/DueUI/releases/download/v3.2.0/DueUI-DSF-v3.2.0.zip", well, atleast for the v3.2.0 version.) After that, I cd'd into the /opt/dsf/sd/www/ folder, but don't know how to unzip the file/folder as when i attempt the "unzip DueUI-DSF-v3.2.0.zip" command it gives me a "cannot find or open DueUI-DSF-v3.2.0.zip, DueUI-DSF-v3.2.0.zip.zip or DueUI-DSF-v3.2.0.zip.ZIP." error
-
@Nathan116 What directory were you in when you did the wget? Wherever it was, the unzip command should be
unzip <directory>/DueUI-DSF-v3.2.0.zip
I'll fix the wiki page.
-
@Nathan116 navigate to the www folder then run wget. That will download it to the folder you're in. Then you can unzip it.
-
2 solutions to the same problem
-
When I cd into the /opt/dsf/sd/www/ and do the "wget https://github.com/gtjoseph/DueUI/releases/download/v3.2.0/DueUI-Standalone-v3.2.0.zip", it gives me a "Cannot write to ‘DueUI-Standalone-v3.2.0.zip’ (Permission denied)" error
-
@Nathan116 What user are you logged in as? Everything under /opt/dsf is owned by the "dsf"user so you need to use "sudo" to save anything there.
-
OK, adding "Sudo" to the beginning fixed it.
So, I have it downloaded and extracted, but when I go to 192.168.1.37/dueui it just shows the standard DWC webpage, except now it just says "404 Page Not Found"
-
Oy. I think the duet web server changed something again. Add
index.html
to the URL...
http://192.168.1.37/dueui/index.html -
@Nathan116 Also, some feedback on how I can make the installation instructions or process better would be much appreciated!
-
@gtj0 Adding /index.html got it working.
Give me a few minutes and I'll post a write-up of the step-by-step instructions on how I set it up for you to post on the Github
-
For the settings page, I selected DSF, put my Pi IP address on the top line, left "reprap" under password as I don't know what else I would put there. What should I put under the "DueUI config file URL"?