Problems Mapping my shared folder

Windows Access Rights Management
snaky69
Starting out
Posts: 21
Joined: Mon Jul 14, 2014 1:54 am

Problems Mapping my shared folder

Post by snaky69 » Tue Jul 15, 2014 7:54 am

I'm getting the same error message as knwt. I'm at my wits end.

knwt
Getting the hang of things
Posts: 88
Joined: Sat Apr 28, 2012 4:30 am
Location: Montreal, QC

Re: Problems Mapping my shared folder

Post by knwt » Thu Aug 28, 2014 4:01 am

I'm getting this again. I recently changed from the TS-269L for the TS-251 and now windows cannot access \\NAS\folder anymore.

I didn't change anything (but the firmware, of course) when I upgrade my NAS. I still have the Microsoft Network up and running as a standalone server, with the same server name and WORKGROUP, but for some reason my windows refuses to connect to my shared folders. "The network path was not found".

Oddly enough, when I use the Qfinder I can see my NAS, I can change the configurations, I can upload anything I want using this tool. But if I try to map a network drive (following these instructions: http://docs.qnap.com/nas/4.0/en/index.h ... indows.htm) QFinder shows up the same error message I got from Windows: "Network Failure: the device was not found on the network. Please check the device status".

How come it didn't find the device if I was able to connect to it and change its configurations seconds before?
Model name: TS-251 + Kingstone 16GB RAM (2x KVR16LS11/8)
Firmware version: 4.3.4.0597
Operation System (OS): Windows 10 English
Number of HDDs: 2 WD Greens, 2TB each, in Raid 1

User avatar
pwilson
Guru
Posts: 22568
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Problems Mapping my shared folder

Post by pwilson » Thu Aug 28, 2014 9:27 am

knwt wrote:I'm getting this again. I recently changed from the TS-269L for the TS-251 and now windows cannot access \\NAS\folder anymore.

I didn't change anything (but the firmware, of course) when I upgrade my NAS. I still have the Microsoft Network up and running as a standalone server, with the same server name and WORKGROUP, but for some reason my windows refuses to connect to my shared folders. "The network path was not found".

Oddly enough, when I use the Qfinder I can see my NAS, I can change the configurations, I can upload anything I want using this tool. But if I try to map a network drive (following these instructions: Connecting to NAS shared folders in Windows) QFinder shows up the same error message I got from Windows: "Network Failure: the device was not found on the network. Please check the device status".

How come it didn't find the device if I was able to connect to it and change its configurations seconds before?


  1. What is the internal IP address of the NAS in question?
  2. What Firmware Version/Build numbers is installed on the NAS?
  3. Which version of Windows are you using on the PC.
  4. Is Windows Firewall enabled?
  5. Is your Windows machine connecting via Wi-Fi or Ethernet?
  6. Do you have a user on the NAS which has the exact same username/password as your PC?
  7. Anything useful in the System Logs?
  8. From the Windows Command Prompt, what is the output of:

    Code: Select all

    nslookup nas
    net view \\nas
    ping nas

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

knwt
Getting the hang of things
Posts: 88
Joined: Sat Apr 28, 2012 4:30 am
Location: Montreal, QC

Re: Problems Mapping my shared folder

Post by knwt » Sat Aug 30, 2014 5:22 am

pwilson wrote:
  1. What is the internal IP address of the NAS in question? 192.168.2.11
  2. What Firmware Version/Build numbers is installed on the NAS? 4.1.1-20140822
  3. Which version of Windows are you using on the PC. Windows 7
  4. Is Windows Firewall enabled? No
  5. Is your Windows machine connecting via Wi-Fi or Ethernet? Wi-fi
  6. Do you have a user on the NAS which has the exact same username/password as your PC? Yes
  7. Anything useful in the System Logs? Did not check :P But the Windows Network Diagnostics sometimes shows that "the device won't accept the connection", sometimes "can't find \\PKNAS"
  8. From the Windows Command Prompt, what is the output of:

    Code: Select all

    nslookup nas
    C:\Users\Kanawati>nslookup PKNAS
    Server:  mynetwork
    Address:  192.168.2.1

    *** mynetwork can't find PKNAS: Non-existent


    Code: Select all

    C:\Users\Kanawati>net view /all
    Server Name            Remark
    ------------------------------------
    \\KANAWATI-PC
    \\PKOPENELEC           OpenELEC
    The command completed successfully.


    Did not find my NAS :(

    Code: Select all

    ping nas
    Pinging 192.168.2.11 with 32 bytes of data:
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6

    Ping statistics for 192.168.2.11:
        Packets: Sent = 4, Received = 4, Lost = 0 (0
    Approximate round trip times in milli-seconds:
        Minimum = 1ms, Maximum = 1ms, Average = 1ms
pings are ok


This is all really weird. I did not change a single configuration. I just put the HDDs and install the correct firmware when I changed from the TS-269L to TS-251. This is probably something really stupid I'm missing.
Model name: TS-251 + Kingstone 16GB RAM (2x KVR16LS11/8)
Firmware version: 4.3.4.0597
Operation System (OS): Windows 10 English
Number of HDDs: 2 WD Greens, 2TB each, in Raid 1

User avatar
pwilson
Guru
Posts: 22568
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Problems Mapping my shared folder

Post by pwilson » Sat Aug 30, 2014 3:20 pm

knwt wrote:
pwilson wrote:
  1. What is the internal IP address of the NAS in question? 192.168.2.11
  2. What Firmware Version/Build numbers is installed on the NAS? 4.1.1-20140822
  3. Which version of Windows are you using on the PC. Windows 7
  4. Is Windows Firewall enabled? No
  5. Is your Windows machine connecting via Wi-Fi or Ethernet? Wi-fi
  6. Do you have a user on the NAS which has the exact same username/password as your PC? Yes
  7. Anything useful in the System Logs? Did not check :P But the Windows Network Diagnostics sometimes shows that "the device won't accept the connection", sometimes "can't find \\PKNAS"
  8. From the Windows Command Prompt, what is the output of:

    Code: Select all

    nslookup nas
    C:\Users\Kanawati>nslookup PKNAS
    Server:  mynetwork
    Address:  192.168.2.1

    *** mynetwork can't find PKNAS: Non-existent


    Code: Select all

    C:\Users\Kanawati>net view /all
    Server Name            Remark
    ------------------------------------
    \\KANAWATI-PC
    \\PKOPENELEC           OpenELEC
    The command completed successfully.


    Did not find my NAS :(

    Code: Select all

    ping nas
    Pinging 192.168.2.11 with 32 bytes of data:
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6
    Reply from 192.168.2.11: bytes=32 time=1ms TTL=6

    Ping statistics for 192.168.2.11:
        Packets: Sent = 4, Received = 4, Lost = 0 (0
    Approximate round trip times in milli-seconds:
        Minimum = 1ms, Maximum = 1ms, Average = 1ms
pings are ok


This is all really weird. I did not change a single configuration. I just put the HDDs and install the correct firmware when I changed from the TS-269L to TS-251. This is probably something really stupid I'm missing.


Your local DNS is broken. It is unable to find "PKNAS".

I would suggest you enable the Local Master Browser on the NAS.

Control Panel > Network Services > Win/Mac/NFS > Advanced Options

Image

Enable Local Master Browser and "Apply".

Reboot NAS and PC's.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

knwt
Getting the hang of things
Posts: 88
Joined: Sat Apr 28, 2012 4:30 am
Location: Montreal, QC

Re: Problems Mapping my shared folder

Post by knwt » Sun Aug 31, 2014 8:12 am

Thank you Mr Wilson.

It was already marked, but I unchecked, restarted, checked again, restarted and nothing changed. When I use the ip address instead of the name of the device to map the network drive, I get this "The remote device or resource won't accept the connection".

Guess I'll have to use only my ftp connection from now on. :(
Model name: TS-251 + Kingstone 16GB RAM (2x KVR16LS11/8)
Firmware version: 4.3.4.0597
Operation System (OS): Windows 10 English
Number of HDDs: 2 WD Greens, 2TB each, in Raid 1

User avatar
pwilson
Guru
Posts: 22568
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: Problems Mapping my shared folder

Post by pwilson » Sun Aug 31, 2014 4:58 pm

knwt wrote:Thank you Mr Wilson.

It was already marked, but I unchecked, restarted, checked again, restarted and nothing changed. When I use the ip address instead of the name of the device to map the network drive, I get this "The remote device or resource won't accept the connection".

Guess I'll have to use only my ftp connection from now on. :(


I don't know what to suggest anymore. Your original message said "nas", but your output suggests it is actually "PKNAS" in one place, and "nas" in another. This makes troubleshooting with you impossible. I'm not into "chasing rabbits through the looking glass...." Sorry...

Good luck.

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.

knwt
Getting the hang of things
Posts: 88
Joined: Sat Apr 28, 2012 4:30 am
Location: Montreal, QC

Re: Problems Mapping my shared folder

Post by knwt » Mon Sep 01, 2014 12:57 am

I use PKNAS. The NAS name you saw in one of my outputs was a tentative of renaming my ts-251 to something different from my old TS-269l. Sorry for the confusion.
But the results were the same.
Anyway, thank you for your time.

Sent from my Nexus 5 using Tapatalk
Model name: TS-251 + Kingstone 16GB RAM (2x KVR16LS11/8)
Firmware version: 4.3.4.0597
Operation System (OS): Windows 10 English
Number of HDDs: 2 WD Greens, 2TB each, in Raid 1

User avatar
schumaku
Guru
Posts: 43648
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: Problems Mapping my shared folder

Post by schumaku » Mon Sep 01, 2014 3:23 am

Are the SAMBA processes running at all?

[~] # ps -ef | grep mbd
9451 admin 292 S grep mbd
20601 admin 1540 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
20608 admin 744 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
32209 admin 1448 S N /usr/local/samba/sbin/nmbd -l /var/log -D -s /etc/config/smb.conf

knwt
Getting the hang of things
Posts: 88
Joined: Sat Apr 28, 2012 4:30 am
Location: Montreal, QC

Re: Problems Mapping my shared folder

Post by knwt » Mon Sep 01, 2014 2:49 pm

schumaku wrote:Are the SAMBA processes running at all?

[~] # ps -ef | grep mbd
9451 admin 292 S grep mbd
20601 admin 1540 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
20608 admin 744 S /usr/local/samba/sbin/smbd -l /var/log -D -s /etc/config/smb.conf
32209 admin 1448 S N /usr/local/samba/sbin/nmbd -l /var/log -D -s /etc/config/smb.conf


I'll try your suggestion soon, Mr Shumaku. Thank you. But first I'd like to show you what happened when I tried to restart samba:

Code: Select all

[/] # mv /etc/smb.conf /etc/smb.conf.bak
[/] # cp /etc/default_config/smb.conf /etc/smb.conf
[/] # /etc/init.d/smb.sh restart
Restarting SMB services:
Shutting down SMB services:/usr/local/samba/sbin/nmbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
 smbd nmbd.
Shutting down winbindd services: winbindd.
/usr/local/samba/sbin/smbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
/usr/local/samba/sbin/smbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
samba locks directory is not exist, create it
locks path was set to /share//.locks
Starting winbindd services:Starting SMB services:/usr/local/samba/sbin/smbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
/usr/local/samba/sbin/smbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
/usr/local/samba/sbin/nmbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
/usr/local/samba/sbin/nmbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
/usr/local/samba/sbin/smbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory
.
done.


And I found this on a QNAP german forum:

On 4.1.0 official firmwares for SMB model (TS-x69, TS-x70, TS-x79, TS-x80), we have claimed that they include samba 4.0 with support of SMB 3.0 protocol and domain controller function.
However, As samba 4.0 is still not mature, to prevent any unexpected side effect caused by this new samba version, only newly initialized NAS on firmware 4.1.0 include samba 4.0. If you upgrade from older firmware, for stability concern, the samba version is still 3.6.
If customers upgrade from older firmware and want to use samba 4.0 feature, but don't want to reinitialize the NAS, the following steps can add samba 4.0 to the firmware without reinitialization:
1. run "/etc/init.d/samba4.sh reinstall_samba keep" in console.
2. run "/etc/init.d/thttpd.sh restart" in console.
3. relogin webUI.


Do you know anything about this? Should I try this solution?
Model name: TS-251 + Kingstone 16GB RAM (2x KVR16LS11/8)
Firmware version: 4.3.4.0597
Operation System (OS): Windows 10 English
Number of HDDs: 2 WD Greens, 2TB each, in Raid 1

User avatar
doktornotor
Ask me anything
Posts: 7519
Joined: Tue Apr 24, 2012 5:44 am

Re: Problems Mapping my shared folder

Post by doktornotor » Mon Sep 01, 2014 3:54 pm

First of all you should reinstall your entire FW, since it's clearly incomplete.

http://wiki.qnap.com/wiki/Manually_Updating_Firmware
I'm gone from this forum till QNAP stop wasting volunteers' time. Get help from QNAP helpdesk instead.
Warning: offensive signature and materials damaging QNAP reputation follow:
QNAP's FW security issues
QNAP's hardware compatibility list madness
QNAP's new logo competition
Dear QNAP, kindly fire your clueless incompetent forum "admin" And while at it, don't forget the webmaster!

knwt
Getting the hang of things
Posts: 88
Joined: Sat Apr 28, 2012 4:30 am
Location: Montreal, QC

Re: Problems Mapping my shared folder

Post by knwt » Mon Sep 01, 2014 11:38 pm

On 4.1.0 official firmwares for SMB model (TS-x69, TS-x70, TS-x79, TS-x80), we have claimed that they include samba 4.0 with support of SMB 3.0 protocol and domain controller function.
However, As samba 4.0 is still not mature, to prevent any unexpected side effect caused by this new samba version, only newly initialized NAS on firmware 4.1.0 include samba 4.0. If you upgrade from older firmware, for stability concern, the samba version is still 3.6.
If customers upgrade from older firmware and want to use samba 4.0 feature, but don't want to reinitialize the NAS, the following steps can add samba 4.0 to the firmware without reinitialization:
1. run "/etc/init.d/samba4.sh reinstall_samba keep" in console.
2. run "/etc/init.d/thttpd.sh restart" in console.
3. relogin webUI.


AAAAAND... IT WORKED!!!!

That fix from the German QNAP forum worked flawlessly!! Finally!!

Thank you pwilson for your help, shumaku for pointing me on the right direction and doktormor for the link about manually updating the firmware. That will be my last try if this fix didn't work.
Model name: TS-251 + Kingstone 16GB RAM (2x KVR16LS11/8)
Firmware version: 4.3.4.0597
Operation System (OS): Windows 10 English
Number of HDDs: 2 WD Greens, 2TB each, in Raid 1

Graham269L
Starting out
Posts: 18
Joined: Tue Apr 22, 2014 10:18 pm

Re: Problems Mapping my shared folder

Post by Graham269L » Mon Jun 13, 2016 12:31 am

pwilson wrote:

I would suggest you enable the Local Master Browser on the NAS.

Control Panel > Network Services > Win/Mac/NFS > Advanced Options

Image

Enable Local Master Browser and "Apply".

Reboot NAS and PC's.


At LAST! Thank you! My mapped drives disappeared from Explorer a while ago, and I haven't been able to get them back. I could access the NAS through the browser, I could ping it, and access my media files through DLNA, but could not swap files about using Explorer.

Surely this should be on by default?

I wonder how many of the hundreds of other people I have seen on the net struggling with this will find this thread?
Model name - TS-269L
Firmware version - 4.0.7
Operation System (OS) - Windows 7
OS Language - English?
Number of HDDs - 2
HDD model - WD Red 3TB
HDD capacity - 3TB x 2
RAID configuration - Raid 1
Services enabled, e.g. Download Station, DDNS, FTP, NFS - Have now disabled Download station etc.
External devices, e.g. USB printer, e-SATA drive - Sony PlayTV (not got it working yet!)

CylonCenturion

Re: Problems Mapping my shared folder

Post by CylonCenturion » Mon Jun 13, 2016 5:39 am

Graham269L wrote:
pwilson wrote:

I would suggest you enable the Local Master Browser on the NAS.

Control Panel > Network Services > Win/Mac/NFS > Advanced Options

Image

Enable Local Master Browser and "Apply".

Reboot NAS and PC's.


At LAST! Thank you! My mapped drives disappeared from Explorer a while ago, and I haven't been able to get them back. I could access the NAS through the browser, I could ping it, and access my media files through DLNA, but could not swap files about using Explorer.

Surely this should be on by default?

I wonder how many of the hundreds of other people I have seen on the net struggling with this will find this thread?

P. Wilson passes away in november last year.
Great performance, to quote him, and to react on a 3 year old topic...

Graham269L
Starting out
Posts: 18
Joined: Tue Apr 22, 2014 10:18 pm

Re: Problems Mapping my shared folder

Post by Graham269L » Tue Jun 14, 2016 2:41 am

CylonCenturion wrote:P. Wilson passes away in november last year.
Great performance, to quote him, and to react on a 3 year old topic...


Thank you for your sarcasm, I see he taught you well.

How was I supposed to know pwilson had passed away? :-( RIP.
Model name - TS-269L
Firmware version - 4.0.7
Operation System (OS) - Windows 7
OS Language - English?
Number of HDDs - 2
HDD model - WD Red 3TB
HDD capacity - 3TB x 2
RAID configuration - Raid 1
Services enabled, e.g. Download Station, DDNS, FTP, NFS - Have now disabled Download station etc.
External devices, e.g. USB printer, e-SATA drive - Sony PlayTV (not got it working yet!)

Locked

Return to “Windows”