How to share files between Fedora Linux and Windows Vista

windows_fedora

If you’ve been following our blog here you’ll notice that we try to make our tutorials as easy as it can be even for the newcomers. We do this because we know some in our audience are not as geeky as others, so to be all inclusive we decided to write our tutorials for everyone — geeks and non-geeks.

In this simple tutorial, I will show you how to configure both Windows Vista and Fedora Linux to share files and folders and printers.

 

For you to accomplish this task, you’ll need to satisfy some basic requirements before Windows Vista and Fedora Linux can share files and folders.

Both machines need to be in the same IP subnet

Both machines need to be in the same workgroup

Both machines need to be using the same protocol (samba needs to be installed on Fedora machine)

When you’re ready, please continue below.

 

 

Step One) Preparing Windows Vista machine

 

1) Click Start –> Right-click on Network –> Properties. Next click on Manage Network Connections.

 

windows_fedora_1 windows_fedora_2

 

 

2) Right-click on Local Area Connection –> Properties. Then select Internet Protocol Version 4 (TCP/IPv4) and click the Properties button.

 

windows_fedora_3 windows_fedora_4

 

3) Enter the IP address information and click OK when done. Next go back and enable sharing in the Network and Sharing Center as shown below.

 

windows_fedora_5 windows_fedora_6

 

4) Click Right-click on Computer –> Properties. Then select Advanced system settings.

 

windows_fedora_7 windows_fedora_8

 

5) Configure the workgroup name and click OK. Your system will restart, and that’s ok.

 

windows_fedora_9

 

 

Step Two) Preparing Fedora Client

 

1) Click on System –> Administration –> Add/Remove Software. Next search for the term ‘samba’ into the search box. From the list select ‘Samba Server Configuration Tool’, ‘Server and Client software to Interoperate with Windows machines’

 

fedora_network_add Screenshot-Add-Remove Software

 

2) After selecting both, enter the root password to install the selected packages.

 

Screenshot-Add-Remove Software-1 Screenshot-Authenticate

 

3) After installing click the Run button to run Samba configuration. Next click settings –> Server settings and enter the workgroup name and server description.

 

Screenshot-Run new application_ Screenshot-Server Settings

 

4) On the Security tab, select ‘User’ for authentication mode and click OK. Select settings –> Samba Users to add users to samba shares.

 

Screenshot-Server Settings-1 Screenshot-Samba Users

 

5) Next select System –> Administration –> Network. When the network console is opened select Edit to edit the connection.

 

fedora_network Screenshot-Network Configuration

 

6) Select ‘Statically set IP addresses:’ option and enter the IP addresses and enable Samba and Samba-client through the Firewall.

 

Screenshot-Ethernet Devicewindows_fedora_share_1

 

 

7) Also add the eth0 interface to the trusted interfaces.

 

windows_fedora_share_2

 

 

 

8) Add users to Samba database. Go to Applications –> System –> Terminal

 

su root

smbpasswd -a username

Do this for all users on the Fedora system who need access to shares.

 

 

9) Fedora can see my Windows Vista PC. If you still can’t see it look at the Firewall settings again and make sure Samba is running.

 

windows_fedora_share_3 

 

Restart both machines and login to create shares. Creating shares in Fedora is done in samba-system-config. In Windows, right-click on any folder and select share.

 

 

 

Reblog this post [with Zemanta]

View Comments to “How to share files between Fedora Linux and Windows Vista”

  1. Etescartz says:

    Yeah! But Why ? Almost anyone who has Linux or Solari Or Unix has ssh… Where i’m going with this? I have Linux at home and I use Win at work.. I open up WinSCP from work -> connect securely with my username and password (the same ones i use to open my linux desktop – make no mistake here) and copy files to or from my linux machine.
    And that’s it .. No big menu’s and no big configurations… :D

  2. Lgeek says:

    Cool! I know you got this nailed down and that’s cool. You can use SSH to securely connect to your Linux box from work but some in our audience just want to understand how Linux and Windows machines can share files and folder.

    If you have the time please show us how to use SSH to connect to Linux box remotely. I believe some of our members will really appreciate it.

    Thanks

Leave a Reply

blog comments powered by Disqus
Twitter Delicious Facebook Digg Stumbleupon Favorites More