Network File Sharing Brainfart
I can't for the life remember how to map a network drive from my linux server to a linux machine.... Kinda sad I know :(
I have tried putting in a generic line in my fstab that says //host.server1.com/share /media/share nfs I have also tried it with cifs. I am honestly only familiar with creating shares between Linux and Windows (usually accessing windows share through linux). So I do have Samba installed not that I can imagine that is required. I have also tired to access the share through browsing my network on my Ubuntu desktop. I find the Server, I find the Share'd folder, but it prompts me for a login and password. I put in root, and the associating password, but I'm not sure what the workgroup should be? I have tired many combinations including just leaving it workgroup and it just keeps kicking back and "access Denied" error, or wrong username/password. Any thoughts? |
mite i suggest sshfs
else for nfs: mkdir /mnt/temp && sudo mount host.com:/path/to/dir /mnt/temp # /path/to/dir has to be in the hosts /etc/exports |
To access windows shares through linux you need the smb client installed only (samba server not needed).
Code:
mount -t cifs host.server1.com:/share /media/share |
If you have access to the server look up the smb.conf file, and search for a line called
Code:
WORKGROUP = <whatever your linux workgroup is> |
the sshfs worked beautifully!
|
All times are GMT -5. The time now is 06:40 PM. |