PNPIII - trying to get NAS mounted for LMS - SUCCESS!!
Re: PNPIII - trying to get NAS mounted for LMS
It's also dependent on the shared device - I can get mounting if I use username-guest,password=
We're struggling here - so chip in if you have any insights!
We're struggling here - so chip in if you have any insights!
Re: PNPIII - trying to get NAS mounted for LMS
No, when I click the Win7 start button and I type "\\" then I see 192.168.0.13. That's all.castalla wrote:When you open with Start \\ and the explorer window opens - do you only see the Muziek folder ?
I re-setup my NAS, disabled public access (so you have to login).
I noticed the volume is called 'DATA'.
I also noticed the datatype=called 'span'??
I think this might just be the problem?? this has also to do with ntfs right? which the joggler can't read
Re: PNPIII - trying to get NAS mounted for LMS
Okay - in Win \\192.168.0.13 plus return - does the command open an explorer windows showing a DATA folder ? If, so double click on that - what's in it?
Try
/bin/busybox.new mount -v -t cifs //192.168.0.13/Muziek /media/media/media-share1 -o user=Joggler,password=Joggler,_netdev,noperm
... as a test to get some output
Try
/bin/busybox.new mount -v -t cifs //192.168.0.13/Muziek /media/media/media-share1 -o user=Joggler,password=Joggler,_netdev,noperm
... as a test to get some output
Last edited by castalla on Mon Sep 30, 2013 7:58 pm, edited 2 times in total.
Re: PNPIII - trying to get NAS mounted for LMS
Here's the intructions for setting up NFS - just change to NFS to CIFS to set ensure that CIFS is set up
We need to be sure CIFS is enabled.
It also seems that the Joggler has to be authorised (point 3). This probably means the Joggler has to have a fixed IP address (?) - unless there's an option for any other PCs. Let's see what happens if you use the 0.12 address which you mentioned earlier.
1. Access the management page of the BlackArmor.
Get the IP address from the LCD of your BlackArmor.
Open a web browser and enter the IP.
2. Ensure the share you want to access is setup for NFS.
Go to the Network section and then to Shares.
If NFS is enabled for a particular share, there will be a green checkmark on it.
If it is not, check on the modify and make sure to check the NFS box.
3. Setup the NFS Service
Go to the Network section and then to Services.
Under NFS Service, ensure that it is set to Enable.
Make sure to enter the IP Addresses of your Linux computers.
When adding them, do it one at a time, clicking Add each time.
Click Submit once you are finished.
We need to be sure CIFS is enabled.
It also seems that the Joggler has to be authorised (point 3). This probably means the Joggler has to have a fixed IP address (?) - unless there's an option for any other PCs. Let's see what happens if you use the 0.12 address which you mentioned earlier.
1. Access the management page of the BlackArmor.
Get the IP address from the LCD of your BlackArmor.
Open a web browser and enter the IP.
2. Ensure the share you want to access is setup for NFS.
Go to the Network section and then to Shares.
If NFS is enabled for a particular share, there will be a green checkmark on it.
If it is not, check on the modify and make sure to check the NFS box.
3. Setup the NFS Service
Go to the Network section and then to Services.
Under NFS Service, ensure that it is set to Enable.
Make sure to enter the IP Addresses of your Linux computers.
When adding them, do it one at a time, clicking Add each time.
Click Submit once you are finished.
Re: PNPIII - trying to get NAS mounted for LMS
No it returns an exploer window with folders Music, DVDs, Photos and Uploads, these are the four folders I created on the NAS.castalla wrote:Okay - in Win \\192.168.0.13 plus return - does the command open an explorer windows showing a DATA folder ? If, so double click on that - what's in it?
I reset the NAS so a user has to login. When I fill in the IP-address, Share, User and passw the weel keeps turning (as it does each time)
So I'm almost certain it has something to do with LMS not getting access to the files. It's a pity I can't see why that is..
I'm looking into the "security" tab of the shared folder now.
Re: PNPIII - trying to get NAS mounted for LMS
NFS was already enabled and I already added the IP-address of LMS.castalla wrote:Here's the intructions for setting up NFS - just change to NFS to CIFS to set ensure that CIFS is set up
We need to be sure CIFS is enabled.
It also seems that the Joggler has to be authorised (point 3). This probably means the Joggler has to have a fixed IP address (?) - unless there's an option for any other PCs. Let's see what happens if you use the 0.12 address which you mentioned earlier.
1. Access the management page of the BlackArmor.
Get the IP address from the LCD of your BlackArmor.
Open a web browser and enter the IP.
2. Ensure the share you want to access is setup for NFS.
Go to the Network section and then to Shares.
If NFS is enabled for a particular share, there will be a green checkmark on it.
If it is not, check on the modify and make sure to check the NFS box.
3. Setup the NFS Service
Go to the Network section and then to Services.
Under NFS Service, ensure that it is set to Enable.
Make sure to enter the IP Addresses of your Linux computers.
When adding them, do it one at a time, clicking Add each time.
Click Submit once you are finished.
Re: PNPIII - trying to get NAS mounted for LMS
No - check that CIFS is enabled NOT NFS
Re: PNPIII - trying to get NAS mounted for LMS
You say Music folder - not Muziek ??? Which is it?
Please try:
/bin/busybox.new mount -v -t cifs //192.168.0.13/Muziek /media/media/media-share1 -o user=Joggler,password=Joggler,_netdev,noperm 0 0
Please try:
/bin/busybox.new mount -v -t cifs //192.168.0.13/Muziek /media/media/media-share1 -o user=Joggler,password=Joggler,_netdev,noperm 0 0
Re: PNPIII - trying to get NAS mounted for LMS
LMS will never see the NAS until it gets a successful mount
We have to try the PuTTy route to see what is happening.
We have to try the PuTTy route to see what is happening.
Re: PNPIII - trying to get NAS mounted for LMS
yes it is "Muziek"
sorry

