Thank you for your donation!


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


moOde 5.0 Release Candidate RC1
#44
TheOldPresbyope
(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  Smile  That worked!

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"
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
Reply


Messages In This Thread
moOde 5.0 Release Candidate RC1 - by Tim Curtis - 03-29-2019, 07:06 PM
RE: moOde 5.0 Release Candidate RC1 - by rylfas - 03-31-2019, 09:00 AM
RE: moOde 5.0 Release Candidate RC1 - by rylfas - 03-31-2019, 01:26 PM
RE: moOde 5.0 Release Candidate RC1 - by rylfas - 03-31-2019, 08:32 PM
RE: moOde 5.0 Release Candidate RC1 - by Edward - 03-31-2019, 07:17 PM
RE: moOde 5.0 Release Candidate RC1 - by jonners - 03-31-2019, 10:02 PM
RE: moOde 5.0 Release Candidate RC1 - by JST1963 - 03-31-2019, 10:43 PM
RE: moOde 5.0 Release Candidate RC1 - by JST1963 - 04-01-2019, 11:51 PM
RE: moOde 5.0 Release Candidate RC1 - by imi11 - 04-03-2019, 05:41 PM
RE: moOde 5.0 Release Candidate RC1 - by imi11 - 04-03-2019, 06:11 PM
RE: moOde 5.0 Release Candidate RC1 - by miklau - 04-03-2019, 06:24 PM
RE: moOde 5.0 Release Candidate RC1 - by miklau - 04-03-2019, 08:28 PM
RE: moOde 5.0 Release Candidate RC1 - by imi11 - 04-03-2019, 07:41 PM
RE: moOde 5.0 Release Candidate RC1 - by Edward - 04-03-2019, 09:29 PM
RE: moOde 5.0 Release Candidate RC1 - by imi11 - 04-04-2019, 06:13 PM
RE: moOde 5.0 Release Candidate RC1 - by miklau - 04-03-2019, 08:47 PM
RE: moOde 5.0 Release Candidate RC1 - by miklau - 04-04-2019, 08:50 PM
RE: moOde 5.0 Release Candidate RC1 - by miklau - 04-06-2019, 08:59 AM
RE: moOde 5.0 Release Candidate RC1 - by imi11 - 04-03-2019, 08:43 PM
RE: moOde 5.0 Release Candidate RC1 - by HemiRick - 04-04-2019, 09:41 PM
RE: moOde 5.0 Release Candidate RC1 - by Zigzag - 04-05-2019, 12:14 PM
RE: moOde 5.0 Release Candidate RC1 - by Macdelf - 04-09-2019, 07:37 PM
RE: moOde 5.0 Release Candidate RC1 - by Macdelf - 04-10-2019, 12:30 PM

Forum Jump: