LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2011, 09:47 PM   #1
anon112
Member
 
Registered: May 2008
Distribution: Arch, FreeBSD
Posts: 116

Rep: Reputation: 17
Question Is there any usable way for creating accessible network shares on Linux (Fedora 15)?


Currently I am trying to get some fedora shares to simply connect to each other to access a read-only shared folder on a host machine (no security/encryption even required for these files!).

I've tried to get a smb network share going but that didn't work (can't connect with nautilus), I've tried a quick fix with daap and rhythmbox so that they can at least access the music, but rhythmbox fails very miserably trying to connect/create that (and mt-daapd didn't help much) - Basically I get errors saying the host is unreachable.

I haven't even set up a firewall yet for this network and already I'm running into these fundamental problems.

Currently I'm using Fedora 15. On a whim I tried the "public" folder and had sharing of the public folder over the network enabled - yep, didn't work (and I certainly didn't expect it to).

I would be trying some more advanced CLI stuff, setting up an ssh server or something, but the computer-challenged people who have to access these files just want to be able to click something and have it work.

For the operational requirements of this setup, a file synchronisation system would work (although highly inefficient since it would mean gigabytes sent over the network).

So, does anybody have any ideas for this?
 
Old 06-29-2011, 11:37 PM   #2
Lexus45
Member
 
Registered: Jan 2010
Distribution: Debian, Centos, Ubuntu, Slackware
Posts: 361
Blog Entries: 3

Rep: Reputation: 48
Using Samba between Linux boxes may seem a little bit strange, though it's possible.
So, if you use Samba, show us please your config output.

Code:
testparm
The native Unix way for this task is sing Network File System. You may read about it in a nutshell in part 5.6.2 of the Slackbook.

Last edited by Lexus45; 06-29-2011 at 11:40 PM.
 
Old 06-29-2011, 11:50 PM   #3
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
for Linux to Linux file sharing, samba is pointless, that's for sharing to windows machines, yes it works but it's like using a screwdriver to hit in a nail, not the proper tool for the job
with Linux to Linux you have NFS file shares, which is native to most *NIX operating systems
to do this you create a file (or edit it if it already exists)
/etc/exports
on the 'server' end
it should look something like
Code:
#directory      allowed ip (options)
/mnt/data       192.168.2.2(rw,no_root_squash)
/home/hopper    192.168.2.2(rw,no_root_squash)
then do
Code:
su -c '/etc/init.d/nfs restart'
then on the client end you just do
Code:
mount -t nfs {server_ip}:{/exported/directory} {mount/point}
or you can make it permanent by adding the share by adding it to /etc/fstab
Code:
192.168.2.2:/media/music	/media/music	nfs	defaults	0 0

Last edited by frieza; 06-29-2011 at 11:51 PM.
 
1 members found this post helpful.
Old 06-30-2011, 08:19 AM   #4
anon112
Member
 
Registered: May 2008
Distribution: Arch, FreeBSD
Posts: 116

Original Poster
Rep: Reputation: 17
Will try NFS -- I was mostly thinking that if anybody happened to bring over a Windows machine there might be a possibility of interoperability between operating systems if I used samba. Will post if I have further difficulties.

Thanks,
Kev717
 
Old 06-30-2011, 11:19 AM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by kev717 View Post
Will try NFS -- I was mostly thinking that if anybody happened to bring over a Windows machine there might be a possibility of interoperability between operating systems if I used samba. Will post if I have further difficulties.

Thanks,
Kev717
you can always share a directory via both nfs AND samba on the off that someone has a windows machine, if that is what you are interested in doing, i've done it before.
 
  


Reply

Tags
fedora, file sharing, network



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
Samba server visible on network intermittent - shares not accessible - UPDATE neoelf Linux - Networking 1 06-17-2009 02:34 AM
problem in creating a drive accessible to both windows and linux sunnydayzrback Linux - Software 1 02-01-2006 05:35 AM
Need assitance in creating a shared partition accessible by both Linux and Windows XP cajunaggie Linux - Newbie 5 09-14-2004 06:41 PM
creating usable partition tw001_tw Slackware 2 06-01-2004 12:43 PM
Shares not accessible siddharth Linux - Networking 1 08-18-2003 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:56 AM.

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