Template:Networking rutos manual network shares

From Teltonika Networks Wiki

Summary

The Network Shares section is used to manage Network-attached storage (NAS) such as USB drives and hard drives. The router supports the following file system architectures:

  • FAT
  • FAT32
  • NTFS

General


Samba


Samba is a software solution for using the Server Message Block (SMB) networking protocol, which provides shared file access between nodes on a computer network. Refer to the figures and table below for more information about Samba configuration.

field namevaluedescription
Enableoff | on; Default: offToggles Samba ON or OFF
HostnameDefault: Router_ShareName of the Samba server
DescriptionDefault: Router ShareShort server description
WorkgroupDefault: WORKGROUPName of the server's workgroup
Share home-directiesoff | on; Default: onAllow system users to reach their home directories via network shares

By entering Edit Template window you can edit the template that is used for generating the samba configuration. This is the content of the file '/etc/samba/smb.conf.template' from which your samba configuration will be generated. Values enclosed by pipe symbols ('|') should not be changed. They get their values from the 'General Settings' tab.

Shared directories


The Shared Directories section is used to configure access to connected storage drives or individual directories contained in those drives. A shared directory must be added before it can be configured. You can simply do that by pressing Add button.

field namevaluedescription
Namestring; Default: noneName of the shared directory.
Pathfile path; Default: nonePath to the shared directory. To share an entire drive, choose an automatically generated path from this drop-down box (for example, /mnt/sda1). To share a specific directory on the drive, specify the full path to that directory (for example, /mnt/sda1/shared/video)
Allowed usersstring; Default: noneDefines which users can access the shared directory. Users can be created from the Samba user tab (refer to section 2.3 for details).

If Allow guests is checked, this field becomes inactive

Read-onlyyes | no; Default: noMakes the directory read-only, which means the shared directory can only be accessed to view and read files
Browseableyes | no; Default: no
Allow guestsyes | no; Default: noEnables guest access, which allows anonymous connections to the shared directory
Delete- (interactive button)Deletes the configuration related to the shared directory

Users


In this section you can create users that can be granted access to shared directories. To add a new user, enter a custom username, password and click the Add button.

You can change user's password by pressing Edit button.