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 02-23-2005, 02:58 AM   #1
petergriffin
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Rep: Reputation: 0
Quick Question on sharing files


If you want to share files on 2 Linux boxes, say both Mandrake with Samba installed, should Smb4k find the other computer when you hit the 're-scan' tab within that program? If they're are not seeing each other at this point what information do I have to tell each one that there is another one on the Network?

Thanks in advance.
 
Old 02-23-2005, 03:28 AM   #2
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
Assuming they're both set up with defaults, the problem might simply be that they're both trying to act as servers (windows uses a numbering scheme, with 20 as the the default for the master server, and 'os level 20' is also what samba tends to use as well, which means it's likely your two linux boxes are simply fighting each other, and if you have another MS windows server on the network, it's probably joining in on the fray as well. Your best bet is to go into your /etc/samba/smb.conf (or similar) file, and adjust one of the boxes to a lower OS level, which is easy if you read through the script.

Personally, though, if you're just running two Linux boxes, I'd opt for NFS, which is a whole lot easier to configure, more mature, more efficient, and less well understood by the script kiddies. It may take a couple extra minutes to read about and set up, but once you see it in action, you'll hate setting up SMB connections.
 
Old 02-23-2005, 04:07 AM   #3
Mel_P
LQ Newbie
 
Registered: Mar 2004
Location: UK
Distribution: Mandrake 9.2
Posts: 19

Rep: Reputation: 0
Hello,

I have a similar problem. I got Mdk 9.2 to network but after installing 10.1 I cannot share. My router sees the linux pc (by netbios name) but I cannnot see the windows PCs.

When you say "set to a lower OS level" - what number please.

Aslo is there a simple guide to NFS please?

Ta, Mel
 
Old 02-23-2005, 05:43 AM   #4
Mel_P
LQ Newbie
 
Registered: Mar 2004
Location: UK
Distribution: Mandrake 9.2
Posts: 19

Rep: Reputation: 0
Hey ! This may help you petergriffin!

Found this in smb.conf

# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
# local master = no

so I set local master=0 by removing the "#" and then Linux found the other PCs (well 1 so far ! ) and the network printer - GREAT

PS - I also changed the value in "smb-winbind.conf" - Do I need to please?

Mel
 
Old 02-23-2005, 06:05 AM   #5
Mel_P
LQ Newbie
 
Registered: Mar 2004
Location: UK
Distribution: Mandrake 9.2
Posts: 19

Rep: Reputation: 0
I am not trying to take this over --- but I can now see my Windows shares BUT on my Windows PC I can see the computer name but when I double click on it I get a message box

//MEL2 is not accessible - Network path was not found.

Any thoughts on this please?

Thanks

Mel_p
 
Old 02-23-2005, 06:15 AM   #6
petergriffin
LQ Newbie
 
Registered: Nov 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Hi Mel_P,


I have checked the smb.config and mine is already set as 'local master = no'. I am now looking into Scott_R's suggestion of 'nfs' and found a decent site explaining it. This is the link if you want to take a look http://nfs.sourceforge.net/nfs-howto/intro.html#WHAT

There's a lot of reading to do on that site so it might take me a while, but thanks for the info on samba.
 
  


Reply



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
mandrake 10.1 sharing files and internet sharing xfiles_arram Linux - Networking 0 05-21-2005 02:22 PM
Question about sharing files within a private network Rajahuroman Linux - Networking 3 08-14-2004 02:00 AM
How do I access locked files with Knoppix??? Quick question r3dhatter Linux - Distributions 2 03-14-2004 10:13 PM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM
Quick question on bin files Godboo Linux - Newbie 4 02-15-2004 05:54 PM

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

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