Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-21-2009, 01:14 PM   #1
LQ Newbie
Registered: Feb 2008
Posts: 16

Rep: Reputation: 0
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 // /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?
Old 10-21-2009, 02:59 PM   #2
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,150

Rep: Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887Reputation: 887
mite i suggest sshfs

else for nfs:
mkdir /mnt/temp && sudo mount /mnt/temp # /path/to/dir has to be in the hosts /etc/exports

Last edited by schneidz; 10-21-2009 at 03:01 PM.
Old 10-21-2009, 03:30 PM   #3
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
To access windows shares through linux you need the smb client installed only (samba server not needed).

mount -t cifs /media/share
Old 10-21-2009, 03:51 PM   #4
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 83
If you have access to the server look up the smb.conf file, and search for a line called
WORKGROUP = <whatever your linux workgroup is>
Old 10-21-2009, 08:47 PM   #5
LQ Newbie
Registered: Feb 2008
Posts: 16

Original Poster
Rep: Reputation: 0
the sshfs worked beautifully!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi OS Network File Sharing. lifeforce4 Linux - Networking 3 07-05-2008 04:06 PM
xubuntu network file sharing!!! LINUX USER Linux - Software 3 07-25-2006 11:39 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 07:54 AM
Need help for file sharing over network Joey2619 Slackware 5 04-08-2004 03:19 PM
Network file sharing APOLLO Linux - Newbie 3 03-20-2004 04:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration