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: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post 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?
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

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

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

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

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

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

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

Post by castalla »

Also when you mount -a in putty, login as root ....
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post 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
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

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

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

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

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

Post by castalla »

Using WinSCP - check the owner of /srv/x10music (or whatever you called it)
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 »

yes, i used camelCaps for x10Music

mount -a still gives errors...
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 »

owner is root
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

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

Post 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?
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 »

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

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

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

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

Post by castalla »

Try in fstab

//192.168.0.34/MusicDB /srv/x10Music cifs username-guest,password=
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post 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?
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post by jim_lewis1 »

Tried the up instead of X10. No joy
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

Post 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
jim_lewis1
Posts: 179
Joined: Wed Mar 26, 2014 4:44 pm

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

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