PNPIII - trying to get NAS mounted for LMS - SUCCESS!!

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by offbeatdave »

Also try
DataVolume/Music
or whatever the translated version is as the share name.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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..
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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)
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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..
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by offbeatdave »

type

Code: Select all

mount
and post what it says.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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)
#
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Try:

mount -t cifs //192.168.0.13/DATA/Muziek /media/media/media-share1 -o username=Joggler,password=Joggler
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by offbeatdave »

Error wrote:by the way,shouldn't it be
.... /media-share1" ???? instead of media-server1?
Oops. Yeah.
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

"mount: not found" :cry:
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Sleep well!

I'll ask around to see if we can figure this out ....
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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...
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Shouldn't it be :

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

???
Post Reply