Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Can't connect to NAS
#33
(12-16-2018, 04:26 PM)TheOldPresbyope Wrote: @julessilver

Are you comfortable using SSH to work from the command line of your moOde player? (moOde's builtin Web SSH Terminal works great.) Then, let's bypass moOde's NAS configuration panel.

From the command line, can you successfully ping the hostname SynNAS? Does the ping response include the IP address you expect (apparently 192.168.1.73)? 

Example: here's what I get pinging my server OMV-HC1 (note u/l-case doesn't matter in the hostname):

Code:
pi@moode:~ $ ping omv-hc1 -c 1
PING omv-hc1.fios-router.home (192.168.1.12) 56(84) bytes of data.
64 bytes from omv-hc1.fios-router.home (192.168.1.12): icmp_seq=1 ttl=64 time=3.50 ms

--- omv-hc1.fios-router.home ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 3.508/3.508/3.508/0.000 ms


From the command line you can test-mount your username/password-protected SMB share (note that u/l-case doesn't matter in hostname/share but it very much does matter in username and password):

Code:
mkdir /tmp/test
sudo mount -t cifs //<hostname or ip>/<sharename> /tmp/test -o username=xxx,password=yyy

# examples assuming the hostname is SynNAS, the IP address is 192.168.1.73,
# the username is jules, and the password is yyy
# sudo mount -t cifs //SynNAS/Music /tmp/test -o username=jules,password=yyy
# or
# sudo mount -t cifs //192.168.1.73/Music -o username=jules,password=yyy

NOTE ADDED IN EDIT: the mount command is a single line; reading my completed post in my browser it is folded at "-o" into two lines)

(If you leave off the password option, you'll be prompted for it; if you leave off the username option, interesting things happen if the share is protected).

If you can successfully mount it, then un-mount it with (note the odd spelling of the command)

Code:
sudo umount /tmp/test

If the username and/or password is wrong in the mount command, you should see---wait for it---"mount error (13), permission denied". This is what I see repeatedly in your log.

As for NFS, I don't use it but you can test in a similar way:

Code:
sudo mount -t nfs <hostname or ip>:/<sharename> /tmp/test <nfs-options>

Note that there's no nfs option for a username/password. you'll have to dig into NFS documentation to sort out how to deal with the raft of options (both on the server end and the client end).

Hope this helps.

Regards,
Kent
Hi Kent.

Went through your excellent instructions and decided it was the Synology NAS that was at fault. So I made a new admin user and password and re attached the NAS storage using the new credentials.

All works well. now.

Thanks for all your help. 

Your attention to detail is impeccable.

Best regards...jules
Reply


Messages In This Thread
Can't connect to NAS - by despearce - 11-18-2018, 07:02 PM
RE: Can't connect to NAS - by Tim Curtis - 11-18-2018, 10:19 PM
RE: Can't connect to NAS - by despearce - 11-20-2018, 04:47 PM
RE: Can't connect to NAS - by Tim Curtis - 11-20-2018, 05:59 PM
RE: Can't connect to NAS - by despearce - 11-21-2018, 08:06 AM
RE: Can't connect to NAS - by TheOldPresbyope - 11-21-2018, 02:18 PM
RE: Can't connect to NAS - by Zigzag - 11-21-2018, 11:31 AM
RE: Can't connect to NAS - by Tim Curtis - 11-21-2018, 02:44 PM
RE: Can't connect to NAS - by Zigzag - 12-05-2018, 08:52 PM
RE: Can't connect to NAS - by Tim Curtis - 12-06-2018, 04:12 AM
RE: Can't connect to NAS - by Zigzag - 12-06-2018, 01:38 PM
RE: Can't connect to NAS - by Tim Curtis - 12-06-2018, 01:56 PM
RE: Can't connect to NAS - by Zigzag - 12-06-2018, 02:42 PM
RE: Can't connect to NAS - by Zigzag - 12-06-2018, 02:48 PM
RE: Can't connect to NAS - by TheOldPresbyope - 12-06-2018, 05:03 PM
RE: Can't connect to NAS - by Zigzag - 12-06-2018, 09:33 PM
RE: Can't connect to NAS - by julessilver - 12-13-2018, 05:23 AM
RE: Can't connect to NAS - by TheOldPresbyope - 12-13-2018, 03:24 PM
RE: Can't connect to NAS - by Tim Curtis - 12-06-2018, 02:55 PM
RE: Can't connect to NAS - by Tim Curtis - 12-13-2018, 04:49 PM
RE: Can't connect to NAS - by julessilver - 12-16-2018, 02:07 PM
RE: Can't connect to NAS - by Tim Curtis - 12-16-2018, 04:23 PM
RE: Can't connect to NAS - by julessilver - 12-19-2018, 06:38 AM
RE: Can't connect to NAS - by TheOldPresbyope - 12-16-2018, 04:26 PM
RE: Can't connect to NAS - by julessilver - 12-19-2018, 06:39 PM
RE: Can't connect to NAS - by Paul1 - 12-16-2018, 09:53 PM
RE: Can't connect to NAS - by Tim Curtis - 12-16-2018, 10:08 PM
RE: Can't connect to NAS - by Paul1 - 12-17-2018, 08:54 PM
RE: Can't connect to NAS - by Tim Curtis - 12-17-2018, 09:28 PM
RE: Can't connect to NAS - by TheOldPresbyope - 12-17-2018, 09:36 PM
RE: Can't connect to NAS - by Paul1 - 12-18-2018, 07:37 PM
RE: Can't connect to NAS - by Onionhead - 12-17-2018, 10:28 PM
RE: Can't connect to NAS - by Paul1 - 12-18-2018, 07:47 PM
RE: Can't connect to NAS - by TheOldPresbyope - 12-19-2018, 10:16 PM

Forum Jump: