SqueezePlay OS (Version 3) for OpenFrame

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

This is what ive got now in fstab , does it look ok ?
it now says line 16 in /etc/fstab is bad , so i think i messed up , what do you think

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

LABEL=sqp-root / ext2 errors=remount-ro,noatime,noacl 0 1
LABEL=sqp-boot /boot vfat defaults 0 0
//Bthub5/usb2 /MUSIC /mnt/music cifs username=guest,password=
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

The last line should be (you have a extra space after usb2):

//Bthub5/usb2/MUSIC /mnt/music cifs username=guest,password=
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

Ha Ha , yes i just spied that and put it right , now we have
Mount:wrong fs type, bad option, bad superblock on //Bthub5/usb2/MUSIC etc
Image
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Oh bugger!

I assumed that the hdd is formatted as FAT - do you know if that's the case?

Need to think about this.

What version of spqOS are you using?
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

Not sure what i formatted it in , that could be easily changed if needed from what it is now , I'm using the one from this thread , the latest from a usb stick
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Can you type in putty:

cat /proc/filesystems

Look in the output for a line which says nodev cifs

Do you see it listed?
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

yes thats listed
Image
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

I suspect the hdd is formatted as NTFS. I'm not sure about mounting ntfs systems. Need some advice.


As a test you could try this line in fstab (make sure there are spaces!)

Code: Select all

//Bthub5/usb2/MUSIC /mnt/music   ntfs   defaults   0   0
then putty

mount -a
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

Cheers , I'm off line now will try this tomorrow :-)
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

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

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Been reading up on bthub5 - seems that there are issues handling big hdd drives, and confusion if it can handle ntfs .

All very strange.

Before you try the above ntfs line, can you check that you have a /mnt/music folder - use winSCP

Right click on the folder, select Properties - does it show Owner and Group as root(0) and Octal 0777
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

I won't be able to give this a go until later on today I'm on my tapatalk ; all the files are accessible through LMS on the Revo also I recently read that someone had just managed to get an external 4Tb Samsung to work on the new Home Hub 5 , that's what inspired me to try my set up this way .
It does seem strange that the feature is not promoted as I'm sure a lot of folks with these Hubs would benefit from this function.
I will report back .
Thanks
Happy Joggling
Man in a van
Posts: 511
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Man in a van »

Well, I'm guessing again but I always thought that Drives connected via the router hub are primarily for back up duties and not for being used as a NAS per se.

Of course this does not stop that function being utilised if it can be easily incorporated.

I have been playing with Raspbian on a pi recently and to mount a NTFS formatted drive I had to enter

Code: Select all

sudo apt-get install ntfs-3g
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

I've been reading up on the dthub fileshare - it should be straightforward!

Before we continue, can you please check the /mnt/music folder properties? See above.

(mount can be thrown by a simple error and produces the cryptic error message you are seeing)
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Man in a van wrote:Well, I'm guessing again but I always thought that Drives connected via the router hub are primarily for back up duties and not for being used as a NAS per se.

Of course this does not stop that function being utilised if it can be easily incorporated.

I have been playing with Raspbian on a pi recently and to mount a NTFS formatted drive I had to enter

Code: Select all

sudo apt-get install ntfs-3g
There are 3 problems - mounting a bthub share is simple if the drve is FAT

1. one user had to use the username=SSID,password=WPA key .... others just used guest ???

2. the fstab entry must be exact, and any error produces that cryptic error message

3. If the drive is ntfs, then as you say ntfs-3g is the way to go BUT the apt-get sources file on spqOS is out-of-date and needs replacing before ntfs-3g can be installed ....
Man in a van
Posts: 511
Joined: Sun Aug 25, 2013 2:39 pm
Location: Staffordshire. UK

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by Man in a van »

castalla wrote:
Man in a van wrote:Well, I'm guessing again but I always thought that Drives connected via the router hub are primarily for back up duties and not for being used as a NAS per se.

Of course this does not stop that function being utilised if it can be easily incorporated.

I have been playing with Raspbian on a pi recently and to mount a NTFS formatted drive I had to enter

Code: Select all

sudo apt-get install ntfs-3g
There are 3 problems - mounting a bthub share is simple if the drve is FAT

1. one user had to use the username=SSID,password=WPA key .... others just used guest ???

2. the fstab entry must be exact, and any error produces that cryptic error message

3. If the drive is ntfs, then as you say ntfs-3g is the way to go BUT the apt-get sources file on spqOS is out-of-date and needs replacing before ntfs-3g can be installed ....

I have found the quickest way to change the source file is tu use WinScp (as root) and the attachment kindly provided by karlek earlier in this thread.

http://www.jogglerwiki.com/forum/viewto ... &start=380
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

@hawsey

Have to go out for this afternoon. Back earlier this evening.

Cheers
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

Thanks guys , I won't be able to try this until tonight now as out on a day trip with my little lad :-) .
The FAT format wont be an issue , in fact , before I start tonight I'll format a USB stick to fat with a few music folders and put that in instead of my HDD if it works out , I'll just do the same with my external HDD .
@Man in a van , the idea of a "free" NAS is what I am aiming for here so it sits on permanently and when my Joggler with LMS installed is powered it it also becomes an LMS for my 3 synced Jogglers :-)
I think I'll write a tutorial up if we get there just to share with others .
@Castalla first thing I'll do tonight is check what you said ,
Thanks .
Happy Joggling
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

@Castalla , i have done as requested and when i used winscp as root and look at the /mnt/music folder i have root 0 but octal as 0755 and not 0777 as you quoted .
I also did format a USB stick in FAT 32 with a folder MUSIC and within that an artist folder with Albums in it and on putty as root tried mount -a again with result
mount : wrong fs type , bad option , bad superblock on //Bthub5/usb2/MUSIC etc etc
to you want me to put the hdd back in as it was or leave the FAT 32 usb stick in for the moment ?
Happy Joggling
User avatar
hawsey
Posts: 2077
Joined: Sun May 22, 2011 11:23 pm
Location: Northumberland

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hawsey »

@Castalla , i have done as requested and when i used winscp as root and look at the /mnt/music folder i have root 0 but octal as 0755 and not 0777 as you quoted .
I also did format a USB stick in FAT 32 with a folder MUSIC and within that an artist folder with Albums in it and on putty as root tried mount -a again with result
mount : wrong fs type , bad option , bad superblock on //Bthub5/usb2/MUSIC etc etc
to you want me to put the hdd back in as it was or leave the FAT 32 usb stick in for the moment ?

I just noticed that the BTHUB5 is in capitals so i changed that on the fstab and checked with putty but the same error as above gets reported back .
Last edited by hawsey on Wed Apr 06, 2016 7:57 pm, edited 1 time in total.
Happy Joggling
Post Reply