SHARING FILES BETWEEN A LINUX AND A WINDOWS MACHINE USING ETHERNET CABLE.

 HOW TO SHARE FILES BETWEEN A LINUX AND A WINDOWS MACHINE USING ETHERNET CABLE

In this blog, I will show you step by step how you can share files between a windows machine and a Kali Linux machine.

We will start with windows configuration and then go to Linux configuration.


WINDOWS CONFIGURATION

Go to the search bar and search for the control panel and open it. In the control panel select Network and Internet




A new page will be open and select Network and Sharing Center



Now connect the ethernet cable in the Linux machine and the windows machine. An Ethernet network connection will appear and you'll click on it.




After Clicking on it a pop-up like shown below will show up.



On the pop click on the properties button and another pop up will appear.



Now on the above pop up look for Internet Protocol Version 4(TCP/IP4) and select it and after that click on properties.



A configuration page will be shown and you'll have to configure it as shown below.



```

192.168.1.2 ---> This will be assigned windows IP address


255.255.255.0 ---> This will be the mask


192.168.1.1 ---> This will be the gateway and also it'll be the IP address for the Kali Linux machine so take note of that.

```

After that save the configuration and before you quit click on the change advanced settings to change a few things so as to be able to share with ease.



After that, there are a few things that will be turned off as shown in the pictures below Look at the below images carefully





After doing the above two steps save the changes and quit.

We are done with the windows configuration.


Linux Configuration

In Linux go to edit connection in the network setting area.



Click on the + sign and add a new ethernet connection.



After that, the network will be created with the name Ethernet Connection 1 now click on it and press the setting like button at the bottom left. After that navigate to the IP4 Settings tab and add the following configuration and save.



We are done with Linux configuration now.


Sharing of Windows folder


Now here you go to the windows machine and select the file that you want to share right click and go to properties. At the properties pop up navigate to the Sharing tab.




Now click on the share button and a pop-up will show. On the pop up there is a search bar with a pull-down arrow, click the pull-down arrow and select Everyone and click the Add button.



After Doing so you can select the Everyone and change the permission to Read and Write so that the user can read the contents of the folder and also write on the folder and click share.


How to access the shared folder in Linux


I would advise using thunar file manager because find it easy to use in such cases.

Open thunar file manager, It can be installed as follows:

```

sudo apt install thunar

```


After installing the thunar file manager open it and navigate to the Browse Network folder



In the search bar where it is written Network click there and type the following:

```

smb://192.168.1.2/

```

 and press enter and the shared folders will be displayed hope you've enjoyed this. 


192.168.1.2 ----> This is the IP address of the windows machine


Thanks!!


Happy New Year Guys!!

Comments

Popular posts from this blog

SHARING FILES BETWEEN TWO LINUX DEVICES USING ETHERNET

DROZER IN KALI LINUX 2020.4