Code: Select all
# /bin/busybox.new mount -v -t cifs //192.168.0.13/Muziek /media/media/media-share1 -o user=Joggler,password=Joggler,_netdev,noperm 0 0
BusyBox v1.16.1 (2010-04-30 10:35:46 BST) multi-call binary.
Usage: mount [OPTIONS] [-o OPTS] DEVICE NODE
Mount a filesystem. Filesystem autodetection requires /proc.
Options:
-a Mount all filesystems in fstab
-f Dry run
-r Read-only mount
-w Read-write mount (default)
-t FSTYPE Filesystem type
-O OPT Mount only filesystems with option OPT (-a only)
-o OPT:
loop Ignored (loop devices are autodetected)
[a]sync Writes are [a]synchronous
[no]atime Disable/enable updates to inode access times
[no]diratime Disable/enable atime updates to directories
[no]relatime Disable/enable atime updates relative to modification time
[no]dev (Dis)allow use of special device files
[no]exec (Dis)allow use of executable files
[no]suid (Dis)allow set-user-id-root programs
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
bind Bind a file or directory to another location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing flags
ro/rw Same as -r/-w
There are filesystem-specific -o flags.
#
Re: PNPIII - trying to get NAS mounted for LMS
Hm sorry. But they're both enabled. (CIFS, NFS and FTP in fact)castalla wrote:No - check that CIFS is enabled NOT NFS
Re: PNPIII - trying to get NAS mounted for LMS
edited
Last edited by castalla on Thu Oct 03, 2013 11:37 pm, edited 1 time in total.
Re: PNPIII - trying to get NAS mounted for LMS
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. Then you type command below to see the listing:
ls /media/media/media-share1
NOW, this is just a test to see if we can actually mount the share. We need to figure out how to get the mounting to work whenever you switch on the Joggler.
I need to think about that.
@offbeatdave
Any ideas on how to get this command (assuming it works for Error) to autorun
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. Then you type command below to see the listing:
ls /media/media/media-share1
NOW, this is just a test to see if we can actually mount the share. We need to figure out how to get the mounting to work whenever you switch on the Joggler.
I need to think about that.
@offbeatdave
Any ideas on how to get this command (assuming it works for Error) to autorun
- offbeatdave
- Posts: 1047
- Joined: Wed Mar 09, 2011 10:43 pm
Re: PNPIII - trying to get NAS mounted for LMS
Wow. Hope this works! I'll find the script to mount it on boot when it's confirmed!
"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!
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!
Re: PNPIII - trying to get NAS mounted for LMS
It doesn't work as a usual mount in fstab.
Could it be addedd to the rc.init scripts?
Could it be addedd to the rc.init scripts?
- offbeatdave
- Posts: 1047
- Joined: Wed Mar 09, 2011 10:43 pm
Re: PNPIII - trying to get NAS mounted for LMS
Will have a probe either later or tomorrow evening.
"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!
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!
Re: PNPIII - trying to get NAS mounted for LMS
Created a rc.local file including the command - didn't work either.
- offbeatdave
- Posts: 1047
- Joined: Wed Mar 09, 2011 10:43 pm
Re: PNPIII - trying to get NAS mounted for LMS
By my reckoning it should go in the /etc/init.d/boot.d/S57boot.cifs file on a PnP III Joggler. My first line of this file is
The mount line goes in afterwards.
Code: Select all
insmod /lib/modules/2.6.24-19-lpia/kernel/fs/cifs.ko CIFSMaxBufSize=130048
"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!
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!
Re: PNPIII - trying to get NAS mounted for LMS
Cheers.
I'll try it tomorrow ... and report back
I'll try it tomorrow ... and report back
- offbeatdave
- Posts: 1047
- Joined: Wed Mar 09, 2011 10:43 pm
Re: PNPIII - trying to get NAS mounted for LMS
Code: Select all
mount -t cifs Muziektest /media/media/media-share1 -o user=Joggler,password=Joggler,unc=//192.168.0.13/Muziek
If this proves to be more compatible then I can change the script in the PnP share mounting option. What's the significance of the Muziektest?
Edit - it works when popped in the file noted above, so if it works for this situation I may alter PnP build to work this way instead. I'll also try and update first post and guide if necessary.
Last edited by offbeatdave on Fri Oct 04, 2013 7:46 am, edited 1 time in total.
"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!
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!