Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

PC Based Computer music servers, crossovers, and equalization

Moode Audio Player for Raspberry Pi
Moode Audio Player for Raspberry Pi
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 9th April 2015, 12:23 AM   #21
Skip Pack is offline Skip Pack  United States
diyAudio Member
 
Join Date: Feb 2004
Location: Northern California
Quote:
Originally Posted by tppc View Post
Hi,

What were the defaults?
All of the defaults (in the Sources>add NAS interface) were:

Name = Synology (Actually named Sy112aud)

Protocol = NFS (correct)

IP address (I think) autocompleted correctly

Remote file offered four choices, one correct, all close having different parts of the full path, and some caps.

No entries in the NAS login and password, which I entered well before they showed up in the WLAN section, certainly before I saw them there.

These are a bit of a guess since this all happened last night and much has happened since.

Skip
  Reply With Quote
Old 9th April 2015, 01:13 AM   #22
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Hi,

I can load a 1.8t1 image tomorrow and see if I can find anything odd.

I did try your nfs mount settings in the 1.8t2 release that I am currently working on and the Source screen started with all blank fields (no defaults). The mount timed out since I don't have any nfs shares but nonetheless the screens completed.

The string that the Player constructed for the NFS mount is:
mount -t nfs -o nfsvers=3,ro,noatime "192.168.1.107:/volume1/public" "/mnt/NAS/Music2"

The code does not put a userid and password in the mount string like it does for a CIFS mount. Is access to NFS shares granted in a way other than by supplying userid and password in the mount string???

Log dump.

root@rp2:~# cat /var/log/php_errors.log
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107','volume1/public',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8','8048',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8','8048','809 6',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1016 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8','8048','809 6','nfsvers=3,ro,noatime',
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1014 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8','8048','809 6','nfsvers=3,ro,noatime',''
[09-Apr-2015 00:05:45 UTC] >>>>> values on line 1019 >>>>> 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8','8048','809 6','nfsvers=3,ro,noatime',''
[09-Apr-2015 00:05:45 UTC] >>>>> cfgdb_write(cfg_source,dbh,'Music2','nfs','192.168 .1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8','8048','809 6','nfsvers=3,ro,noatime','') >>>>>
INSERT INTO cfg_source VALUES (NULL, 'Music2','nfs','192.168.1.107','volume1/public','TIMUSER','TIMPASSWORD','utf8','8048','809 6','nfsvers=3,ro,noatime','')
[09-Apr-2015 00:05:45 UTC] >>>>> cfgdb_read(cfg_source,dbh,,2) >>>>>
SELECT * from cfg_source WHERE id='2'
[09-Apr-2015 00:05:45 UTC] >>>>> mount string >>>>> mount -t nfs -o nfsvers=3,ro,noatime "192.168.1.107:/volume1/public" "/mnt/NAS/Music2"
[09-Apr-2015 00:07:56 UTC]
[09-Apr-2015 00:07:56 UTC] >>>>> cfgdb_update(cfg_source,dbh,,Array) >>>>>
UPDATE cfg_source SET name='Music2', type='nfs', address='192.168.1.107', remotedir='volume1/public', username='TIMUSER', password='TIMPASSWORD', charset='utf8', rsize='8048', wsize='8096', options='nfsvers=3,ro,noatime', error='mount.nfs: Connection timed out' where id=2
root@rp2:~#


Regards,
TC
  Reply With Quote
Old 9th April 2015, 04:50 PM   #23
Skip Pack is offline Skip Pack  United States
diyAudio Member
 
Join Date: Feb 2004
Location: Northern California
Last night I got the NAS to mount, and I think the key was making sure the NAS login and password fields were blank. I think there is an interface quirk, possibly browser and system related, that repopulates those entries when you thought you had cleared them. I will reimage and attempt to clarify the situation today.

Skip
  Reply With Quote
Old 9th April 2015, 05:55 PM   #24
kolja7t is offline kolja7t  Serbia
diyAudio Member
 
Join Date: Jul 2004
Location: Belgrade
Quote:
Originally Posted by Skip Pack View Post
...I think the key was making sure the NAS login and password fields were blank...
Skip
In my moode NAS section I use Username>Guest without password...
__________________
www.kolja.biz
  Reply With Quote
Old 9th April 2015, 11:02 PM   #25
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by Skip Pack View Post
Last night I got the NAS to mount, and I think the key was making sure the NAS login and password fields were blank. I think there is an interface quirk, possibly browser and system related, that repopulates those entries when you thought you had cleared them. I will reimage and attempt to clarify the situation today.

Skip
Hi,

Userid and password are not used in the mount string for NFS but they will be stored in the Player database along with the rest of the form fields for the mount, and are displayed when editing the mount. Removing the mount deletes the entry from the Player database.

The Sources screen should probably be modified so the userid and password fields are hidden when NFS is selected from the dropdown. I'll see what I can do.

