Is there any usable way for creating accessible network shares on Linux (Fedora 15)?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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).
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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
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.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
Quote:
Originally Posted by kev717
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.