How to Share Files/Folders Between Windows XP, Vista, 7 and Fedora Linux

Posted by Akshay Deep Lamba on Geeks with Blogs See other posts from Geeks with Blogs or by Akshay Deep Lamba
Published on Sun, 02 Jan 2011 10:47:14 GMT Indexed on 2011/01/02 10:54 UTC
Read the original article Hit count: 398

Filed under:

Getting started:

 

To get started, logon to Windows XP and click Start –> then right click ‘My Computer’ and select ‘Properties’.

 

fedora_XP_sharing_11_thumb[1]

 

 

Then select ‘Computer Name’ tab and click ‘Change’

 

fedora_XP_sharing_12_thumb[1]

 

 

Enter the Computer and Workgroup name and click OK. Make sure all systems use the same Workgroup name. You will have to restart your computer for the change to take effect.

 

fedora_XP_sharing_13_thumb[1]

 

 

After restarting, click Start –> Control Panel.

 

fedora_XP_sharing_14_thumb[1]

 

 

Select Security Center –> Windows Firewall.

 

fedora_XP_sharing_15_thumb[1]

 

 

When Windows Firewall opens, select ‘Exceptions’ tab and check the box to enable File and Printer Sharing. Close out when done.

 

fedora_XP_sharing_17_thumb[1]

 

 

 

Next, logon to Fedora and go to System –> Administration –> Add/Remove Software.

 

fedora_14_services_thumb[1]

 

 

Then search for and install system-config-samba. Install all additional packages when prompted.

Ensure that the Network Settings along with Correct Gateway is Mentioned so that your System can
Access the Internet.

system-config-samba

fedora_XP_sharing_thumb[1]

 

 

After installing, go to System –> Administration –> Samba.

 

fedora_XP_sharing_2_thumb[1]

 

 

Then select Preferences –> Server Settings.

 

fedora_XP_sharing_3_thumb[1]

 

 

 

Enter the Workgroup name here and click OK.

 

fedora_XP_sharing_4_thumb[1]

 

 

Select Preferences –> Samba Users.

 

fedora_XP_sharing_5_thumb[1]

 

 

Edit or Add User to samba database and click OK.

 

fedora_XP_sharing_6_thumb[1]

 

 

To create shares, click File –> Create Add Shares, then select the folder you wish to share and check:

Writable

Visible

 

fedora_XP_sharing_7_thumb[1]

 

 

Then select ‘Access’ tab and give users access to the shares, then click OK to save.

 

fedora_XP_sharing_8_thumb[1]

 

 

Next, go to System –> Administration –> Firewall.

 

fedora_14_workgroup_6_thumb[1]

 

 

Select ‘Samba’ under ‘Trusted Services’ and enable Samba.

 

fedora_14_workgroup_7_thumb[1]

 

 

Next, select ‘ICMP’ and enable ‘Echo Reply (pong) and Echo Request (ping)’

 

fedora_XP_sharing_18_thumb[1]

 

 Also add the eth0 interface to the trusted interfaces.

 

windows_fedora_share_2

 

After that go to Applications –> System Tools –> Terminal and run the command below:

 

su -c 'chkconfig smb on'

fedora_XP_sharing_19_thumb[1]

 

 

Restart your computer and if everything is setup correctly, you should be able to view shares from either system.

 

fedora_XP_sharing_9_thumb[1]

 

 

 

fedora_XP_sharing_10_thumb[1]

 

At the terminal:

Quote:

su
setenforce 0
service smb restart
service nmb restart
exit

 

ENJOYYY....

© Geeks with Blogs or respective owner