LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-23-2005, 04:42 PM   #1
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Rep: Reputation: 15
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?
 
Old 08-23-2005, 04:57 PM   #2
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
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...
 
Old 08-23-2005, 05:06 PM   #3
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Original Poster
Rep: Reputation: 15
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?

Last edited by mifan; 08-23-2005 at 05:09 PM.
 
Old 08-23-2005, 05:08 PM   #4
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
They don't, but it makes things a lot simpler when they are.
 
Old 08-23-2005, 05:55 PM   #5
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Original Poster
Rep: Reputation: 15
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...
 
Old 08-23-2005, 06:04 PM   #6
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
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.

Last edited by IsaacKuo; 08-23-2005 at 06:08 PM.
 
Old 08-23-2005, 06:40 PM   #7
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Original Poster
Rep: Reputation: 15
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.
 
Old 08-23-2005, 06:54 PM   #8
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Original Poster
Rep: Reputation: 15
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?)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
File sharing WolfCub Linux - Software 4 02-16-2005 09:35 PM
file sharing David@330 Linux - Newbie 3 08-19-2004 11:21 AM
File Sharing? Jaster Linux - Software 5 07-25-2004 06:29 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 01:30 PM

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

All times are GMT -5. The time now is 04:15 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