Gcode sharing folder ( Debian / Windows 7)
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
25 May 2018 21:44 #111127
by InMyDarkestHour
Replied by InMyDarkestHour on topic Gcode sharing folder ( Debian / Windows 7)
Have you rechecked the permissions on the windows side ?
The windows user that has permissions to the folder is the one you are using to connect with ? This maybe different to the user you are logged in with at your linux machine.
You'll have to give more verbose descriptions of the errors you are getting.
Have a look at any log files contained here:
/var/log/samba/
This log file:
/var/log/syslog
Only look at the files that have a timestamp close to the time you were trying to connect. It will also help to know which versions of windows you are trying to connect to.
The windows user that has permissions to the folder is the one you are using to connect with ? This maybe different to the user you are logged in with at your linux machine.
You'll have to give more verbose descriptions of the errors you are getting.
Have a look at any log files contained here:
/var/log/samba/
This log file:
/var/log/syslog
Only look at the files that have a timestamp close to the time you were trying to connect. It will also help to know which versions of windows you are trying to connect to.
The following user(s) said Thank You: allenwg2005
Please Log in or Create an account to join the conversation.
- allenwg2005
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
26 May 2018 17:39 #111156
by allenwg2005
Replied by allenwg2005 on topic Gcode sharing folder ( Debian / Windows 7)
Windows side
I have checked and rechecked permission on the Windows side and it appears I have that set correctly.
(Oh, it's Windows 7 Pro).
Linux side
I think I'm logged in correctly, all I get for an error message when I try to open the shared folder on the Win machine from the Linux machine is:
"Failed to open file XXXXX"
Failed to mount Windows share.
This could be a tell, I don't have permission to access var/log/samba, it has the red X next to it.
I used to know how to know how to change permissions but I don't recall how to do it now.
/var/log/syslog doesn't exist, (that could be telling me something as well).
Quit the adventure I must say, thanks for hanging in there with all your help.
I have checked and rechecked permission on the Windows side and it appears I have that set correctly.
(Oh, it's Windows 7 Pro).
Linux side
I think I'm logged in correctly, all I get for an error message when I try to open the shared folder on the Win machine from the Linux machine is:
"Failed to open file XXXXX"
Failed to mount Windows share.
This could be a tell, I don't have permission to access var/log/samba, it has the red X next to it.
I used to know how to know how to change permissions but I don't recall how to do it now.
/var/log/syslog doesn't exist, (that could be telling me something as well).
Quit the adventure I must say, thanks for hanging in there with all your help.
Please Log in or Create an account to join the conversation.
- allenwg2005
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
26 May 2018 17:45 #111157
by allenwg2005
Replied by allenwg2005 on topic Gcode sharing folder ( Debian / Windows 7)
I found /var/log/syslog, it too requires permission which I don't have.
I'll try to do a search on how to change that.
I'll try to do a search on how to change that.
Please Log in or Create an account to join the conversation.
- allenwg2005
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
26 May 2018 19:49 #111164
by allenwg2005
Replied by allenwg2005 on topic Gcode sharing folder ( Debian / Windows 7)
Also, I'm not following what this means:
mkdir: invalid option -- 'o'
mkdir: invalid option -- 'o'
Please Log in or Create an account to join the conversation.
- allenwg2005
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
26 May 2018 21:04 #111170
by allenwg2005
Replied by allenwg2005 on topic Gcode sharing folder ( Debian / Windows 7)
I'm not sure this is progress or not.
Now the error message says:
"Failed to open directory"
Permission denied.
I assume I'm back to Windows. (Man there are a lot of places to screw-up on Windows).
Now the error message says:
"Failed to open directory"
Permission denied.
I assume I'm back to Windows. (Man there are a lot of places to screw-up on Windows).
Please Log in or Create an account to join the conversation.
- allenwg2005
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
26 May 2018 22:36 #111171
by allenwg2005
Replied by allenwg2005 on topic Gcode sharing folder ( Debian / Windows 7)
I haven't any idea how I did it, but it works now, I can access the shared folder on the Win PC from LCNC.
Last question, when I go to load an .ngc file from within LCNC were do I find the network or shared folder?
That file path is eluding me.
Thanks
Last question, when I go to load an .ngc file from within LCNC were do I find the network or shared folder?
That file path is eluding me.
Thanks
Please Log in or Create an account to join the conversation.
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
26 May 2018 23:08 #111172
by InMyDarkestHour
Replied by InMyDarkestHour on topic Gcode sharing folder ( Debian / Windows 7)
Open a terminal and type
mount
Hopefully there will be an entry that starts with gvfsd-fuse on
If you cd into the directory and run ls
you hopefully with get an entry starting with smb-share:
eg I mount a share called movies02 on a server called subsonic and the entry is
smb-share:server=subsonic,share=movies02
so the full path would be (in my case)
/run/user/1000/gvfs/smb-share:server=subsonic,share=movies02/
This thread post discusses mount via fstab (you can choose where to mount the folder)
The second answer here discusses doing the same thing but using a file to store username & password, I would guess the domain entry could be left off.
If I had a windows 7 machine at home I could nail a full solution for you.
mount
Hopefully there will be an entry that starts with gvfsd-fuse on
If you cd into the directory and run ls
you hopefully with get an entry starting with smb-share:
eg I mount a share called movies02 on a server called subsonic and the entry is
smb-share:server=subsonic,share=movies02
so the full path would be (in my case)
/run/user/1000/gvfs/smb-share:server=subsonic,share=movies02/
This thread post discusses mount via fstab (you can choose where to mount the folder)
The second answer here discusses doing the same thing but using a file to store username & password, I would guess the domain entry could be left off.
If I had a windows 7 machine at home I could nail a full solution for you.
The following user(s) said Thank You: allenwg2005
Please Log in or Create an account to join the conversation.
- allenwg2005
- Offline
- Platinum Member
Less
More
- Posts: 327
- Thank you received: 4
26 May 2018 23:59 #111173
by allenwg2005
Replied by allenwg2005 on topic Gcode sharing folder ( Debian / Windows 7)
Here is what mount yelled:
allen@CNC:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=213733,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=335696k,mode=755)
/dev/disk/by-uuid/100f21bf-db51-49d3-b79f-e113983e3fa8 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1313640k)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
allen@CNC:~$
I didn't see anything here with gvfsd-fuse , I will look at those other answers you mentioned
Thanks again
allen@CNC:~$ mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=213733,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=335696k,mode=755)
/dev/disk/by-uuid/100f21bf-db51-49d3-b79f-e113983e3fa8 on / type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1313640k)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
allen@CNC:~$
I didn't see anything here with gvfsd-fuse , I will look at those other answers you mentioned
Thanks again
Please Log in or Create an account to join the conversation.
- InMyDarkestHour
- Offline
- User is blocked
Less
More
- Posts: 701
- Thank you received: 111
27 May 2018 01:14 - 27 May 2018 01:16 #111175
by InMyDarkestHour
Replied by InMyDarkestHour on topic Gcode sharing folder ( Debian / Windows 7)
OK
First you want to
sudo apt-get install gvfs-fuse
sudo adduser your-user-name fuse
Then logout and log back in and mount your share
The folder should then be in /home/your-user-name/.gvfs
your-user-name refers to your Linuxcnc login, which can be found by typing whoami at a terminal.
Sorry about the info before hand I was using Linux Mint and wrongly assumed things would be similar. I did the above after booting with the linuxcnc iso in a virtual machine and mounting a share on a linux samba server. The location of the mount should be the same.
First you want to
sudo apt-get install gvfs-fuse
sudo adduser your-user-name fuse
Then logout and log back in and mount your share
The folder should then be in /home/your-user-name/.gvfs
your-user-name refers to your Linuxcnc login, which can be found by typing whoami at a terminal.
Sorry about the info before hand I was using Linux Mint and wrongly assumed things would be similar. I did the above after booting with the linuxcnc iso in a virtual machine and mounting a share on a linux samba server. The location of the mount should be the same.
Last edit: 27 May 2018 01:16 by InMyDarkestHour.
The following user(s) said Thank You: allenwg2005
Please Log in or Create an account to join the conversation.
27 May 2018 03:01 #111177
by andypugh
Possibly in /mnt/hgfs
(Not something I would ever class as obvious)
I seem to recall it is much easier to find from the Linux file manager (whre it is under Network than from the LinuxCNC file picker.
Replied by andypugh on topic Gcode sharing folder ( Debian / Windows 7)
Last question, when I go to load an .ngc file from within LCNC were do I find the network or shared folder?
That file path is eluding me.
Possibly in /mnt/hgfs
(Not something I would ever class as obvious)
I seem to recall it is much easier to find from the Linux file manager (whre it is under Network than from the LinuxCNC file picker.
The following user(s) said Thank You: allenwg2005
Please Log in or Create an account to join the conversation.
Time to create page: 0.142 seconds