Regards,
TC
  Reply With Quote
Old 9th April 2015, 11:23 PM   #26
Skip Pack is offline Skip Pack  United States
diyAudio Member
 
Join Date: Feb 2004
Location: Northern California
Quote:
Originally Posted by tppc View Post
The Sources screen should probably be modified so the userid and password fields are hidden when NFS is selected from the dropdown. I'll see what I can do.
I started again and meticulously reimaged and followed the directions without any side steps. When I was adding the NAS, The smart defaults were still there, so I got the entries in place and deleted the login name making sure to mouse off to the side once it was deleted (not down through the suggested value box).
It mounted fine and indexed. Hiding those fields sounds like a good idea if you can be sure some NAS devices sharing via NFS won't need them.

I'm using Win32DiskImager to write the SD card. When I rewrite the image to the card, can some of the files previously present remain?

thanks,

Skip
  Reply With Quote
Old 10th April 2015, 12:22 AM   #27
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Quote:
Originally Posted by Skip Pack View Post
I started again and meticulously reimaged and followed the directions without any side steps. When I was adding the NAS, The smart defaults were still there, so I got the entries in place and deleted the login name making sure to mouse off to the side once it was deleted (not down through the suggested value box).
It mounted fine and indexed. Hiding those fields sounds like a good idea if you can be sure some NAS devices sharing via NFS won't need them.

I'm using Win32DiskImager to write the SD card. When I rewrite the image to the card, can some of the files previously present remain?

thanks,

Skip
Hi Skip,

Glad to here that the mount worked and you are up and running

Wrt your question, writing an image to the card definitely overwrites it. There is no possibility of any previous data showing up in the Player.

Earlier, I checked the 1.8t1 image and all the mount fields were blank. As part of the 1.8t2 work I'll update the Source and mount screens and associated code and will check carefully to see if there is anything that might be auto-populating the mount fields for NFS mounts.

Regards,
Tim
  Reply With Quote
Old 10th April 2015, 03:22 AM   #28
Skip Pack is offline Skip Pack  United States
diyAudio Member
 
Join Date: Feb 2004
Location: Northern California
As I mentioned before, i followed in readme instructions first setting the time zone, exiting from SSH, then using the web interface to add the NAS. The indexing took about 20 minutes. I have a large, but not monumentally large collection of music. I used the System tab reboot which took about 10 minutes, and browsing the library looked good. My next step was setting up to use my HiFiBerry Digi+. The interface seemed to work fine, but when I went to reboot, it did not reconnnect. I quit the web interface and power-cycled the RPI2 after about 1 hr. 15 min. After I power it up, it cannot be reached (ping,SSH, or web interface).

I cannot remove the SSID name and password which are persistently set to those for the NAS. I suspect this might be relevant though that's not well supported by evidence.

Thanks for sticking with this, and me.

Skip
  Reply With Quote
Old 10th April 2015, 03:45 AM   #29
TimCurtis is offline TimCurtis  United States
diyAudio Member
 
TimCurtis's Avatar
 
Join Date: Jan 2012
Location: Metro-Detroit
Hi Skip,

Very odd.

One way to trouble shoot would be to start with fresh image and then:

(1) Configure Hifi Berry Digi+ (System config) REBOOT
(2) Add a radio station to the playlist
(3) Verify that the station plays

If station plays then:

(4) Add your NFS mount
(5) Wait for MPD database update to complete
(6) Verify that NFS share shows up in Browse/NAS
(7) Add tracks to playlist from Browse/NAS
--OR--
(8) Press Library tab and wait for Library to be populated
(9) Add tracks from Library

Regards,
Tim

Last edited by TimCurtis; 10th April 2015 at 03:47 AM.
  Reply With Quote
Old 10th April 2015, 09:36 PM   #30
JLOP is offline JLOP  France
diyAudio Member
 
Join Date: Sep 2011
Location: Luxembourg
Very professionnel Tim, congrats ! Could you wrap somewhere the benefits compared to Runeaudio UI, and things that have been lost, if any, as well as the global configuration ?

BR
  Reply With Quote

Reply


Moode Audio Player for Raspberry PiHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My DAC for the Raspberry Pi usul27 Digital Line Level 156 29th April 2017 11:10 PM
DSP for the Raspberry Pi usul27 Digital Line Level 39 30th August 2016 07:29 AM
Raspberry Pi + CirrusLogic Audio Card = FAIL solderhead PC Based 31 26th January 2016 06:48 PM
RaspyFi/Volumio - Turn raspberry Pi into Audiophile audio Player mikelangeloz PC Based 295 14th June 2014 05:32 PM
miniAMP and raspberry pi kp93300 miniDSP 0 3rd March 2014 03:38 AM


New To Site? Need Help?

All times are GMT. The time now is 08:51 PM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 14.29%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio
Wiki