Page 12 of 15

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sun Oct 13, 2013 9:01 pm
by castalla
No idea on dacs - there's a dac thread on the forum somewhere - best ask there if it's compatible.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sun Oct 13, 2013 9:53 pm
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.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sun Oct 13, 2013 10:17 pm
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!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Mon Oct 21, 2013 8:26 pm
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?

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Mon Oct 21, 2013 8:36 pm
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.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Wed Oct 23, 2013 8:34 am
by Error
no, not yet, I didn't have time for it. I will try to do that this week..

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 7:29 pm
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?

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 7:42 pm
by Error
OK, I created an account and got it working.
Now going to try the rest.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 7:47 pm
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:~$


Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 7:54 pm
by castalla
Do:

dir /srv/TEST

Do you see your music listed?

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 7:59 pm
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??

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 8:09 pm
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.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 8:14 pm
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!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 8:28 pm
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)

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 8:39 pm
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..

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 8:44 pm
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.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 9:59 pm
by Error
Well thanks for all your effort in this!
I wouldn't have come far..

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 24, 2013 10:15 pm
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!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 25, 2013 3:00 pm
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

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 25, 2013 5:26 pm
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
#