Page 44 of 51

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 10:20 pm
by jim_lewis1
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
none /tmp tmpfs noatime,size=192M 0 0
none /var/cache/apt tmpfs noatime,size=256M 0 0
none /var/lib/apt/lists tmpfs noatime,size=256M 0 0
none /var/log tmpfs noatime,size=16M 0 0

/dev/mmcblk0p2 / ext2 errors=remount-ro,noatime,noacl 0 1
/dev/mmcblk0p1 /boot vfat defaults 0 0

# //X10/MusicDB /srv/x10Music cifs username=guest,password=
# this one i thought cracked it, but rebooting lms lost everything and this didn't fix it

# 192.168.0.34:\\X10\\MusicDB /srv/media nfs defaults,user,auto,noatime,intr 0 0
#this one appeared when i redid the network mount point in the gui. note double slash prior Music DB. can that be right?

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 10:31 pm
by jim_lewis1
Wow, this is frustrating. At one point I had the contents of the x10 visible under the mounted folder. Now I'm nowhere. Is there ac way to manually mount the x10 folder, check it works, then duplicate that in fstab? I feel I'm totally groping around here.

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 10:45 pm
by jim_lewis1

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 11:04 pm
by castalla
Make the fstab end like This:

/dev/mmcblk0p2 / ext2 errors=remount-ro,noatime,noacl 0 1
/dev/mmcblk0p1 /boot vfat defaults 0 0

//X10/MusicDB /srv/x10Music cifs username=guest,password=

------------------------------------

in PuTTy -

mount -a

If no errors, then

dir /srv/x10Music

Folders listed?

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 11:17 pm
by castalla
I read the German article - Sonos uses a different mount system - but it did give the hint for the music folder name.

Forget the nfs stuff.

Mounting via a direct command requires different syntax. Can we continue with fstab, because it whas to be edited in any event.

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 11:33 pm
by castalla
Also when you mount -a in putty, login as root ....

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 11:51 pm
by jim_lewis1
OK, the fstab entry is one we've already tried. After editing I'm saving then trying through putty directly to mount -a. There's nothing else I need to do at any point is there?
The mount -a gave errors as before

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Mon Nov 16, 2015 11:52 pm
by jim_lewis1
I still don't see anything under the folder we made (x10music) so it seems the fstab 'link'isn't working as required

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:02 am
by castalla
Okay - can we check

the folder is

/srv/x10music (small m) ?

or

/srv/x10Music (capital M) ?

Make sure that the fstab points to the exact same name.

mount -a doesn't produce any errors?

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:09 am
by castalla
Using WinSCP - check the owner of /srv/x10music (or whatever you called it)

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:10 am
by jim_lewis1
yes, i used camelCaps for x10Music

mount -a still gives errors...

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:10 am
by jim_lewis1
owner is root

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:17 am
by castalla
Checking back - you used the ip address earlier

In the Win start search box

\\192.168.0.34

What folder name does explorer show?

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:26 am
by jim_lewis1
MusicDB

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:27 am
by castalla
So, the fstab entry points to /srv/x10Music ?

---------------

//X10/MusicDB /srv/x10Music cifs username=guest,password=


This should work.

-----------------------------

There could be issues with the owner properties - my system has root as owner of all the folders - yours seems to have joggler as owner.

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:30 am
by castalla
Try in fstab

//192.168.0.34/MusicDB /srv/x10Music cifs username-guest,password=

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:31 am
by jim_lewis1
Yes, that is the entry that was there when it did work, but not fully, and not at all after a restart of lms/joggler
It looks to my very inexperienced eye like it should work, but we've tried it since and it hasn't.
That is, I alter the fstab file, then go into the lms gui and rescan, expecting the new fstab entry to pick up the x10 files and mount them.

If it is an ownership issue how can I resolve it?

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:36 am
by jim_lewis1
Tried the up instead of X10. No joy

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:38 am
by jim_lewis1
Hang on. Should I be trying mount -a each time? Just tried that after using ip and I CAN browse through dir on telnet to folder names under x10Music

Re: SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

Posted: Tue Nov 17, 2015 12:41 am
by jim_lewis1
I think that's cracked it. No idea why \\X10 sort of worked but it does seem that \\ip is working. Currently scanning the DB