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

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

No idea on dacs - there's a dac thread on the forum somewhere - best ask there if it's compatible.
User avatar
JimbobVFR400
Posts: 264
Joined: Fri Jul 20, 2012 8:39 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by JimbobVFR400 »

Error wrote:Is there any advantage to connect the Joggler wired compared to wireless?
For me using Ethernet has a few advantages.

- Frees up a 2nd USB in the case of f you remove the WiFi card
- One of my Jogglers is also my server as well as a player, double hops by WiFi can certainly be problematic, especially as my music files are on a NAS in another room.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Never had wifi problems .. and nas is at least 20 m away from Joggler on an upstairs floor. Stone floors and walls. Guess your mileage may vary!
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

Still I haven't succeeded.
Does anyone know if you can look up the settings UPnP uses? Because that instantly does find my NAS?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Did you try the SqpOS route?

UPnP is a different system to CIFS - doubt it would help.

We need to try the normal linux mount command with the verbose option - that way we may get some error messages which point to the cause.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

no, not yet, I didn't have time for it. I will try to do that this week..
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:@error

------------------------------------------------------------------------------------------------------------

If you are prepared to test it out. We need to see if the problem is at the Seagate ....

The quickest way to test this would be to use the SqpOS on usb method. This will boot the Joggler to a version which uses a standard linux where we can test the mount command. Doing this will leave the PnP in place. Everthing runs from the usb stick.

If you want to try this: write the image to a usb stick - http://birdslikewires.co.uk/download/jo ... 109.img.gz . Extract the .img file and write to usb.

Restart the Joggler with the new usb in place - it will boot to the SqpOS - go to Settings and set up the wifi AND then Settings > Advanced > Additional Features to enable SSH login.
Sqp boots.
It asks for desired language, I choose NL. It then says "let's connect to your music etc..". OK. I get in the options menu. I there choose for Wireless, fill network SSID and wifi code and then it tries to connect with Mysqueezebox.com but it doesn't succeed.. Do I need a mysqueezebox account for it to set up right?
rest wrote: Don't bother with any other settings at this point.

Check that you can PuTTY login - joggler + joggler. Once you have terminal access, simply type:

sudo mkdir /srv/TEST

If you can confirm you have access, then we can try out a mount of the NAS again using the normal mount syntax:

sudo mount -t cifs //192.168.0.13/Muziek /srv/TEST -o user=Joggler,password=Joggler

Wait for prompt

if it doesn't work, then do

sudo mount -vvv -t cifs //192.168.0.13/Muziek /srv/TEST -o user=Joggler,password=Joggler

This should return the various steps it tries to mount - maybe there's a clue there?
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

OK, I created an account and got it working.
Now going to try the rest.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

Putty login succeeded. This is what I have so far :

Code: Select all

login as: joggler
joggler@192.168.0.12's password:
Linux joggler 3.2.36jog2 #1 SMP Fri Jan 4 13:06:06 GMT 2013 i686 GNU/Linux
Ubuntu 10.04.4 LTS

Welcome to SqueezePlay OS v1.09!
 http://birdslikewires.co.uk/sqpos

Last login: Sat Jan  1 00:27:44 2005
joggler@joggler:~$ sudo mkdir /srv/TEST
joggler@joggler:~$ sudo mount -t cifs //192.168.0.13/Muziek /srv/TEST -o user=Joggler,password=Joggler

joggler@joggler:~$
joggler@joggler:~$

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

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Do:

dir /srv/TEST

Do you see your music listed?
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

I do see music listed, but at this moment my laptop is running Squeezebox Server and playing music from my laptop.. I needed that to create an account @ mysqueezebox.com. So not sure if it's my NAS. Can you determine that??

I will quit Squeezebox Server on the laptop and see what happens...

Code: Select all

login as: joggler
joggler@192.168.0.12's password:
Linux joggler 3.2.36jog2 #1 SMP Fri Jan 4 13:06:06 GMT 2013 i686 GNU/Linux
Ubuntu 10.04.4 LTS

Welcome to SqueezePlay OS v1.09!
 http://birdslikewires.co.uk/sqpos

Last login: Sat Jan  1 00:27:44 2005
joggler@joggler:~$ sudo mkdir /srv/TEST
joggler@joggler:~$ sudo mount -t cifs //192.168.0.13/Muziek /srv/TEST -o user=Joggler,password=Joggler

