File Open Dialog - No Network Drives

More
10 years 9 months ago - 10 years 9 months ago #69125 by Todd Zuercher

HDVideo wrote: Is //windows_share/ in the mount command the full path? for example: D:data/cad_cam/toolpaths/
If for example, the "data" folder and all sub-folders are shared on the Windows system, can I eliminate the sub-folders in the mount command?
Also, are the path and filenames case sensitive?

Thanks for all the help with this issue!


Depending on what your windows computers name is. If it is "windows-pc" the path would be
Code:
//windows-pc/data/cad_cam/toolpaths/
Last edit: 10 years 9 months ago by Todd Zuercher.

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

More
10 years 9 months ago #69128 by HDVideo
I think I'm almost there, but still getting Access Denied errors on the mount command. It's asking for a password when the command is entered and I've tried my LinuxCNC system password as well at my Windows password with the same results. Attached is a screen grab if anyone has an idea what I'm doing wrong. The folder winbox has been created in the nc_files folder.

image missing http://www.highdesertracing.com/photos/i-SnJMSGD/0/L/i-SnJMSGD-L.png

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

More
10 years 9 months ago - 10 years 9 months ago #69134 by Todd Zuercher
The password prompt after issuing a sudo command will be your linux password.
You can add at the end of the comand -o username=your_windows_user_name, password=your_password
Code:
sudo mount.cifs //video-pc/cad_cam/Aspire/Toolpaths/ home/ed/linuxcnc/nc_files/winbox/ -o username=your_windows_user_name,password=your_windows_password
Last edit: 10 years 9 months ago by Todd Zuercher.

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

More
10 years 9 months ago #69136 by HDVideo

Todd Zuercher wrote: The password prompt after issuing a sudo command will be your linux password.
You can add at the end of the comand -o username=your_windows_user_name, password=your_password

Code:
sudo mount.cifs //video-pc/cad_cam/Aspire/Toolpaths/ home/ed/linuxcnc/nc_files/winbox/ -o username=your_windows_user_name,password=your_windows_password


I did try that earlier and received a different error that I forget at the moment. I think it was a syntax error of some sort, so I'll give it another try. The Windows shares were all made public so no password should be needed, I would think, but not really sure.

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

More
10 years 9 months ago #69252 by HDVideo
Woo-Hoo - Finally got it to work!

I was getting "Failed to open Windows Network - Failed to retrieve share list from server" errors for a couple of days, but once that was fixed, the mount.cifs command worked. The problem I was having before the "Failed to open..." error popped up was I needed to put // in front of home in the command line. I also needed the username/password to make it work.

Now to see if I can modify the fstab file to make the mount permanent.

Thanks a bunch for helping us Linux challenged users! I really appreciate it.

Ed

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

More
10 years 3 months ago - 10 years 3 months ago #77129 by eFalegname
Hi Ed, II did not succeed to do the mount with cifs. :sick:
Found the directory where linuxmint mounts my network drive then I linked it to my nc_file directory.
Code:
ln -s -f '/run/user/1000/gvfs/smb-share:server=192.168.1.1,share=volume(sda1)/BM' '/home/ef/linuxcnc/nc_files'
Now I have to mount the network drive at startup
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.570 seconds
Powered by Kunena Forum