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

26th June 2011, 10:48 PM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: Buenos Aires, Argentina
Posts: 17

|
|
|
Step by step guide to folder sharing inside LAN
Recent refugee from Ubuntu here. Fedora fan for one month.
Happy but missing some things...
I have two computers that access the Internet through a router. They are assigned IPs dynamically by the router's DHCP. I need each computer to be able to "see" some shared folder on the other one, with RW permissions to that folder and its content.
I want to use Nautilus to access those folders from each computer.
Tried NFS, Samba, gnome-user-share to no avail.
Willing to kill Fedora's firewall forever in order to ease folder sharing.
I give up.
Can some kind and knowledgeable person try a step by step setup guide for this? As an 8-year Linux user I am not afraid of command line interfaces.
Thanks in advance.
|

26th June 2011, 11:56 PM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
|
Re: Step by step guide to folder sharing inside LAN
Try adding the ip addresses to /etc/hosts on both machines.
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

26th June 2011, 11:59 PM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: Buenos Aires, Argentina
Posts: 17

|
|
|
Re: Step by step guide to folder sharing inside LAN
Quote:
Originally Posted by glennzo
Try adding the ip addresses to /etc/hosts on both machines.
|
Thank you glennzo. As I said, IPs are dynamically assigned thru DHCP by the router. I guess this means adding the IP addresses as you suggest wouldn't be a permanent solution.
|

27th June 2011, 12:30 AM
|
 |
Un-Retired Administrator
|
|
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,924

|
|
|
Re: Step by step guide to folder sharing inside LAN
Yeah, I saw the dynamic address part. Do the boxes get rebooted often? Mine don't so this solution is more or less permanent for me. I'm not a Samba scholar by any means but it seems from my experiences here on my home network that unless I add the addresses to /etc/hosts Samba pretty much refuses to work. From what I've gathered though Samba isn't a good solution for Linux to Linux networking. I guess NFS isn't reliable either due to DHCP? Why not make the addresses static or is that out of the question?
__________________
Glenn
The Bassinator © ®
Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
|

27th June 2011, 12:42 AM
|
 |
"Registered User" T-Shirt Winner
|
|
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,118

|
|
|
Re: Step by step guide to folder sharing inside LAN
Depending on the capabilites of your router, you may be able to get an IP address to "stick" to a particular machine, even when using dynamically set IP using DHCP. On my Netgear router, there is the facility to "reserve" an IP address, where you set the IP address you want reserved, the hostname of the machine and the MAC address of the machine. Another possibility is to set the "lease time" to some high value. As far as I understand it, lease time is the length of time any particular machine "owns" an IP address after being assigned one dynamically.
|

27th June 2011, 04:53 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: Buenos Aires, Argentina
Posts: 17

|
|
|
Re: Step by step guide to folder sharing inside LAN
Quote:
Originally Posted by glennzo
Yeah, I saw the dynamic address part. Do the boxes get rebooted often? Mine don't so this solution is more or less permanent for me. I'm not a Samba scholar by any means but it seems from my experiences here on my home network that unless I add the addresses to /etc/hosts Samba pretty much refuses to work. From what I've gathered though Samba isn't a good solution for Linux to Linux networking. I guess NFS isn't reliable either due to DHCP? Why not make the addresses static or is that out of the question?
|
Thanks again glennzo. In case I go the way of static IP addresses (which I would avoid but not at any cost), can anyone point me to any step by step Fedora setup guide to a home network, with fixed IPs instead of DHCP, that lets me share RW folders thru Nautilus, using Samba or NFS or gnome-user-share?
---------- Post added at 12:53 AM ---------- Previous post was at 12:49 AM ----------
Quote:
Originally Posted by PabloTwo
Depending on the capabilites of your router, you may be able to get an IP address to "stick" to a particular machine, even when using dynamically set IP using DHCP. On my Netgear router, there is the facility to "reserve" an IP address, where you set the IP address you want reserved, the hostname of the machine and the MAC address of the machine. Another possibility is to set the "lease time" to some high value. As far as I understand it, lease time is the length of time any particular machine "owns" an IP address after being assigned one dynamically.
|
I'll check into it. Thanks, PabloTwo! If I succeed, I'll need a setup guide anyway...
|

27th June 2011, 07:41 AM
|
|
Registered User
|
|
Join Date: May 2009
Posts: 32

|
|
|
Re: Step by step guide to folder sharing inside LAN
Quote:
Originally Posted by etitor
Thanks again glennzo. In case I go the way of static IP addresses (which I would avoid but not at any cost), can anyone point me to any step by step Fedora setup guide to a home network, with fixed IPs instead of DHCP, that lets me share RW folders thru Nautilus, using Samba or NFS or gnome-user-share?
---------- Post added at 12:53 AM ---------- Previous post was at 12:49 AM ----------
I'll check into it. Thanks, PabloTwo! If I succeed, I'll need a setup guide anyway...
|
You can assign a static IP from NetworkManager in Fedora very easily. If you want I can take you through setting up NFS and SAMBA
|

27th June 2011, 11:18 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: Buenos Aires, Argentina
Posts: 17

|
|
|
Re: Step by step guide to folder sharing inside LAN
Quote:
Originally Posted by Affix
You can assign a static IP from NetworkManager in Fedora very easily. If you want I can take you through setting up NFS and SAMBA
|
Please please please Affix be my guest!
|

28th June 2011, 01:15 AM
|
|
Registered User
|
|
Join Date: Jun 2011
Location: Buenos Aires, Argentina
Posts: 17

|
|
|
Re: Step by step guide to folder sharing inside LAN
OK friends, glennzo, Affix, PabloTwo...
I managed to set my two computers with fixed IP addresses. Now mine is 192.168.1.2 and my wife's 192.168.1.3. Router is 192.168.1.1.
We both have Internet OK.
My Fedora firewall has been nuked in order to not interfere at this stage.
I haven't touched /etc/hosts.
Can you help me share folders with one another using Samba or NFS, and Nautilus' easy access?
|

3rd July 2011, 09:21 PM
|
 |
Registered User
|
|
Join Date: Aug 2007
Location: Cornwall England
Posts: 333

|
|
|
Step by step guide to folder sharing inside LAN
This is something i am working on too.
One would have thought two boxes and a router would be easy !
So far besides gnome-user-share i have found giver and iptux apps in the repos
that appear relatively simple but have not got any of them configured yet.
I'm thinking of asking for a sticky on this topic as it must surely be the most prolific form of network ?
|
| 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: 06:35 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|