PNPIII - trying to get NAS mounted for LMS - SUCCESS!!

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: New to Joggler. best option?? how to do that?? n00b here

Post by offbeatdave »

You must be so frustrated that you can't get it working. :x

I don't have a fully-fledged NAS myself, but my router (Linksys x3000) simulates one when a USB hard drive is attached to it. It shows up like a NAS on pretty much every gadget.

To mount it on a Joggler for Logitech Media Server to find I fill out the following in the webserver:

IP Address: I just put in 192.168.0.1 (the IP of the router)
Shared folder: Music (no / \ or anything else. Music is the simple name of the share which I have configured in the router settings. I presume it is case sensitive.)
Username: joggler (I set up a user in the router settings)
Password: joggler
Mountpoint: media folder 1 (or whichever number you choose. I have set up each joggler in the house to work with a different folder. Don't know if that improves things/prevents/causes problems, but it works for me.)

I then click 'Add Data' to set it up.

I then access it in LMS -> Settings -> Basic Settings -> /media/media/media-share1 (as long as the media-share number matches the folder number set as the mountpoint). I wonder if the problem is not pointing it to media-share1 in the /media/media folder (or 2, 3 etc depending on which media folder is configured).

Hope this helps solve your problem!
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: New to Joggler. best option?? how to do that?? n00b here

Post by Error »

well yes and no, I configured it exactly how you say you did:

- My NAS is on IP 192.168.0.12
- Share is called Muziek (Music)
- Made user Joggler
- with passw Joggler which has Administrator rights on the NAS
- mounted it to folder 1. (Been trying to mount it in another folder but that doesn't help either.)
Add data : It says its mounted/modified

Set it up in LMS to media/media/folder1. Then let it scan but it returns no files, nothing, all is returned as zero and/or empty. It's just as if it's not mounted at all..

Would rebooting the Joggler help? I don't kwow?
Could it have something to do with DHCP?? Don't think so but you never know? The Joggler has internet (WiFi) which works, so that can't be it?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: New to Joggler. best option?? how to do that?? n00b here

Post by castalla »

As I said - try putting in

Public/Muziek

have you got PuTTY installed? Login to Joggler; Type

dir /media/media/folder1

What do you get?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: New to Joggler. best option?? how to do that?? n00b here

Post by castalla »

Can you confirm that you can PuTTY into the Joggler? I think this is the only way we can get some idea of what is happening.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: New to Joggler. best option?? how to do that?? n00b here

Post by Error »

castalla wrote:PuTTY - http://www.chiark.greenend.org.uk/~sgta ... nload.html

This will let you login to the joggler - you'll see a command line prompt. Just type: dir /media/media

Note what is returned - post results here.
I start PuTTY; type in the address of Joggler which is 192.168.0.12
login next with joggler, passw = joggler.
Then a line with #
I type dir/media/media

and the return is

-sh: dir/media/media: not found

When I add .../folder1 the answer is the same..
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: New to Joggler. best option?? how to do that?? n00b here

Post by offbeatdave »

It's not folder1. It's shared-media1
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: New to Joggler. best option?? how to do that?? n00b here

Post by castalla »

Hmmm - what do you see if you just type:

dir /media

We need to see if the correct folder is being mounted.

Also, we still need to discover where the Muzeik folder is on your NAS .... can you discover a path when you look at Muzeik via Explorer - something like /Public/Muzeik
User avatar
offbeatdave
Posts: 1050
Joined: Wed Mar 09, 2011 10:43 pm

Re: New to Joggler. best option?? how to do that?? n00b here

Post by offbeatdave »

Also, we still need to discover where the Muzeik folder is on your NAS .... can you discover a path when you look at Muzeik via Explorer - something like /Public/Muzeik
Yeah, think this may be the cause. My 'Music' is the name of my partition located on 192.168.0.1
"EVERY DAY I'M JOGGLERING!"
Jogglering since Dec '09;
Tinkering with Jogglers since Feb '10 thanks to PMJ, Jogtools, PnP & sqpOS;
Gave something back Feb '12 to Apr '14 with PnP Mk II & PnP III;
Finally 'completed' PnP III Apr '15!
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: New to Joggler. best option?? how to do that?? n00b here

Post by Error »

I Putty'd: 192.168.0.12 = the Joggler.

Dir/media
dir/media/media
dir/media/media/media-shared1
dir

But all my options return: not found.

192.168.0.13 = the Server
When I try to Putty in the Server I get the message "Network Error. Connection Refused"
Eehm.. say what :shock: Like it can't see it?

I tried mounting LMS again
- IP of the server (which is ...013, I said ...012 earlier but that is the Joggler)
- share = Muziek
user and passw = Joggler

And again; the weel keeps turning and nothing happens.
So I'm getting the feeling it doesn't see my NAS at all.

Address of server is \\Peekserver\Muziek which is reachable via Windows Explorer

I AM however able to play music via Upnp on the Joggler so it cán see it!

Another option is to buy a big USB stick and put all my music on there? but I can't stand why its not wanting to work!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

We can try the following as a test:

login via PuTTy to Joggler.

type

mkdir Muzeik

(this creates a new folder called Muzeik)

Now type

mount -t cifs //192.168.0.13/Muzeik /Muzeik -o username=Joggler,password=Joggler

If there is no error message, then type dir /Muzeik - you should see the music files


Note the above is just a test. If it works then we can move on further.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

I get the message:
"can't find /muziek in /etc/fstab"

So there it looks then?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Errr ... no

No idea why it's returning that!

Let's try again - login to Joggler. But this time, use username root and pass joggler. If it doesn't let you in, then use joggler - joggler

Type dir

What do you see?

You should see Muzeik listed (if you did mkdir Muzeik earlier)
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

Well I see
-sh: dir: not found

I did mkdir earlier on..
I tried making Muziek again (mkdir Muziek) and then it says
mkdir: cannot create directory Muziek: file exists
But dir/Muziek does return
-sh: dir: not found

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

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

It's

dir /Muzeik

There's a space

edit: see below
Last edited by castalla on Tue Sep 24, 2013 9:25 pm, edited 1 time in total.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Ooops --

type

dir Muzeik
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

doens't make a difference.. tried all varieties, Capital M, slashes, whatever... all return 'not found'
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Okay - this is bizarre.

Login again. At prompt simply type dir

If the Muzeik folder exists then it should simply be listed.

If not, then mkdir TEST

Then do dir

Do you see the TEST folder listed ?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

I want to try a modified approach.

Login.

At prompt: sudo mkdir /mnt/TEST

then

dir /mnt

Do you see the folder TEST listed ?

If yes, then:

sudo mount -t cifs //192.168.0.13/Muzeik /mnt/TEST -o username=Joggler,password=Joggler

If there is no error message, then

dir /mnt/TEST
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

Code: Select all

login as: joggler
joggler@192.168.0.12's password:
# dir
-sh: dir: not found
# mkdir test
# dir
-sh: dir: not found
# dir/
-sh: dir/: not found
# /dir
-sh: /dir: not found
# dir/test
-sh: dir/test: not found
#

Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

castalla wrote:I want to try a modified approach.

Login.

At prompt: sudo mkdir /mnt/TEST

then

dir /mnt

Do you see the folder TEST listed ?

If yes, then:

sudo mount -t cifs //192.168.0.13/Muzeik /mnt/TEST -o username=Joggler,password=Joggler

If there is no error message, then

dir /mnt/TEST
well eeehm...

Code: Select all

login as: joggler
joggler@192.168.0.12's password:
# sudo mkdir /mnt/TEST
-sh: sudo: not found
# dir /mnt
-sh: dir: not found
#

Could there be something wrong with PuTTY?? I guess not but who knows??
Last edited by Error on Wed Sep 25, 2013 1:46 pm, edited 1 time in total.
Post Reply