 |
 |
 |
 |
| Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc. |

14th January 2007, 06:29 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: USA
Posts: 323

|
|
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
|

14th January 2007, 06:40 PM
|
 |
An ape descendant
|
|
Join Date: Dec 2006
Location: Mexico City
Age: 29
Posts: 3,101

|
|
|
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
Fedora 16 x86_64
Netbook: Acer Aspire One A150
Intel Atom N270 @ 1.6GHz, 1.5 GB DDR2 PC2-4200, Intel Graphics (8MB?), 160GB Seagate HDD
Fedora 15 i686
|

14th January 2007, 06:45 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511

|
|
|
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.
|

14th January 2007, 06:50 PM
|
 |
Retired Community Manager & Avid Drinker Of Suds
|
|
Join Date: Feb 2005
Location: Rochester NY
Age: 38
Posts: 4,176

|
|
__________________
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?
|

14th January 2007, 07:06 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: USA
Posts: 323

|
|
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
|

14th January 2007, 07:09 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: USA
Posts: 323

|
|
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
|

14th January 2007, 07:13 PM
|
 |
An ape descendant
|
|
Join Date: Dec 2006
Location: Mexico City
Age: 29
Posts: 3,101

|
|
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
Fedora 16 x86_64
Netbook: Acer Aspire One A150
Intel Atom N270 @ 1.6GHz, 1.5 GB DDR2 PC2-4200, Intel Graphics (8MB?), 160GB Seagate HDD
Fedora 15 i686
|

14th January 2007, 07:14 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: USA
Posts: 323

|
|
Reply to: jim
|

14th January 2007, 07:58 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511

|
|
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.
|

14th January 2007, 08:58 PM
|
|
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
|

14th January 2007, 09:36 PM
|
 |
Registered User
|
|
Join Date: Jul 2004
Posts: 65

|
|
|
jim gave the answer
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
|

14th January 2007, 10:15 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: USA
Posts: 323

|
|
Reply to: pipecrawler
Quote:
|
Originally Posted by pipecrawler
|
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
|

14th January 2007, 10:15 PM
|
 |
Registered User
|
|
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,511

|
|
|
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.
|

14th January 2007, 10:20 PM
|
|
Registered User
|
|
Join Date: Aug 2006
Location: USA
Posts: 323

|
|
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
|

14th January 2007, 10:31 PM
|
 |
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 01:36 (Thursday, 23-05-2013)
|
|
 |
 |
 |
 |
|
|