SqueezePlay for Joggler (Native, Ubuntu & SQPOS)

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Mon Nov 16, 2015 10:20 pm

# /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?

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Mon Nov 16, 2015 10:31 pm

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.


castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Mon Nov 16, 2015 11:04 pm

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?

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Mon Nov 16, 2015 11:17 pm

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.

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Mon Nov 16, 2015 11:33 pm

Also when you mount -a in putty, login as root ....

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Mon Nov 16, 2015 11:51 pm

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

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Mon Nov 16, 2015 11:52 pm

I still don't see anything under the folder we made (x10music) so it seems the fstab 'link'isn't working as required

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Tue Nov 17, 2015 12:02 am

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?

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Tue Nov 17, 2015 12:09 am

Using WinSCP - check the owner of /srv/x10music (or whatever you called it)

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Tue Nov 17, 2015 12:10 am

yes, i used camelCaps for x10Music

mount -a still gives errors...

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Tue Nov 17, 2015 12:10 am

owner is root

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Tue Nov 17, 2015 12:17 am

Checking back - you used the ip address earlier

In the Win start search box

\\192.168.0.34

What folder name does explorer show?

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Tue Nov 17, 2015 12:26 am

MusicDB

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Tue Nov 17, 2015 12:27 am

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.

castalla
Posts: 847
Joined: Wed May 29, 2013 10:33 am

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

Post by castalla » Tue Nov 17, 2015 12:30 am

Try in fstab

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

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Tue Nov 17, 2015 12:31 am

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?

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Tue Nov 17, 2015 12:36 am

Tried the up instead of X10. No joy

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Tue Nov 17, 2015 12:38 am

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

jim_lewis1
Posts: 174
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 » Tue Nov 17, 2015 12:41 am

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

Post Reply