LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Network File Sharing Brainfart (https://www.linuxquestions.org/questions/linux-newbie-8/network-file-sharing-brainfart-763478/)

damteke 10-21-2009 12:14 PM

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?

schneidz 10-21-2009 01:59 PM

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

rkski 10-21-2009 02:30 PM

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

irishbitte 10-21-2009 02:51 PM

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>

damteke 10-21-2009 07:47 PM

the sshfs worked beautifully!


All times are GMT -5. The time now is 06:40 PM.