Fedora Linux Support Community & Resources Center
  #1  
Old 14th January 2007, 06:29 PM
Xavior Offline
Registered User
 
Join Date: Aug 2006
Location: USA
Posts: 323
Exclamation Sharing Files Linux to Linux

Please read this posting in its entirety.

My original post in another posting:

"I have two linux PCs and one windows,
I setup samba, so winPC can see shares on LinPCs,

But I still, after three months of trying, can't get the two LinPCs to share files...
I've read and read and read.............
Can anyone help ?

Thanks,
Xav

Being that they say Linux was built as a networking OS,
this should be a no brainer...
accessing shares Linux to Linux should almost be automatic...
I don't understand why this does not work."


Brian1 was kind enough to reply:

"
Quote:
Originally Posted by Brian1
Should start a seperate post for your question there Xavior.

Things to check:
Is a firewall enabled on the linux machines?
Are the needed ports opened to allow network sharing connections?
Also posting current /etc/samba/smb.conf file will help.
Have you started the samba server?

If using Redhat or Redhat clones like FC then use the command ' /sbin/service smb start '. Must be run as root. If it starts with no errors to make start on each reboot ' /sbin/chkconfig --level 345 smb on '.

From the windows machine run the command ' smbclient -I xxx.xxx.xxx.xxx -U username '. Replace xxx.xxx.xxx.xxx with the IP of one of the linux machine. And username with a name of the user on the machine.

Brian
"
(Thanks Brian for your posting.)

CLARIFICIATION:

My problem is specifically Linux connecting to Linux and has nothing to do with Windows connecting to Linux. As a matter of fact, the Samba server providing files to my Windows machine is working great.

