Page 10 of 15

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Thu Oct 03, 2013 9:50 pm
by castalla
I read somewhere that there has to be a 'dummy' location - it could be called anything. Very strange syntax!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 12:56 pm
by castalla
Yep - can confirm the mount works in that boot file!

May be the way to go!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 10:51 pm
by Error
castalla wrote:SUCCESS!!!!!

Ignore all above!!!!

Here's the command you need to mount the fileshares .....

mount -t cifs Muziektest /media/media/media-share1 -o user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek

This should just return the command prompt. No errors or confirmation.
Hmmm, it doesn't return an error or confirmation but neither my command promt:
When i <ENTER> the code the cursor moves 1 line down but nothing else happens. I can type whatever I want but nothing happens.

Code: Select all

login as: joggler
joggler@192.168.0.12's password:
# mount -t cifs Muziektest /media/media/media-share1 -o user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek
ls


ks
ls


Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 10:55 pm
by castalla
Oh buggeration!

Type cntrl-c - or try exit

Try

mount -t cifs Muziektest /media/media/media-share1 -o user=Joggler,password=Joggler,unc=//192.168.0.13/Public

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:01 pm
by castalla
Make sure the command is all on one line -

Code: Select all

mount -t cifs Muziektest /media/media/media-share1 -o user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek
Also, give it a minute or so to complete - depends on how many files you have on the NAS

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:15 pm
by offbeatdave
Arrggghhhh! :D

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:25 pm
by Error
castalla wrote:Make sure the command is all on one line -

Code: Select all

mount -t cifs Muziektest /media/media/media-share1 -o user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek
Also, give it a minute or so to complete - depends on how many files you have on the NAS
yeah i noticed something indeed, after a while i did see the command promt again??? So it might just have succeeded?? Because of the extra caracters I exited putty, enter it again and do the first mount command again. I now lack the command prompt, just like earlier.

There are 218 folders with 3830 Music files. How long should that normally take?

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:34 pm
by castalla
I've got only 1000 tracks on my share - the command returns the prompt almost immediately.

However, I also note that I have to use the top of the share tree to get access -

So, 192.168.1.1/share works but 192.168.1.1/share/usb1_1 (which actually contains the files) doesn't

The only way we can test the Seagate nas is to install the Squeezeplay OS (on a usb stick), then we'll get a 'standard' linux where we can use the mount command (without all this Busybox stuff!).

I suppose we could try the command using

/bin/busybox.new mount .....

I hate to be defeated on this!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:35 pm
by castalla
It could just be a slow read!

Please do

ls /media/media/media-share1

Anything listed?

If nothing, reboot the Joggler - enter the command again - let it run until you see the prompt.

Then do the ls

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:41 pm
by Error
yes I'm trying that, letting it rest until I see the command prompt again. So far without luck.

Code: Select all

login as: joggler
joggler@192.168.0.12's password:
# Muziek
-sh: Muziek: not found
# mount -t cifs Muziektest /media/media/media-share1 -o user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek
Hm bad luck. no # yet..
I have to go to bed.. it's one o'clock now here :x tomorrow my kids..... you know... :)
Thanks for all the help to this point! I really appreciate it.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:43 pm
by castalla
Did you do

ls /media/media/media-share1

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:53 pm
by Error
yes did do that and it returned the prompt. So no read files I suppose?

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Fri Oct 04, 2013 11:57 pm
by castalla
So, just to be clear - you did the mount - you got the command prompt back after a while, without any error message? Then the ls returns nothing?

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sat Oct 05, 2013 12:09 am
by castalla
Okay ...

Let's try again tomorrow .

No problem.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sat Oct 05, 2013 12:21 am
by castalla
Let's try this;

Reboot
login
DO

mkdir TEST

mount -t cifs Muziektest /TEST -o noperm,user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek

Wait for command prompt

ls TEST

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sat Oct 05, 2013 11:53 am
by Error
Well I have to reflash from the beginning again because it hangs at the O2 logo.......
What's wrong with this thing!

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sat Oct 05, 2013 12:44 pm
by pete
Nah I don't think there is anything wrong. The O2 Joggler is very resilent. Literally was developed and designed not to break.

The boot flash 1 Mb chip is replacable. The constant RW's though on the 1Gb flash could cause issues.

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sat Oct 05, 2013 12:56 pm
by Error
castalla wrote:Let's try this;

Reboot
login
DO

mkdir TEST

mount -t cifs Muziektest /TEST -o noperm,user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek

Wait for command prompt

ls TEST
still waiting but is doesn't return my command prompt?

Re: PNPIII - trying to get NAS mounted for LMS

Posted: Sat Oct 05, 2013 2:57 pm
by castalla
@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.

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: Mon Oct 07, 2013 7:08 pm
by Error
I noticed the following on the server:

Workgroup

Mode: [x] Workgroup [] Domain Member

Workgroup Name: WORKGROUP

Does that have anything to do with the Joggler not getting access?
Will try the sqpOS-on-a-stick-solution as soon as i have time to do that.
I will get back.