LinuxAppleMacOSMicrosoftWindows

How to Share Files on a Network Using SMB Protocol Ubuntu?

Until yesterday, file sharing across networks between different operating systems (like various versions of Windows, Linux, and Mac) was considered a big nightmare. But today, without needing any special software, operating systems can interact and communicate with each other.

For network file sharing, you should utilize the SMB protocol. Windows uses SMB for file sharing. The Mac operating system and most popular Linux distributions also support SMB. Microsoft also couldn’t resist the open-source project Samba and is now fully committed to its development. You can also read the article “How to Change the MAC Address in Ubuntu Linux?

Network File Sharing Using Linux

In Linux, you can share a folder using the file manager.

Next, the process of doing this in the Nautilus file management program on Ubuntu 22.04.2 will be explained. The procedure will be similar in other file management programs as well.

image 111

First, you need to open the file manager and right-click on the folder you want to share, then select Properties.

Select the Local Network Share tab and enable sharing for the desired folder.

If it’s your first time intending to enable the sharing option, you will also need to download and install the Samba software.

Then, apply your sharing settings after installing Samba, and also make sure that you have clicked on the Create Share button to start sharing the folder.

Accessing Shared Folders in Linux

The file management program of your Linux operating system installed on your system likely has a network browser. Using it, you will be able to access the shared folders on the local network.

READ More:  How to Use Your iPhone Camera as a Webcam macOS (Tutorial)

To do this, click on the Browse Options in the sidebar of the file manager. Then, double-click on the Windows Network option and twice on your workgroup (by default, its name is WORKGROUP). After that, to view the shared files, double-click on the desired computer.

image 112

For direct connection to a computer, select the Connect to Server option in Nautilus and enter an address like smb://COMPUTERNAME to reach the computer.

image 113

Note: You need the internet to install the Samba sharing service.

keleis andre

Keleis Andre is A tech writer specialising in cybersecurity expert, author, and Manager at SPY24 Company. On this and several other GDPR, MDR, and ethical hacking projects. Hacking, Social Engineering, and Security Awareness Training: My goal is to educate, inform and entertain as I write about my journeys in the tech and cyber space.

Leave a Reply

Your email address will not be published. Required fields are marked *