Question Issue accessing Windows share (from both Windows and Linux)

eli2k

Member
Jun 14, 2007
124
3
81
Hi everyone, I am having weird network issues that I cannot figure out. I have a Windows 11 machine that is hosting a shared folder, and requires username/password to access. From Windows 10 machines, I can access it. From a Windows 7 machine, I used to be able to access it fine, but I believe, though cannot confirm, after a router reboot, I have issues accessing it. There was one time I was able to access it only if IPv6 was enabled (and only via WIN11-NUC and not IP address), but since I disabled it on the router, it stopped working. I ran `net stop workstation` on both machines with no resolution (found the idea here: Mapping network drive System error 64). Also, from the Windows 11 machine, I can access the Windows 7 share.

I also had issues from a Linux machine. I can ping it (Windows 11 machine) fine. I used to be able to mount it just fine, but now it returns an error. I am able to mount a shared folder from another Windows machine.

I eventually ran `Network reset` from the Control Panel of Windows 11, in addition to re-enabling IPv6 in the router, and it seems to work again (able to access the share from Windows 7 machine). But I still have issues with the Linux machine.

In fstab, I have
Code:
//win11-nuc/share-nfs /mnt/share-nfs cifs credentials=/etc/win-credentials,file_mode=0777,dir_mode=0777 0 0
. This used to mount fine, but nowadays it does not mount properly on boot. I have to SSH in and run a mount command again,
Code:
sudo mount -t cifs -o ro,username=?,password=? //win11-nuc/share-nfs /mnt/share-nfs
. But, it seems the share stops working at some point, and if I try to `ls` into the share directory in `mnt`, it says, `
ls: cannot access 'share-nfs': Host is down`. I can't seem to unmount it, so have to restart the machine.

Do you have any thoughts what is happening? Thanks.

(from Windows 7 PC)
Code:
PS C:\Users\?> tracert 10.0.0.117

Tracing route to WIN11-NUC.lan [10.0.0.117]
over a maximum of 30 hops:

  1    <1 ms    <1 ms     1 ms  WIN11-NUC.lan [10.0.0.117]

Trace complete.
PS C:\Users\?> nslookup 10.0.0.117
Server:  OpenWrt.lan
Address:  fd8c:d93e:46b4::1

Name:    WIN11-NUC.lan
Address:  10.0.0.117

PS C:\Users\?> nslookup win11-nuc
Server:  OpenWrt.lan
Address:  fd8c:d93e:46b4::1

Name:    win11-nuc.lan
Addresses:  2603:8000:8e03:3ee0::117
          fd8c:e93f:46e4::117
          10.0.0.117

PS C:\Users\?> net use \\10.0.0.117
System error 64 has occurred.

The specified network name is no longer available.

PS C:\Users\?> net use \\win11-nuc
The command completed successfully.

(from Ubuntu machine)
Code:
?@ubuntu-media:~$ nslookup 10.0.0.117                                                                                              
117.0.0.10.in-addr.arpa name = WIN11-NUC.lan.                                                                                          
                                                                                                                                       
Authoritative answers can be found from:                                                                                               
                                                                                                                                       
?@ubuntu-media:~$ nslookup win11-nuc                                                                                               
Server:         127.0.0.53                                                                                                             
Address:        127.0.0.53#53                                                                                                          
                                                                                                                                       
Non-authoritative answer:                                                                                                              
Name:   win11-nuc.lan                                                                                                                  
Address: 10.0.0.117                                                                                                                    
Name:   win11-nuc.lan                                                                                                                  
Address: fd8c:e93f:46e4::117                                                                                                           
Name:   win11-nuc.lan                                                                                                                  
Address: 2603:8000:8e03:3ee0::117                                                                                                      
                                                                                                                                       
?@ubuntu-media:~$ sudo umount /mnt/share-nfs