Anyone using PP and assessing files on a NAS

More
27 Oct 2019 16:29 #148897 by Derek240
Hi

I currently use UCCNC and store all of my Gcode on my NAS. I'm then able to load the code from whatever machine I'm using at the time. I saw a video on how to setup PP so I can push the file to the PP computer but I can't see where anyone has set it up to access the NAS from PP.

Thanks
Derek

Please Log in or Create an account to join the conversation.

More
27 Oct 2019 17:22 - 27 Oct 2019 17:22 #148902 by smgvbest
very simplified but all there is to it

1. Create a Directory in the PP GCODE folder
2. Mount your NAS to that Directory (is it NFS, CIF, FTP?)
3. update /etc/fstab to make it happen at boot (depends on #2 for how)

what is your experience level with Linux?
Last edit: 27 Oct 2019 17:22 by smgvbest.

Please Log in or Create an account to join the conversation.

More
27 Oct 2019 18:19 #148908 by Derek240
Thanks for the reply. Mostly trying to make sure it can happen before I pursue it.

what is your experience level with Linux?


I know how to spell it :)

Please Log in or Create an account to join the conversation.

More
27 Oct 2019 18:21 #148909 by Derek240
It's a Synology NAS and it supports NFS

Please Log in or Create an account to join the conversation.

More
27 Oct 2019 18:45 - 27 Oct 2019 18:46 #148912 by smgvbest
So you're going to basically do these steps
mind you i'm not doing this at a PP machine to verify exact paths but at close

# make sure NFS client is available
sudo apt install nfs-common
sudo yum install nfs-utils

mkdir ~/gcode/mynas # ~ is shortcut for your home directory
sudo mount -t nfs 10.10.0.10:/mygcode /home/operator/gcode/mynas # using full paths and 10.10.10.10 is your NAS's IP or replace with hostname

now you can check if it's working by
cd ~/gcode/mynas
ls -la # take a look if its their
if not troubleshooting time

to make it permament
using an editor
sudo gedit /etc/fstab
add to bottom of file

10.10.0.10://mygcode /home/operator/gcode/mynas nfs defaults 0 0

save
when rebooted it should be there

you coulde mount right over the gcode directory also
use this in the paths instead
/home/operator/gcode
Last edit: 27 Oct 2019 18:46 by smgvbest.

Please Log in or Create an account to join the conversation.

More
27 Oct 2019 18:48 #148913 by Derek240
Awesome

Thanks for the info and that is certainly a good push for me in the right direction.

Please Log in or Create an account to join the conversation.

More
30 Oct 2019 08:57 #149137 by rodw

It's a Synology NAS and it supports NFS


I found the easiset way was to create a new user on the Synology for my login to the Linuxcnc box and then it was real easy to connect to the Synology. Then its just a matter of giving your PP user the appropriate permissions on any other NAS folders..

Please Log in or Create an account to join the conversation.

More
30 Oct 2019 15:30 #149181 by Derek240
Hi Thanks for the info. Question for you. Were you able to navigate through the NAS folders in PP? The videos I've watched look like they are setup to push the file to PP from another computer as opposed to navigating to a specific folder on the NAS while using PP.

Thanks
Derek

Please Log in or Create an account to join the conversation.

More
30 Oct 2019 23:00 #149234 by rodw
I don't use PP so I can't answer. I just used the home folder for the machine account on the NAS most of the time.
I can't see why you can't navigate the folder structure subject to permissions.
The following user(s) said Thank You: Derek240

Please Log in or Create an account to join the conversation.

More
30 Oct 2019 23:35 #149238 by Derek240
Thanks for the info.

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.115 seconds
Powered by Kunena Forum