Sharing files between GNU/Linux and Windows


This is a short tutorial showing how to enable file sharing between GNU/Linux and Windows. With due respect to both I explain the topic with ease at the maximum. For sharing files both the machines must be in the same network. This can be achieved through several ways. You can use any of the following methods to establish the network or some other means.

1.Creating an ad-hoc network in GNU/Linux system and connecting to it through Windows(explained earlier in a post).
2.Or try the same idea from Windows via built-in adhoc facility or installing a software(Ex:- Connectify Me). I prefer the software for doing the same in Windows.
3.Or connect the both machines through LAN cable.

Step-1,Configuring the sharing settings in Windows
The first thing you need to do is open the Windows machine and look for ‘Manage Advanced Sharing Settings’. Next, click the option to enable Read More »

Creating a wireless Ad-hoc network in GNU/Linux for sharing files

Screenshot from 2013-05-15 12:03:12

Here I explain what I did in Ubuntu 12.04 LTS. And will probably be similar in most of the GNU/Linux distros. This method requires a network manager for managing the different networks. First of all you need to ensure that your wireless interface card supports Ad-hoc networking. Because there are some which doesn’t support wireless Ad-hoc networks. Know your network controller by running lspci | grep -i network. Given below is a list containing some of the network controllers that supports Ad-hoc and there may be more in the list.


Step 1: Right click on the network manager icon->Edit connections. Now you will get a window similar to one displayed above.
If not try the Network Connections from the Preferences section.
Step 2: Click on the tab Wireless->Add.
Step 3: Enter the SSID as the name that should be displayed as the network name.
Step 4: Click on the Mode drop-down list to select Ad-hoc. Leave the remaining fields as it is.
Step 5: Click on the Wireless Security tab for adding a password and select one of the Security types listed.
Step 6: Type a password->Save.
If you need a static ip address then follow the sub-steps before saving
Step 6.a) Click the tab IPv4 settings and select the method as Manual.
Step 6.b) Click on add and then type a valid ip in Address section, as Netmask and as Gateway then Save.
Step 7: Click on the network icon again-> Connect to a hidden wireless network.
Step 8: Select the newly created network->Connect.

That’s all. Now this network will be shown in nearby computer’s network list.