Page 25 of 41
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 3:46 pm
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 .
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 3:54 pm
by hawsey
So I logged back in to putty as root and typed what you said and it says device write protected .
Could that be the HH5 firewall or something like that ?
My folder is actually in capitals MUSIC , would that make any difference ?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:02 pm
by castalla
Which folder is in CAPITALS ?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:07 pm
by hawsey
192.168.1.254/usb2/MUSIC
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:11 pm
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 ?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:13 pm
by hansel
Can you do a
in JuiceSSH app and let us have a look at the output? To check you entered the correct path.
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:14 pm
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
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:16 pm
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!
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:19 pm
by hansel
login in PuTTY/JuiceSSH as joggler/joggler and type:
with your cursor go to the last line and type
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
this will
write the file (save) and
quit the editor.
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 4:41 pm
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 .
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 5:45 pm
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
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 6:48 pm
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 ....
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 8:56 pm
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 .
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 9:19 pm
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?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 9:23 pm
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
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 9:36 pm
by hawsey
\\Bthub5\usb2\MUSIC is what it is Copy and pasted
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 9:41 pm
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 ?
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:01 pm
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
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:05 pm
by hawsey
Yes i tried the above address with the same results .usb2 is write protected etc
Re: SqueezePlay OS (Version 3) for OpenFrame
Posted: Tue Apr 05, 2016 10:07 pm
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