The problem that Windows accesses Ubuntu's shared directory is often disconnected

  • 1. Execute sudo vim /etc/samba/smb.confand open the configuration file of samba
    insert image description here

  • 2. Delete all the last few lines of configuration, as shown in the figure below, delete all the boxes
    insert image description here

  • 3. Copy the following configuration parameters to the same location.

[hispark]
	comment = share folder
	browseable = yes
	path = /home/hispark
	public = yes
	available = yes
	guest ok = no
	writable = yes
	valid users = hispark
	create mask = 0777
	directory mask = 0777

insert image description here

  • Press and hold the esc key on the keyboard, enter to :wqsave and exit

  • 4、Restart Ubuntu
    insert image description here

  • 5. Reconfigure samba again according to the content after step 5 in Chapter 2 of "Taurus Computer Vision Basic Development Kit Operation Guide.pdf", so that if your Ubuntu is not shut down, samba will generally not be disconnected.

Guess you like

Origin blog.csdn.net/Wu_GuiMing/article/details/115635834