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 »

Username is root threw me , in there I had joggler and joggler as password , that's it , I got root access and changed the file ,
Thanks , I told you I was not very good
I'll move on to the next bit now .
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 »

So I logged back in to putty as root and typed what you said and it says device write protected .

Image

Could that be the HH5 firewall or something like that ?
My folder is actually in capitals MUSIC , would that make any difference ?
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Which folder is in CAPITALS ?
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 »

192.168.1.254/usb2/MUSIC
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

That message is a new one to me! Need to back up a bit ....

1. The HDD is on the router usb ?

2. Can you 'see' the HDD in Windows, eg. file explorer?

3. Are user and password set for HDD access ? or is it accessible as guest/anonymous ?
hansel
Posts: 20
Joined: Thu Oct 13, 2011 2:37 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hansel »

Can you do a

Code: Select all

sudo cat /etc/fstab
in JuiceSSH app and let us have a look at the output? To check you entered the correct path.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

hawsey wrote:192.168.1.254/usb2/MUSIC
Try changing the fstab line (as root!) to

//192.168.1.254/usb2/MUSIC /mnt/music cifs username=guest,password=

Save

Then in putty

mount -a
Last edited by castalla on Tue Apr 05, 2016 4:39 pm, edited 1 time in total.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Linux is utterly literal - there is no leeway! Commands have to be point perfect - it just does what you tell it without any interpretation!
hansel
Posts: 20
Joined: Thu Oct 13, 2011 2:37 pm

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by hansel »

login in PuTTY/JuiceSSH as joggler/joggler and type:

Code: Select all

sudo vi /etc/fstab
with your cursor go to the last line and type

Code: Select all

i
This will put you in insert mode. Now you can type text en delete with backspace like normal.
In the end, when all editing is done, type

Code: Select all

:wq
this will write the file (save) and quit the editor.
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 »

Guys , I have to go off line until later tonight , I checked and the folder is def accessible from a shortcut on my phone , it is all on a HDD in a folder called MUSIC plugged in to the USB port on the HH5 router .
I'll do what you said and get back later ,
Very much appreciated all the help , thank you , I'm sure I'll get there .
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 »

castalla wrote:Don't delete! Just cancel or ESC out

Did you login on winSCP as root ?

Also, be careful to include spaces in the line

//192.168.1.254/usb2/music SPACE /mnt/music SPACE cifs SPACE username=guest,password=
When I use Winscp, either as user or root I select SCP (as File protocol) when logging in.

Just a suggestion, I don't want to overburden thread with too many cooks
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

I don't think that's the issue!

It's either the path was wrong (which it was) or the router/HDD isn't using cifs

We'll see ....
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 »

Right if anyone is about , a couple of things after I typed cifs should the username bit be on another line , or just a space between them .
The HH5 Music folder is picked up no problem if I run LMS on W7 on my Acer Revo , don't know if that helps any .
Also if I right click on the path and paste it it shows something like \\Hh5\usb2\music , I noticed they are back slash not forward and it is HH5 not 192.168.1.254.
There was lots of advice before but not sure what to try next .
Ah and also looking on the Joggler the LMS is now running but obviously without the music .
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Okay.

The joggler needs to access the hdd - this is done by mounting the hhd folder - fstab does this automatically. So, we need to know the hdd address.

Can you try this line in fstab - it's all one line and observe the spaces! Don't type SPACE! I'm indicating where there has to be a space!


//192.168.1.254/usb2 SPACE /mnt/music SPACE cifs SPACE username=guest,password=


Save file

Putty login and type

sudo mount -a

Any errors?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Linux is literal

HHS is not the same as Hhs !!!

We need the exact name - but the ip address should work, if it doesn't then we can try the name in fstab
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 »

\\Bthub5\usb2\MUSIC is what it is Copy and pasted
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

This is getting very confusing! You've given three different names so far! HSS, HhS, and now Bthub5 !!!

Which is it???

Did you try the ip address as above ?
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 »

Apologies , what i meant before when i said it is something like HH5 was just that it wasnt an ip address the actual path is above , copied and pasted , i was on my phone before and just thinking of ideas .
If i type 192.168.1.254 in to a browser , i get access to my Home Hub 5 .
This is what it is
\\Bthub5\usb2\MUSIC
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 »

Yes i tried the above address with the same results .usb2 is write protected etc
Happy Joggling
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: SqueezePlay OS (Version 3) for OpenFrame

Post by castalla »

Okay - let's try this in fstab (SPACE is space !)

//Bthub5/usb2/MUSIC SPACE /mnt/music SPACE cifs SPACE username=guest,password=


Save file

In putty

sudo mount -a

If no errors, then

dir /mnt/music
Post Reply