So if anyone out there can offer guidance on how to get my two Linux machines to communicate with each other, you would make my day! I reallly want to get away from Windows completely, but no matter what I read (Barnes and Noble can't supply me with enough books) I can't get past this point with FedoraC5/6. I can't seem to get NFS to work.

Help me rid myself of Microsoft!

Thanks,
Xavier
Reply With Quote
  #2  
Old 14th January 2007, 06:40 PM
joe.pelayo Offline
An ape descendant
 
Join Date: Dec 2006
Location: Mexico City
Age: 30
Posts: 3,105
Hello Xavier.

As far as I understand you are using some kind of router to connect all the PC's in a net, right?

I know those devices do some kind of firewalling and thus prevent the communication between the PC's, of course you can configure the device to release some ports required by your Linux PC's to communicate. So I guess the only necessary things to do are:
1.- Find out which are the ports required to communicate your Linux PCs.
2.- Enter to the management application bundled with your router (I am supposing you have one) and release those ports.
3.- Configure the net between the Linux PCs (check the firewalls, SELinux).

Then, unless you have faulty hardware, everything should work.

I have the same problem in home 'network' (it has at most two computers connected at any time). When I had Windows in both machines (or in only one) I could always share files (Samba works fine) but the Linux boxes can not share anything. It was funny but I found myself using Samba to communicate my Linux boxes.

However, I could easily set up a network at my work with three computers running different Linux distributions, but using a switch (or hub, I don't remember what thing was that).
__________________
Notebook: Acer Aspire 5536-5112.
AMD Athlon X2 QL64 @ 2.1GHz, 4GB DDR2 PC2-5300, ATI Radeon HD3200 (256MB), 250GB Toshiba HDD, HL-DT-ST DVDRAM GT20N
Windows 7 Professional, Fedora 20 x86_64
Reply With Quote
  #3  
Old 14th January 2007, 06:45 PM
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509
What are you wanting a gui type tool like Windows Networking or a command line command to mount the share?

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #4  
Old 14th January 2007, 06:50 PM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 40
Posts: 4,175
nfs is the protocol for linux to linux filesharing

http://forum.fedoraforum.org/showthread.php?t=102621
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #5  
Old 14th January 2007, 07:06 PM
Xavior Offline
Registered User
 
Join Date: Aug 2006
Location: USA
Posts: 323
Post Reply to: joe.pelayo

Quote:
Originally Posted by joe.pelayo
Hello Xavier.

As far as I understand you are using some kind of router to connect all the PC's in a net, right?

I know those devices do some kind of firewalling and thus prevent the communication between the PC's, of course you can configure the device to release some ports required by your Linux PC's to communicate. So I guess the only necessary things to do are:
1.- Find out which are the ports required to communicate your Linux PCs.
2.- Enter to the management application bundled with your router (I am supposing you have one) and release those ports.
3.- Configure the net between the Linux PCs (check the firewalls, SELinux).

Then, unless you have faulty hardware, everything should work.

I have the same problem in home 'network' (it has at most two computers connected at any time). When I had Windows in both machines (or in only one) I could always share files (Samba works fine) but the Linux boxes can not share anything. It was funny but I found myself using Samba to communicate my Linux boxes.

However, I could easily set up a network at my work with three computers running different Linux distributions, but using a switch (or hub, I don't remember what thing was that).
More Details:
- They are connected via a 10mb/100mb/1gb Netgear Switch
- All firewalls are disabled on all PCs
- seLinux is disabled on all PCs
- there is a seperate router to the outside world connected to the switch,
the routers internal ip is the PCs gateway.
- the router does have a firewall,
but the PCs are connected to the switch not the router,
so they should have a perfect connection even with the router off, I would think ;-)

Can you tell me:
which are the ports required to communicate your Linux PCs ?

Thanks,
Xav
Reply With Quote
  #6  
Old 14th January 2007, 07:09 PM
Xavior Offline
Registered User
 
Join Date: Aug 2006
Location: USA
Posts: 323
Arrow Reply to: Brian1

Quote:
Originally Posted by Brian1
What are you wanting a gui type tool like Windows Networking or a command line command to mount the share?

Brian
Anything that I can create a share on one Linux PC,
and access that share from another Linux PC....


Thanks Brian,
Xav
Reply With Quote
  #7  
Old 14th January 2007, 07:13 PM
joe.pelayo Offline
An ape descendant
 
Join Date: Dec 2006
Location: Mexico City
Age: 30
Posts: 3,105
I am not sure of the required ports because I have not solved the problem myself but, when I boot (or shutdown) something called RPC portmaper complains. So I think it has something to do. Check http://easylinux.info if you have doubts of how to set up a Linux network.
__________________
Notebook: Acer Aspire 5536-5112.
AMD Athlon X2 QL64 @ 2.1GHz, 4GB DDR2 PC2-5300, ATI Radeon HD3200 (256MB), 250GB Toshiba HDD, HL-DT-ST DVDRAM GT20N
Windows 7 Professional, Fedora 20 x86_64
Reply With Quote
  #8  
Old 14th January 2007, 07:14 PM
Xavior Offline
Registered User
 
Join Date: Aug 2006
Location: USA
Posts: 323
Lightbulb Reply to: jim

Quote:
Originally Posted by jim
nfs is the protocol for linux to linux filesharing

http://forum.fedoraforum.org/showthread.php?t=102621
Yes it is,

Thanks,
Xav
Reply With Quote
  #9  
Old 14th January 2007, 07:58 PM
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509
To mount on the command line check out this post. http://www.redhat.com/docs/manuals/e...ect-share.html
For a gui look into smb4k. Currently does not work on windows 2k shares and maybe xp. Why unknown. If smb4k can access win2k shares I sure would like to know how.

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #10  
Old 14th January 2007, 08:58 PM
Xavior Offline
Registered User
 
Join Date: Aug 2006
Location: USA
Posts: 323
Where is the Linux Network ?

Why is it that under Network, all I see is Windows Network ?

tia,
Xav
Reply With Quote
  #11  
Old 14th January 2007, 09:36 PM
pipecrawler Offline
Registered User
 
Join Date: Jul 2004
Posts: 65
jim gave the answer

Quote:
Originally Posted by jim
nfs is the protocol for linux to linux filesharing

http://forum.fedoraforum.org/showthread.php?t=102621
if you read the linked thread you understand how to make a share between linuxcomps.
if you want to share for example /home/user in computer a to computer b you have to mount that map in computer b. Read the thread or google for howto nfs

good luck

/P
Reply With Quote
  #12  
Old 14th January 2007, 10:15 PM
Xavior Offline
Registered User
 
Join Date: Aug 2006
Location: USA
Posts: 323
Lightbulb Reply to: pipecrawler

Quote:
Originally Posted by pipecrawler

nfs is the protocol for linux to linux filesharing

http://forum.fedoraforum.org/showthread.php?t=102621
___________________________
I followed this step by step, it did Not work...

Thanks,
Xav

Last edited by Xavior; 14th January 2007 at 10:16 PM. Reason: wrong quote
Reply With Quote
  #13  
Old 14th January 2007, 10:15 PM
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509
Are you under Gnome or KDE?
And what is the app that is running that you are talking about?

Brian
__________________
Distribution: RHEL 5.1 with Pieces of this and that.
Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.
Reply With Quote
  #14  
Old 14th January 2007, 10:20 PM
Xavior Offline
Registered User
 
Join Date: Aug 2006
Location: USA
Posts: 323
Question Reply to: Brian1

Quote:
Originally Posted by Brian1
Are you under Gnome or KDE?
And what is the app that is running that you are talking about?

Brian
Gnome all the way...... ;-)

When you double-click Computer Icon on the desktop,
you see two icons, Filesystem and Network,
if you double-click Network,
all I see, is Windows Network,

Q: Where is the Linux Network ?

Thanks,
Xav
Reply With Quote
  #15  
Old 14th January 2007, 10:31 PM
pipecrawler Offline
Registered User
 
Join Date: Jul 2004
Posts: 65
if you see windows network that means that you're samba is working, you cant see any linuxnetwork there.
you have to mount a share in you're computer from another linuxcomputer via nfs.
read this http://tldp.org/HOWTO/NFS-HOWTO/index.html

/P
Reply With Quote
Reply

Tags
files, linux, sharing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing files two linux installs Audiomad Hardware & Laptops 1 20th September 2009 03:34 PM
Sharing files between Linux punklinux Servers & Networking 6 21st August 2008 07:22 AM
Sharing printers and files between Windows and Linux XMAG Using Fedora 22 23rd November 2007 11:06 AM
Sharing Files by Connecting to a Linux System from a Windows System rvs1st Servers & Networking 2 20th October 2006 01:50 PM


Current GMT-time: 02:26 (Saturday, 01-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Ryotsu-minato Travel Photos - Middleton Photos on Instagram - South Hadley Photos