Linux Samba server allow more file transfers and improve WiFi performance

I found that i was limted to only 20 files per transfer and that my WiFi transfers were slow, the following fixed that.

# sudo vi /etc/samba/smb.conf


max xmit = 65535
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=65535 SO_RCVBUF=65535
read raw = yes
write raw = yes
max connections = 65535
max open files = 65535

 

sudo systemctl restart smb.service