04-06-2019, 08:59 AM
TheOldPresbyope
@miklau
Don't use the smb: prefix in this context.
In your first post, you said your SMB server's IP address is 192.168.1.222, so what happens if you try Tim's set of commands but with "//192.168.1.222/music" instead of "NAS540/music"? If that works, then in the moOde NAS Source panel click on the "Edit" link under the Host/Share box and enter "192.168.1.222/music" (without the quotes) manually.
Regards,
Kent
Once again thank you both for your help
That worked!
what I did:
The NAS was not visible in the NAS config page but then I created a new one with: "192.168.1.222/music". That mounted the NAS! Not sure if the "/music" to the IP did the differens or if the command executed in the terminal gave the permission... Thanks.
/Mikkel
(04-04-2019, 08:50 PM)miklau Wrote:(04-03-2019, 09:08 PM)Tim Curtis Wrote:(04-03-2019, 08:47 PM)miklau Wrote:(04-03-2019, 08:36 PM)Tim Curtis Wrote: Looks ok.
What were the entries on the NAS Source screen?
Host/share
Userid
Password *****
Name
I also tried with "Guest" and no password. Stil the same error.
The challenge is that the errors reported by the mount command are almost useless.
I'd suggest trying the mount manually
Code:mkdir /mnt/NAS/NAS540
sudo mount -t cifs "//NAS540/music" -o username="admin",password="**********",rsize=61440,wsize=65536,iocharset=utf8,vers=1.0,ro,dir_mode=0777,file_mode=0777 "/mnt/NAS/NAS540"
sudo umount /mnt/NAS/NAS540
sudo rmdir /mnt/NAS/NAS540
Thanks Tim
I did try to run the commands but I was still not able to mount my NAS. I have double checked username and password and user authentication at ny NAS settings. everthing should be fine there as well. Here is result form terminal:
Code:pi@moode:~ $ sudo mount -t cifs "//NAS540/music" -o username="admin",password="*********",rsize=61440,wsize=65536,iocharset=utf8,vers=1.0,ro,dir_mode=0777,file_mode=0777 "/mnt/NAS/NAS540"
mount error: could not resolve address for NAS540: Unknown error
pi@moode:~ $ sudo mount -t cifs "smb://NAS540/music" -o username="admin",password="********",rsize=61440,wsize=65536,iocharset=utf8,vers=1.0,ro,dir_mode=0777,file_mode=0777 "/mnt/NAS/NAS540"
Mounting cifs URL not implemented yet. Attempt to mount smb://NAS540/music
pi@moode:~ $ sudo umount /mnt/NAS/NAS540
umount: /mnt/NAS/NAS540: not mounted
Does that look any diffrent or maybe I ma not doing it right...
@miklau
Don't use the smb: prefix in this context.
In your first post, you said your SMB server's IP address is 192.168.1.222, so what happens if you try Tim's set of commands but with "//192.168.1.222/music" instead of "NAS540/music"? If that works, then in the moOde NAS Source panel click on the "Edit" link under the Host/Share box and enter "192.168.1.222/music" (without the quotes) manually.
Regards,
Kent
Once again thank you both for your help

what I did:
Code:
sudo mkdir /mnt/NAS/NAS540
sudo mount -t cifs "//192.168.1.222/music" -o username="admin",password="**********",rsize=61440,wsize=65536,iocharset=utf8,vers=1.0,ro,dir_mode=0777,file_mode=0777 "/mnt/NAS/NAS540"
/Mikkel