File Open Dialog - No Network Drives

More
10 years 3 months ago - 10 years 3 months ago #77136 by eFalegname
Ok, I have some updates maping my USB router network drive to share:
My linuxcnc runs on linuxmint mate 17.3 with cifs-utils installed by default. Anyway you can install cifs on your system:
Code:
sudo apt-get install cifs-utils
1. In order to mount the shared drive I created a directory named BM inside the nc_files:
Code:
sudo mkdir /home/ef/linuxcnc/nc_files/BM
2.Opened the fstab file and added a row to link the USB router drive (remote "BM" directory) inside my nc_files directory with the "BM" local. This mounts the network drive at linux startup:
Code:
sudo pluma /etc/fstab
Code:
//192.168.1.1/volume(sda1)/BM /home/ef/linuxcnc/nc_files/BM cifs guest,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
3.Saved and reloaded fstab file
Code:
sudo mount -a
options meaning:
cifs - partition type
guest - no password protect connection required
rw - mount read/write rights
uid and gid - user id. You can retrieve it with the command:
Code:
cat /etc/passwd | grep your-linux-username
nounix - disable cifs unix extensions so that no UNIX ACL, path and lock will be used.
iocharset - non english languages character support
mode - permissions
0 - back up drive
0 - fsck command (at boot time)

Fstab Ubuntu-help
Last edit: 10 years 3 months ago by eFalegname.

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

Moderators: newbynobi, HansU
Time to create page: 0.183 seconds
Powered by Kunena Forum