How to fix Samba (Windows) file sharing if you are getting errors in Linux. This may occur with older hardware or sharing using your router's USB port.
You may need to enable the older SMB1 protocol. Be careful, however, as this protocol is inefficient, and has security issues.
1. Install samba. In terminal (for Ubuntu and Debian base):
sudo apt update
sudo apt install samba
2. Backup your smb.conf file:
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
3. Edit your smb.conf file:
sudo nano /etc/samba/smb.conf
4. Scroll down to the [GLOBAL] section and add this line:
client min protocol = NT1
5. Restart your computer or restart the smb service:
sudo systemctl restart smbd.service
Links referenced in the video:
https://wiki.samba.org/index.php/Samba_4.11_Features_added/changed#SMB1_is_disabled_by_defaulthttps://en.wikipedia.org/wiki/Server_Message_Block#SMB_/_CIFS_/_SMB1
Attributions:
network-cable-1243146 - Photo by doctor-a from FreeImages
Music heard in this video is Bolereando by Quincas Moreira from the YouTube Audio Library.
Contact me:
Twitter: @sleepyeyesvince
MeWe: https://mewe.com/i/sleepyeyesvince
16 Comments