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

Troubleshooting • Connecting to a Windows 11 machine.

$
0
0
I want to connect my Raspberry Pi to my Windows 11 machine [Islay-New2].

On Raspberry Pi I have installed Samba. Then did the following, also on Rpi:

1. :~ $ sudo nano /home/pi/.smbcredentials
2. Added these entries to the .smbcredentials file. These are the authentication credentials for Microsoft account associated with the Windows machine:
1. username=bbb@gmail.com
2. password=<<see Microsoft authentication data stored with Bitwarden>>
3. domain=MDKGROUP
4. :~ $ sudo mkdir /media/Window11
5. :~ $ sudo nano /etc/fstab
6. Added this line to the end of the fstab file:
//Islay-New2/Documents /media/Windows11 cifs credentials=/home/pi/.smbcredentials,x-systemd.automount,iocharset=utf8,rw,uid=1000,gid=1000,_netdev
7. :~sudo mount -a <<to restart fstab>>

This returns the message “mount error: could not resolve address for islay-new2: Unknown error".

I can ping my Windows machine - Islay-New2 - from my Raspberry Pi.
I have verified that my Windows machine's network name is Islay-New2.
The Documents directory on the Windows machine is set for Sharing.

I should note that if I use Rpi's File Manager, selecting Go | Network, then choose Windows Network, and in the File Manager's address field enter smb://islay-new2/Documents, and authenticate, all is well. This would a good work-around except for the fact that this must be done for every session.

Advice would be very welcome. Thanks so much.

Statistics: Posted by wacole1213 — Wed Sep 24, 2025 7:10 pm — Replies 1 — Views 107



Viewing all articles
Browse latest Browse all 7503

Trending Articles