Home › Forums › Operating Systems › Linux › PeppermintOS › ISSUE: Configure Samba (Solve)
- This topic has 0 replies, 1 voice, and was last updated 5 months, 1 week ago by
Voodoo.
Viewing 1 post (of 1 total)
-
AuthorPosts
-
August 11, 2020 at 5:37 AM #761
Voodoo
KeymasterISSUE: Samba File Transfers are Slow
Unfortunately, you are usually limited to a single line of transmission which is the cause of the slow transfers with Samba. However, Samba has been updated to use the SMB 3.0 protocol which allows the use of multiple lines of transmissions (aka network cards and cords) to be utilized. Windows 10 has been using the SMB 3.0 protocol for a few years now with Windows 7 still being stuck on SMB 2.0. However, we are mainly talking about the Samba host configuration at this time.
sudo xed /etc/samba/smb.conf
[global] workgroup = VWORLD.US server role = standalone server server multi channel support = yes aio read size = 1 aio write size = 1 client min protocol = SMB2 client max protocol = SMB3 bind interfaces only = yes interfaces = lo bond0 192.168.1.99 bind interfaces only = yes hosts allow = 192.168.0.0/16 hosts deny = 0.0.0.0/0 ; log file = /var/log/samba/log.%m ; max log size = 1000 ; syslog = 0 ; panic action = /usr/share/samba/panic-action %d # users map to guest = bad user guest ok = yes ; usershare allow guests = yes ; username map = /etc/samba/smbusers ; security = user ; encrypt passwords = yes ; guest account = nobody ; obey pam restrictions = yes ; unix password sync = yes ; passwd program = /usr/bin/passwd %u ; passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . ; pam password change = yes [Share] comment = This is just a note for the share path = /srv/ force group = group force user = username writeable = yes browseable = yes
sudo systemctl stop smbd sudo systemctl start smbd
Save, reboot, and then test it out.
-
This topic was modified 4 months, 3 weeks ago by
Voodoo.
-
This topic was modified 4 months, 3 weeks ago by
-
AuthorPosts
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.