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 »

I read somewhere that there has to be a 'dummy' location - it could be called anything. Very strange syntax!
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Yep - can confirm the mount works in that boot file!

May be the way to go!
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: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

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

Re: PNPIII - trying to get NAS mounted for LMS

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

Re: PNPIII - trying to get NAS mounted for LMS

Post 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
User avatar
offbeatdave
Posts: 1047
Joined: Wed Mar 09, 2011 10:43 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by offbeatdave »

Arrggghhhh! :D
"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: PNPIII - trying to get NAS mounted for LMS

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

Re: PNPIII - trying to get NAS mounted for LMS

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

Re: PNPIII - trying to get NAS mounted for LMS

Post 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
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
Last edited by Error on Fri Oct 04, 2013 11:52 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 »

Did you do

ls /media/media/media-share1
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post by Error »

yes did do that and it returned the prompt. So no read files I suppose?
castalla
Posts: 860
Joined: Wed May 29, 2013 10:33 am

Re: PNPIII - trying to get NAS mounted for LMS

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

Re: PNPIII - trying to get NAS mounted for LMS

Post by castalla »

Okay ...

Let's try again tomorrow .

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

Re: PNPIII - trying to get NAS mounted for LMS

Post 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
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 have to reflash from the beginning again because it hangs at the O2 logo.......
What's wrong with this thing!
User avatar
pete
Posts: 2961
Joined: Mon Aug 01, 2011 6:33 am
Location: Time Traveler

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
- Pete
O2 Jogglers running EFI Ubuntu / Squeezeplayer
OpenPeak Voip Telephony / Zigbee tabletops hardware modded with Seabios / RTC / Ethernet ROM edits / SSD drives running XPe for automation screens

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

Re: PNPIII - trying to get NAS mounted for LMS

Post 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?
Last edited by castalla on Tue Oct 08, 2013 4:22 pm, edited 2 times in total.
Error
Posts: 243
Joined: Wed Sep 18, 2013 2:13 pm

Re: PNPIII - trying to get NAS mounted for LMS

Post 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.
Post Reply