Page 6 of 15

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 8:58 pm
by offbeatdave
Sorry for trying to eliminate the obvious, but is the NAS actually set up as a Media Server:
To set up your BlackArmor server as a media server:
1. In the menu bar, select Media, then click Media Service.
2. Beside Service, select Enable.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:00 pm
by offbeatdave
In addition to the above:
Setup
1. Access the management page of the BlackArmor.
Get the IP address from the LCD of your BlackArmor.
Open a web browser and enter the IP.
2. Ensure the share you want to access is setup for NFS.
Go to the Network section and then to Shares.
If NFS is enabled for a particular share, there will be a green checkmark on it.
If it is not, check on the modify and make sure to check the NFS box.
3. Setup the NFS Service
Go to the Network section and then to Services.
Under NFS Service, ensure that it is set to Enable.
Make sure to enter the IP Addresses of your Linux computers.
When adding them, do it one at a time, clicking Add each time.
Click Submit once you are finished.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:02 pm
by offbeatdave
Also try
DataVolume/Music
or whatever the translated version is as the share name.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:07 pm
by offbeatdave
Other than that I'm not sure what else to suggest. It's got to be the way the share is set up.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:08 pm
by Error
should i try your earlier suggestion again:
mount -t cifs //192.168.0.13/Muzeik /Muzeik -o username=Joggler,password=Joggler

If there is no error message, then type dir /Muzeik - you should see the music files
of course 'dir' has to be 'ls' I just learned..

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:14 pm
by offbeatdave
Try
mount -t cifs //192.168.0.13/Muzeik /media/media/media-server1 -o username=Joggler,password=Joggler
assuming password and user are Joggler and Joggler (in the correct case)

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:18 pm
by castalla
I can't recall if the mount command works.

Confirm the stuff offbeatdave mentioned - we just need to discover where Muzeik is located.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:18 pm
by Error
From my NAS:
Folder Share Permissions

Share Information

Name Muziek

Description Muziekbestanden

Volume DATA

Services Enable CIFS Enable FTP Enable NFS

Public Access Enable

NFS Access Full Access Read Only
So no login should be required; all is public.. let's see what that does.

tried both options:

Code: Select all

# mount -t cifs //192.168.0.13/Muziek /media/media/media-server1 -o username=Joggler,password=Joggler
# mount -t cifs //192.168.0.13/Muziek /media/media/media-server1 -o
-sh: mount: not found
#
they both return the same thing..

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:21 pm
by offbeatdave
type

Code: Select all

mount
and post what it says.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:22 pm
by Error
by the way,shouldn't it be
.... /media-share1" ???? instead of media-server1?

EDIT:

mount returns this:

Code: Select all

# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,barrier=1,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /tmp type tmpfs (rw,relatime)
none on /dev type tmpfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
devshm on /dev/shm type tmpfs (rw,relatime)
/dev/mmcblk0p4 on /media type ext3 (rw,relatime,data=ordered)
none on /dev/mqueue type mqueue (rw,relatime)
#

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:31 pm
by castalla
Try:

mount -t cifs //192.168.0.13/DATA/Muziek /media/media/media-share1 -o username=Joggler,password=Joggler

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:33 pm
by offbeatdave
Error wrote:by the way,shouldn't it be
.... /media-share1" ???? instead of media-server1?
Oops. Yeah.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:35 pm
by Error
"mount: not found" :cry:

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:41 pm
by Error
offbeatdave wrote:
Error wrote:by the way,shouldn't it be
.... /media-share1" ???? instead of media-server1?
Oops. Yeah.
well it didn't matter :lol: yes that's right: "mount: not found" ..

I'm going to bed.. cant take it anymore.. :?
Thanks for all your help guys!! I really appreciate it!
maybe I'll replace the NAS....... who knows.. I just HAVE to get it working the way I want it to!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:46 pm
by castalla
Sleep well!

I'll ask around to see if we can figure this out ....

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:48 pm
by Error
by the way, a stick in NTFS format isn't recognised by Joggler is it? Because FAT32 shrinks the volume too much to my liking...

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:51 pm
by Error
offbeatdave wrote:Sorry for trying to eliminate the obvious, but is the NAS actually set up as a Media Server:
To set up your BlackArmor server as a media server:
1. In the menu bar, select Media, then click Media Service.
2. Beside Service, select Enable.
hm didn't catch this reply, sorry.

answer is yes, my kids can access music and videos off the server via the (samsung) TV.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:57 pm
by Error
offbeatdave wrote:In addition to the above:
Setup
1. Access the management page of the BlackArmor.
Get the IP address from the LCD of your BlackArmor.
Open a web browser and enter the IP.
2. Ensure the share you want to access is setup for NFS.
Go to the Network section and then to Shares.
If NFS is enabled for a particular share, there will be a green checkmark on it.
If it is not, check on the modify and make sure to check the NFS box.
3. Setup the NFS Service
Go to the Network section and then to Services.
Under NFS Service, ensure that it is set to Enable.
Make sure to enter the IP Addresses of your Linux computers.
When adding them, do it one at a time, clicking Add each time.
Click Submit once you are finished.
I added the IP of the Joggler, submitted it, succesful.
Then turned to Joggler webserver right away (of course) but didn't succeed yet

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 9:59 pm
by offbeatdave

Code: Select all

/bin/busybox.new mount -t cifs //$NAMEPC/$NAMESHARE /media/media/$MOUNTPOINT/ -o ro,user=$USER,password=$PASSWORD,_netdev
replacing the $NAMEPC etc. with the appropriate names

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Sep 27, 2013 10:03 pm
by castalla
Shouldn't it be :

/bin/busybox.new/mount -t cifs //$NAMEPC/$NAMESHARE /media/media/$MOUNTPOINT/ -o ro,user=$USER,password=$PASSWORD,_netdev

???