sharing folders between 2 suse 10.0 pc's on the same router
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.
sharing folders between 2 suse 10.0 pc's on the same router
This ought to be really simple, but I just can't figure it out, and I couldn't find a decent howto in the last 2 hours.
I will spare you with what I've tried so far, because it was probably wrong.
All I want is to have folders on both pc's that the other one can read.
After all the googling I got the feeling it should be easier to connect to windows with samba
This should be pretty easy, you can use what is called NFS or Network File System. You should be able to open up YaST and find a configuration tool for both the NFS server and one for the NFS client. If you can't find these YaST modules, then perhaps they are not installed. If this is that case, then you'll want to open up the YaST software manager and search for nfs, a list of nfs related packages should show up.
This NFS program will allow the client computer to mount the shared directory just as if they were mounting another partition or something. It's a very handy tool.
The first thing I tried was to set up nfs server and client on both pc's... Now, for no apparent reason it worked - one way that is.
(the numbers refer to pc 1 and 2)
server1 has one shared folder assigned to the full ip adress of pc2 instead of a wildcat, options are: ro,root_squash,sync
client2 can connect, everythings fine.
server2 is set up exactly the same way, only with another folder.
client1 doesn't find the folders on server2
I tried to just fill them in, but I get an "couldn't find nfs entrys in /etc/fstab" - error.
Because - theoretically - samba is more complex. And nfs does ecaxtly what I want to do. - theoretically.
Now I thought I'll just give write permission on the folders on pc1 (nfs-option: rw, and chmodded the shared folder reclusively to 777) so that both pc's just save the shared files there.
But now client2 never connects (it stays on 1% for 5 minutes and eventually crashes or gives up)
I guess I'll give samba a try.
oh christ.
Now it works, but with only one of two folders, and I can't see why, they are set up exactly the same way with the same permissions. The other way still doesn't work, so we'll have to copy everything. Unconvenient, but at least it works.
anywho, problem solved I guess. Unless anyone has an idea what the problem is.
And drag-and-drop doesn't work, he wants copy and paste
oh sorry, I thought I already replied. Yes, both reiserfs, and no links to other partitions. But it only works from time to time. There seems to be something wrong. Unfortunately I have no time to worry about this for the next month. Thanks for helping.
---
I'm getting crashes on konqueror and firefox too now, I think there's some hardware problem. Maybe they're related... I'll have to do reiserfsck and so on, but that has to wait.
-rwxr-xr-x 1 root root 3074 2005-10-11 23:12 rc.nfsd at the server
-rwxr-xr-x 1 root root 3074 2005-10-11 23:12 rc.nfs at the client.
if these lines doesn't have x bit, chmod it.
And if that doens't solve the problem post your /etc/exports file content here.
Do you have mobified /etc/hosts.allow and /etc/hosts.deny?
If not, you should.
Find out what servises you need to run and to be accessed from an internet, block everything else by this way:
/etc/hosts.deny
ALL: ALL
and allow everything you need by this way:
/etc/hosts.allow
local: 10.0.0.2 10.0.0.3 (or ALL: 10.0.0.2 10.0.0.3 10.0.0.4...)
ALL: ftpd
These are just two what you need to run.
Let me know if this does any diffrence.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.