Site Tools


nas-samba

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nas-samba [2024/10/12 22:43] – [Samba File Sharing] -Condense, formatting hogwildnas-samba [2024/11/27 17:15] (current) – [Samba File Sharing] -Formatting hogwild
Line 3: Line 3:
 In the File sharing menu you can enable and configure Samba filesharing. Samba is a Linux clone of Microsoft's SMB (Server Message Block) filesharing protocol. Samba allows FreshTomato to "speak" the same language as Windows for file sharing between Windows and Linux-based systems (such as FreshTomato). This allows you to use your FreshTomato router as a NAS drive, if you connect USB like a an external hard drive or flash drive. In the File sharing menu you can enable and configure Samba filesharing. Samba is a Linux clone of Microsoft's SMB (Server Message Block) filesharing protocol. Samba allows FreshTomato to "speak" the same language as Windows for file sharing between Windows and Linux-based systems (such as FreshTomato). This allows you to use your FreshTomato router as a NAS drive, if you connect USB like a an external hard drive or flash drive.
  
-Microsoft's SMB protocol was recently upgraded to v3. FreshTomato's implementation supports only v1 and v2. However, these are more than adequate for basic operations.+Microsoft's SMB protocol was recently upgraded to v3. FreshTomato's implementation supports only v1/v2. However, these are fine for basic operations.
  
  
Line 20: Line 20:
  \\  \\
  
-For a basic setup, select //Yes no authentication. //If you need additional security, it's recommended you select //Yes, Authentication required// . Doing so will display additional fields to set a single username and password.+For a basic setup, select //Yes no authentication. //If you need additional security, it's recommended you select //Yes, Authentication required//. Doing so will display additional fields to set a single username and password.
  
  \\ {{:pasted:20220110-125127.png}}\\  \\  \\ {{:pasted:20220110-125127.png}}\\  \\
Line 36: Line 36:
  \\ \\ {{:pasted:20220111-092133.png}}\\  \\  \\ \\ {{:pasted:20220111-092133.png}}\\  \\
  
-**Disable GRO:** Generic Receive Offload combines small packets to be sent as a one large one. This optimizes network utilization, but involves extra reassembly. The default, (Enabled) disables GRO. Enabled is advised unless you have other requirements.+**Disable GRO:** Generic Receive Offload combines small packets to be sent as a one large one. 
 + 
 +This optimizes network utilization, but involves extra reassembly. The default, (Enabled) disables GRO. Enabled is advised unless you have other requirements.
  
  \\  \\
  
-**Workgroup Name:** Here, enter the WORKGROUP name (logical grouping) for PCs to be displayed/organized (for Windows peer-to-peer network browsing). Note that the Windows 10 April 2018 (v.1803) update eliminated Windows Homegroups. However, workgroups still exist in Windows 10/11.+**Workgroup Name:** here, enter the Windows WORKGROUP name for PCs to be displayed/organized (for peer-to-peer network browsing). 
 + 
 +Note that the Windows 10 April 2018 (v.1803) update eliminated Windows Homegroups. However, workgroups still exist in Windows 10/11.
  
  \\  \\
  
-**Client Codepage:** Windows clients use code pages to determine rules for mapping lowercase letters to uppercase ones. Undefined, by default, can be set in cases where case sensitivity is an issue. To check the Windows Codepage your systems are on, run ''cmd.exe'' and type ''chcp'' to see the current code page.+**Client Codepage:** sets the Windows code page. 
 + 
 +Windows clients use code pages to determine rules for mapping lowercase letters to uppercase ones. Undefined, by default, can be set in cases where case sensitivity is an issue. To check your Windows Codepage, run ''cmd.exe'' and type ''chcp'' to see the current code page.
  
  \\  \\
  
-**Network Interfaces:** Here, define to which local interface the samba service will be bound. (Default: br0).\\  \\+**Network Interfaces:** here, define to which local interface samba will be bound. (Default: br0).\\  \\
  
 {{:pasted:20220110-130832.png}} {{:pasted:20220110-130832.png}}
