Difference between revisions of "Template:Networking rutos manual network shares"

From Teltonika Networks Wiki
Line 13: Line 13:
  
 
[[File:Networking_rutx_manual_samba_v1.png|border]]
 
[[File:Networking_rutx_manual_samba_v1.png|border]]
<table class="nd-mantable"><tr><th>field name</th><th>value</th><th>description</th></tr><tr><td>Enable</td><td>off {{!}} on; Default: '''off'''</td><td>Toggles Samba ON or OFF</td></tr><tr><td>Hostname</td><td>Default: '''Router_Share'''</td><td>Name of the Samba server</td></tr><tr><td>Description</td><td>Default: '''Router Share'''</td><td>Short server description</td></tr><tr><td>Workgroup</td><td>Default: '''WORKGROUP'''</td><td>Name of the server's workgroup</td></tr><tr><td>Share home-directies</td><td>off {{!}} on; Default: '''on'''</td><td>Allow system users to reach their home directories via network shares</td></tr></table>
+
<table class="nd-mantable"><tr><th>field name</th><th>value</th><th>description</th></tr><tr><td>Enable</td><td>off {{!}} on; Default: '''off'''</td><td>Toggles Samba ON or OFF</td></tr><tr><td>Hostname</td><td>Default: '''Router_share'''</td><td>Name of the Samba server</td></tr><tr><td>Description</td><td>Default: '''Router share'''</td><td>Short server description</td></tr><tr><td>Workgroup</td><td>Default: '''WORKGROUP'''</td><td>Name of the server's workgroup</td></tr><tr><td>Share home-directies</td><td>off {{!}} on; Default: '''on'''</td><td>Allow system users to reach their home directories via network shares</td></tr></table>
  
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.
+
In '''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.
  
 
[[File:Networking_rutx_manual_samba_edit_template_v1.png|border]]
 
[[File:Networking_rutx_manual_samba_edit_template_v1.png|border]]
Line 22: Line 22:
 
----
 
----
  
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.
+
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.
 
[[File:Networking_rutx_manual_samba_shared_directories_v1.png|alt=|border|center]]<table class="nd-mantable"><tr><th>field name</th><th>value</th><th>description</th></tr><tr><td>Name</td><td>string; Default: <b>none</b></td><td>Name of the shared directory.</td></tr><tr><td>Path</td><td>file path; Default: <b>none</b></td><td>Path 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)</td></tr><tr><td>Allowed users</td><td>string; Default: <b>none</b></td><td>Defines which users can access the shared directory. Users can be created from the Samba user tab (refer to section [[RUT955_USB_Tools#Samba_Users|2.3]] for details).
 
[[File:Networking_rutx_manual_samba_shared_directories_v1.png|alt=|border|center]]<table class="nd-mantable"><tr><th>field name</th><th>value</th><th>description</th></tr><tr><td>Name</td><td>string; Default: <b>none</b></td><td>Name of the shared directory.</td></tr><tr><td>Path</td><td>file path; Default: <b>none</b></td><td>Path 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)</td></tr><tr><td>Allowed users</td><td>string; Default: <b>none</b></td><td>Defines which users can access the shared directory. Users can be created from the Samba user tab (refer to section [[RUT955_USB_Tools#Samba_Users|2.3]] for details).
 
If Allow guests is checked, this field becomes inactive
 
If Allow guests is checked, this field becomes inactive
Line 36: Line 36:
 
[[File:Networking_rutx_manual_network_shares_user_edit_v1.png|border]]
 
[[File:Networking_rutx_manual_network_shares_user_edit_v1.png|border]]
  
[[Category:{{{name}}} WebUI]]
+
[[Category:{{{name}}}<nowiki> WebUI]]</nowiki>

Revision as of 15:00, 6 January 2020

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.

Networking rutx manual samba v1.png

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

In 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.

Networking rutx manual samba edit template v1.png

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.Networking rutx manual network shares users v1.png

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

Networking rutx manual network shares user edit v1.png

[[Category:{{{name}}} WebUI]]