LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   file sharing... stuck (http://www.linuxquestions.org/questions/linux-networking-3/file-sharing-stuck-356273/)

mifan 08-23-2005 04:42 PM

file sharing... stuck
 
Ok, i'm trying to network 2 home computers together because 1 has a prob with usb, the other has a prob with cd writing and I need them to transfer files with eachother.

I got as far as having individual host names for the computers, both under the default workgroup, and I can see the other computer's shared folder, but when I try to mount it it says smb connection failed.

I am using lin neighborhood:
on the mount dialog box, I see I can I can enter in an SMB user name and password... how do I set up SMB passwords and users?

IsaacKuo 08-23-2005 04:57 PM

Are you using KDE? I've found that linneighborhood is a pain to get working right, while smb4k is nice and intuitive (it's a KDE application).

Are both of your computers Linux computers? In that case, you can get better performance using NFS, and nfs is a lot easier to set up than SMB. You can use both nfs and smb at the same time, if you want (can be useful if some computers are Windows).

If both of your computers are linux, and they're both using the same distribution, and you set up the users the same on both systems, then you should be able to set things up relatively easily. You can set up shared folders pretty easily through KDE, and set up connecting to those shared folders pretty easily with smb4k.

However, if the users aren't set up exactly the same on both systems, you may have an interesting time configuring SAMBA and smb4k just right...

mifan 08-23-2005 05:06 PM

so the users on both computers need to be the same?

ok since you say nfs is easier, i've installed nfs, but how to use it? via lin neighborhood also?

IsaacKuo 08-23-2005 05:08 PM

They don't, but it makes things a lot simpler when they are.

mifan 08-23-2005 05:55 PM

ok,

so having different users... how do I successfully mount the shared folder on the other computer?

I get a 7053 error when I try to mount the shared folder...

IsaacKuo 08-23-2005 06:04 PM

Could you describe the operating systems of your two computers? For example, maybe they are both running Mandrake?

Also, how are the users set up? Are they both set up with just one normal user?

If the two computers are running the same OS, with just one normal user, then the users should have the same user number. As far as NFS is concerned, the same user number means the same user, so that will simplify things.

But please, give some information about what operating systems your computers are using and what the users are set up like. It's impossible to specify how to set things up without some basic information. I don't even know whether either of the computer is running Windows, or maybe one of them is a Macintosh.

Also, it would be helpful if you could give the host names of the computers, and the names of the users. That way, I can provide exact listings of what you need to put in your /etc/fstab and /etc/exports files to set up NFS. It's really incredibly simple, once you see a concrete example.

mifan 08-23-2005 06:40 PM

Both are using Mandriva LE 2005. using a linksys router to connect to the internet.

Computer A can see the shared folder on Computer B. but can't mount via lin neighborhood. (Error 7053)

Computer B can't see computer A at all.


both are UID 500

for example, one computer host is SDF-1, user is rick other computer is SDF-2, user is max.

SDF-1 is dual boot with XP.

mifan 08-23-2005 06:54 PM

ok, after restarting the computers,

Computer B can now see Computer A and mount the shared folder. Firewall for Computer A is turned off. Firewall for computer B is on. Computer A can see Computer B, but can't access it.

So now, I've set my firewalls to allow SMB.

seems everything is ok now.

(now how to write a script to mount these folders without going into lin neighborhood each time?)


All times are GMT -5. The time now is 01:48 AM.