πCreate Local Network
Share files within your home network
If you have two or more computers at home or in the office, you may want to combine them into the shared local network to directly share files via the file manager.
One of the methods to do that is to install and configure Sambaβa server appβon all computers you want to enable in the network. A (Wi-Fi) router is also required, and it doesn't matter if computers are connected to the router via Ethernet port or Wi-Fi.
The following manual assumes all your computers have elementary OS installed. Almost all work is done via Terminal.
The guides below need to be tested and confirmed.
Share a Computer in the Local Network
Install Samba on a shared computer by running:
sudo apt install samba
Open
/etc/samba/smb.conf
as admin.Uncomment (delete semicolon at the beginning of the lines) the following section to share the entire
/home
directory with a certain user.
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0700
directory mask = 0700
valid users = <allowed-user-name>
If you want to only share a specified directory, add the path to this section. For example:
[homes]
comment = Home Directories
browseable = yes
read only = no
create mask = 0700
directory mask = 0700
valid users = <allowed-user-name>
path = /home/<your-name>/<directory-name>
Add the user to Samba (independent of system users):
sudo smbpasswd -a <allowed-user-name>
Create and enter the password you want for the user:
sudo smbpasswd -a home
Confirm the password when asked.
MIND that you will not see any symbols (even asterisks) when typing password!
Restart Samba (the system would start Samba automatically on startup):
sudo service smbd restart
Enter the Shared Directory from Another Computer
Open Files.
In the left panel, click Entire Network.
Select a network (a shared computer) from the list.
Enter the Username and Password created.
NEED a SCREENSHOT of FILES
Last updated