Line 54: Line 60:
  \\  \\
  
-**Samba Custom Configuration:** Here, specify user-defined parameters for samba (written to the smb.conf file). Consult samba documentation before using this field: [[https://www.samba.org|https://www.samba.org]]/+**Samba Custom Configuration:** here, specify user-defined settings for samba (written to "smb.conf"). 
 + 
 +Consult samba documentation before using this field: [[https://www.samba.org|https://www.samba.org]]/
  
  \\  \\
  
-**Auto-share all USB Partitions: **Lets you configure automatic sharing. As soon as storage with a compatible filesystem is connected to USB, its contents are shared.+**Auto-share all USB Partitions: **lets you configure automatic sharing.
  
-  * Disabled - Automatic sharing will be disabled. +As soon compatible USB filesystem storage is connected, its contents are shared. 
-  * Read Only - Users can only open files and browse the storage content + 
-  * Read-Write - Users have full control of visible content. +  * Disabled - automatic sharing will be disabled. 
-  * Hidden Read-Write - Read-Write privileges plus access to hidden content (like files starting with a ".").+  * Read Only - users can only open files and browse \\ the storage content. 
 +  * Read-Write - users have full control of visible content. 
 +  * Hidden Read-Write - Read-Write privileges plus access to \\ hidden content (such as files starting with a period).
  
  \\  \\
  
-**Options:** Configures your Samba server to perform additional network roles:+**Options:** configures Samba server to perform additional network roles:
  
-  * Master Browser - If enabled, participate in the Master Browser election (when WINS is not available/defined). +  * Master Browser - if enabled, participate in the Master Browser \\ election (when WINS is not available/defined). 
-  * WINS Server - If enabled, act as WINS server. DHCP clients will receive the data via DHCP. Static clients can be set with FreshTomato's LAN address as their WINS server setting.\\+  * WINS Server - if enabled, act as WINS server. DHCP clients will \\ receive the data via DHCP. Static clients can be set with FreshTomato'\\ LAN address as their WINS server setting.\\
  
  
Line 77: Line 87:
 In this table, you can define custom network shares that map to physical filesystems. These may overlap, or even conflict with the //Auto-share all Partition //function described above. In this table, you can define custom network shares that map to physical filesystems. These may overlap, or even conflict with the //Auto-share all Partition //function described above.
  
-**Share name:**  This is the share name that appears under the [[\\WORKGROUP\$routerhostname]].+ \\ 
 + 
 +**Share name:**  The share name that appears under the %%[[\\WORKGROUP\$routerhostname]]%%. 
 + 
 + \\
  
 **Directory:**  This defines where the share maps in the real filesystem. **Directory:**  This defines where the share maps in the real filesystem.
  
-**Description:**  This is for description only, and appears when browsing the network. It has no functional role other than naming the share.+ \\ 
 + 
 +**Description:** A descriptor only, that appears when browsing the network. It has no function except as a name.\\  \\
  
-**Access Level:**  This specifies the network-level access rights+**Access Level:**  Specifies the network-level access rights
  
   * Read Only   * Read Only
Line 90: Line 106:
  \\  \\
  
-Do not confuse this setting with the filesystem rights. Total security is determined by executing a logical AND operator on the Access Level rights and the filesystem rights+Don'confuse this with filesystem rights. Total security is calculated by executing a logical AND operation on the Access Level rights and filesystem rights.
- +
-**Hidden:**  A hidden share is not visible when browsing the network, but will still be available/usable if called directly (such as by the "net use" command in Windows).+
  
  \\  \\
 +
 +**Hidden:**  A hidden share isn't visible when network browsing, but is available if called directly (say, by Windows'  "net use" command).
 +
 +\\
  
  \\  \\
  
  
nas-samba.1728769386.txt.gz · Last modified: 2024/10/12 22:43 by hogwild