PDA

View Full Version : [ubuntu] [SOLVED] Adding a network drive from a ubuntu server (avoiding samba)



OverlordManny
November 28th, 2008, 12:12 AM
Hello,

Here's my set-up I'm running Ubuntu 8.10 desktop as a small file server. I'm using the same OS on my desktop machine and laptop. I want to mount a folder from my server to my desktop machine. I want to avoid using samba because winbind is conflicting with firefox3 making it unusable. Is there another way? I have absolutely no Microsoft OS's on this network. Is Samba really needed in this case? I would like to have the network folder auto-mount at start-up. I had all of this working when my server was running WinXP using cifs but due to the wimbind/firefox3 conflict I decided to use Ubuntu on my server trying to avoid winbind. If you con point me to a useful thread or help in anyway I'd appreciate it. Any time I search for this all I seem to find is samba guides.

adaptr
November 28th, 2008, 12:25 AM
On the machine you want to share a folder:

apt-get install nfs-kernel-server
nano -w /etc/exports
ADD this: >> /dir/to/share *(rw)
exportfsOn the machine you want to mount it:

apt-get install nfs-client
nano -w /etc/fstab
ADD this: >> servername:/dir/to/share /mount/point nfs auto 0 0
mount -a

OverlordManny
November 28th, 2008, 12:41 AM
Ok I had tried this before but I kept on getting:

mount.nfs: can't get address for //home-server

I also tried without the "//" and I tried using the IP directly but still no go! Any more advice friend?

OverlordManny
November 28th, 2008, 01:25 AM
Ok I got it I had to add my servers ip to /etc/hosts. Now it's like butter. Though oddly enough Nautilus tells me that the files are on a video dvd and asks if I want to play them lol.