Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4754

Networking and servers • Samba | SMB configuration

$
0
0
I am currently working on a project where I would like to "mount" or network my pi4 to my windows laptop running 11 Pro.

Samba is installed and I have edited the /etc/samba/smb.conf file with the following at the end:
[pi]
path=/home/pi
browsable=yes
writeable=yes
create mask=0777
directory mask=0777

I ran "sudo smbpasswd -a pi" and gave it a password.

On my windows machine I have ensured SMB features are installed and I have allowed SMB through the firewall for my pi IP 192.168.***.*** (I also turned the firewall off completely when troubleshooting)

On my pc I entered: "net use P: \\192.168.***.***\pi /user:pi *password* /persistent:yes
-with that I get system error 67 has occurred. The network cannot be found.

I tried entering: "net use P: \\192.168.***.***\pi /user:pi@192.168.***.*** *password* /persistent:yes
(I was thinking along the lines of an SSH connection here)
-With this I get system error 5 has occurred access is denied.


Any help is greatly appreciated.

Statistics: Posted by Tyrion — Sat Apr 20, 2024 2:07 am — Replies 0 — Views 7



Viewing all articles
Browse latest Browse all 4754

Trending Articles