joggler@joggler:~$
joggler@joggler:~$ ^C
joggler@joggler:~$ dir /srv/TEST
Adagio              Flying\ Colors                Pakarina
Alanis\ Morissette  Hammerfall                    Pianisten-cd
Alice\ Deejay       HB                            Porcupine\ Tree
Avantasia           Helmut\ Lotti                 Queen
Avenged\ Sevenfold  Herman\ Boon                  Red\ Hot\ Chili\ Peppers
Beethoven           Hongaarse\ dansen             Rhapsody
Blackmore's\ Night  Jan\ Mulder                   Roxette
Bloodgood           Jan\ Vayne                    Sinterklaas\ Liedjes
Celtic\ Woman       Jennifer                      Spirit
Delirious           K3                            Spock's\ Beard
Divers              Kings\ of\ Leon               The\ Flower\ Kings
Dragonforce         Lord\ of\ the\ dance          Top\ van\ 1998\ -\ 2002
Dream\ Theater      Marco\ Borsato                Transatlantic
Edenbridge          Matthijn\ Buwalda             Ukkie\ Liedjes
Ennio\ Morricone    Michael\ W.Smith              Within\ Temptation
Enya                Neal\ Morse                   Z-christelijk
Era                 Nightwish
Evanescence         Ok\202\ 4\ kids\ -\ diversen
joggler@joggler:~$
EDIT:
I quitted LMS on the laptop, did "dir /srv/TEST" again and the same music comes up. Don't know if that's obvious or not??
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 almost 100% certain it's working, if you see a long list of music files, folders when you do the dir.

Of course this sadly doesn't help with the PnP problem - other than it suggests the NAS and the PnP busybox mount routine are incompatible!

Also, the mount you have working is not permanent - it'll disappear when the Joggler is off/rebooted, and won't reappear unless you specifically do the mount again. What you need is an automatic mount! We can do that easily enough (although a bit technical!).

At least we seem to have shown that it works.

You have to decide what you want to do - run PnP and get a big usb stick, or run SqPos with your nas.
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

We are just testing that the mount command works in conjunction with your NAS. It does. So, you need to choose how you want to proceed!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

You can test the mount again by unmounting and remounting.

sudo umount /srv/TEST

dir /srv/TEST (should show NO files)

sudo mount -t cifs //192.168.0.13/Muziek /srv/TEST -o user=Joggler,password=Joggler

dir /srv/TEST (should show files)
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

it works just as you describe! unmounting: empty. Mounting: list.

So that's it then. The problem is with PNPIII which can't seem to find my NAS?
But I feel there must be a way to succeed with my NAS... But for the time being I will use an usb stick or SD-card..
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Okay!

At least we know that it works.

Maybe somebody will have a brainwave for the busybox problem. As far as I can recall, we've tried just about every combination withut success. I'm out of ideas on that.

Get back if you need any more help.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

Well thanks for all your effort in this!
I wouldn't have come far..
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

I'll review some of the suggestions we've made and think it over - it's bugging me that it doesn't work!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

On the PnP setup:

Try:

if it doesn't already exist, mkdir /media/TEST

then

/bin/busybox.new mount -t cifs //yourNASaddrress\Musiek /media/TEST -o user=Joggler,password=Joggler

then dir /media/TEST if there are no errors
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

No success, it all fails..

ls /media/TEST returns nothing... sadly..

edit: here's the code and my failures :D

Code: Select all

login as: joggler
joggler@192.168.0.12's password:
# mkdir /media/TEST
# /bin/busybox.new mount -t cifs //yourNASaddrress\Musiek /media/TEST -o user=Joggler,password=Joggler
mount: mounting //yourNASaddrressMusiek on /media/TEST failed
# /bin/busybox.new mount -t cifs //192.168.0.13\Muziek /media/TEST -o user=Joggler,password=Joggler
mount: mounting //192.168.0.13Muziek on /media/TEST failed
# /bin/busybox.new mount -t cifs //192.168.0.13/Muziek /media/TEST -o user=Joggler,password=Joggler
mount: mounting //192.168.0.13/Muziek on /media/TEST failed: Invalid argument
# /bin/busybox.new mount -t cifs //192.168.0.13\Muziek /media/TEST -o user=Joggler,password=Joggler
mount: mounting //192.168.0.13Muziek on /media/TEST failed
# ls /media/TEST
# /bin/busybox.new mount -t cifs //192.168.0.13\Music /media/TEST -o user=Joggler,password=Joggler
mount: mounting //192.168.0.13Music on /media/TEST failed
# /bin/busybox.new mount -t cifs //192.168.0.13/Music /media/TEST -o user=Joggler,password=Joggler
mount: mounting //192.168.0.13/Music on /media/TEST failed: Invalid argument
# /bin/busybox.new mount -t cifs //192.168.0.13\Public\Music /media/TEST -o user=Joggler,password=Joggler
mount: mounting //192.168.0.13PublicMusic on /media/TEST failed
#
Post Reply