Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-21 Thread Viragored


Viragored wrote: 
> That sounds like a good suggestion to me. It feels like the issue is
> most likely either with Windows, or with file ownership and permissions
> on the Pi. I'll try the Windows reboot when I'm back home later in the
> day.
> Thanks!

Sadly, no change after rebooting the PC. 
[Except slightly for the worse - Windows Explorer is no longer showing
the Pis as present on the network, although they did appear correctly
when I put their IP addresses into the search bar. But, after that
limited success Windows Explorer is now crashing or hanging up whenever
I try to view the network! Time for another PC reboot...]



Digital: Raspberry Pi 3B; piCorePlayer 8 + LMS 8; HifiBerry DAC+DSP >
Yamaha RX-V2700 > Jamo speakers
Analogue: HifiBerry DAC+DSP > Speakercraft MZC-66 > whole house 
Library: External USB drive
Android: Squeezer app

Viragored's Profile: http://forums.slimdevices.com/member.php?userid=32954
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-21 Thread Viragored


jophill wrote: 
> This is a long shot but have you tried re-booting Windows 10 after
> setting (or changing) the LMS/Samba password but before trying to access
> the share?  
> 
> ...is there some authentication token involved that has to be cleared
> from a W10 cache before you can successfully use new credentials (even
> the same ones for a share created at a different time)?

That sounds like a good suggestion to me. It feels like the issue is
most likely either with Windows, or with file ownership and permissions
on the Pi. I'll try the Windows reboot when I'm back home later in the
day.
Thanks!



Digital: Raspberry Pi 3B; piCorePlayer 8 + LMS 8; HifiBerry DAC+DSP >
Yamaha RX-V2700 > Jamo speakers
Analogue: HifiBerry DAC+DSP > Speakercraft MZC-66 > whole house 
Library: External USB drive
Android: Squeezer app

Viragored's Profile: http://forums.slimdevices.com/member.php?userid=32954
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-21 Thread jophill


Viragored wrote: 
> I've got the same problem. I've just rebuilt my Pi 3B with LMS and
> external powered hard drive mounted at /mnt/LMSfiles. All done over the
> pCP GUI from my Windows 10 PC. 
> I've set up Samba shares for the music files and the LMS server data,
> exactly matching what I had before the previous SD card in the Pi died
> from a power blip. But...
> 
> Windows Explorer is saying "Connection refused" when I enter the Id (tc)
> and password that I used on the Samba setup page. And trying to map the
> share as a network drive gets the same error. I've been round and round
> the same loop numerous times, resetting the Samba password, using a
> plain text source to copy/paste the password to ensure no typing errors
> creep in, so I need to find what the actual problem is - it's not simply
> id and password. Permissions somewhere, maybe, or Samba version changes?
> ...This is a long shot but have you tried re-booting Windows 10 after
setting (or changing) the LMS/Samba password but before trying to access
the share?  

I have an LMS/Samba share accessible from W10.  The original set-up was
straightforward.   

However, I have just tried changing the LMS/Samba password via the pCP
GUI and then accessing the share from Windows 10.  It finally worked as
expected with one quirk.  W10 retained access to the share after the
password has changed on LMS, without needing new credentials.  But,
after a W10 re-boot, entering the new credentials worked just as
expected.

I don't know Samba under the hood and might fall flat on my face with
this thought.  However, is there some authentication token involved that
has to be cleared from a W10 cache before you can successfully use new
credentials (even the same ones for a share created at a different
time)?



jophill's Profile: http://forums.slimdevices.com/member.php?userid=71321
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-20 Thread Viragored


Paul Webster wrote: 
> Anything in the samba logs?
> I have not checked to see where they are in pCP but try  /var/log or
> /var/logs

New territory for me! A file at /var/log/smbd.log has this in it:

[2022/11/21 17:49:35.684068,  0]
../../lib/util/become_daemon.c:135(daemon_ready)
daemon_ready: daemon 'smbd' finished starting up and ready to serve
connections
[2022/11/21 17:49:35.696735,  0]
../../source3/lib/util_sock.c:334(open_socket_in)
open_socket_in(): socket() call failed: Address family not supported
by protocol
[2022/11/21 17:49:35.697106,  0]
../../source3/smbd/server.c:1074(smbd_open_one_socket)
smbd_open_one_socket: open_socket_in: Address family not supported by
protocol
[2022/11/21 17:49:35.700305,  0]
../../source3/lib/util_sock.c:334(open_socket_in)
open_socket_in(): socket() call failed: Address family not supported
by protocol
[2022/11/21 17:49:35.700585,  0]
../../source3/smbd/server.c:1074(smbd_open_one_socket)
smbd_open_one_socket: open_socket_in: Address family not supported by
protocol

At that time, I think (but am not sure) I re-started the Pi after having
the SD card out to make a backup. If that's right these messages come
from Samba starting and not from incoming network requests.



Digital: Raspberry Pi 3B; piCorePlayer 8 + LMS 8; HifiBerry DAC+DSP >
Yamaha RX-V2700 > Jamo speakers
Analogue: HifiBerry DAC+DSP > Speakercraft MZC-66 > whole house 
Library: External USB drive
Android: Squeezer app

Viragored's Profile: http://forums.slimdevices.com/member.php?userid=32954
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-20 Thread Paul Webster


Anything in the samba logs?
I have not checked to see where they are in pCP but try  /var/log or
/var/logs



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-20 Thread Viragored


Paul Webster wrote: 
> Are the 3 working RPi systems all running pCP as well?

No, none of them do - one's a Pi 4 mostly running Kodi for playing
videos, another Pi 4 runs as a general hack in the workshop, a Pi 3B
acts as a network file server with some other tasks. But they do all
have Samba shares on them, and access Samba shares on the Windows 10 PC
as well as each other.



Digital: Raspberry Pi 3B; piCorePlayer 8 + LMS 8; HifiBerry DAC+DSP >
Yamaha RX-V2700 > Jamo speakers
Analogue: HifiBerry DAC+DSP > Speakercraft MZC-66 > whole house 
Library: External USB drive
Android: Squeezer app

Viragored's Profile: http://forums.slimdevices.com/member.php?userid=32954
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-20 Thread Paul Webster


Are the 3 working RPi systems all running pCP as well?



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-11-20 Thread Viragored


I've got the same problem. I've just rebuilt my Pi 3B with LMS and
external powered hard drive mounted at /mnt/LMSfiles. All done over the
pCP GUI from my Windows 10 PC. 
I've set up Samba shares for the music files and the LMS server data,
exactly matching what I had before the previous SD card in the Pi died
from a power blip. But...

Windows Explorer is saying "Connection refused" when I enter the Id (tc)
and password that I used on the Samba setup page. And trying to map the
share as a network drive gets the same error. I've been round and round
the same loop numerous times, resetting the Samba password, using a
plain text source to copy/paste the password to ensure no typing errors
creep in, so I need to find what the actual problem is - it's not simply
id and password. Permissions somewhere, maybe, or Samba version
changes?

At the moment I've got four Pis running on my home network, Samba works
properly on the other three, and the workgroup name is correct.
(Filezilla can access all the files successfully via sftp.)

In case it's useful, the file permissions for
/usr/local/etc/samba/smb.conf are -rw-r--r-- (644), it's owned by root,
and the contents are: 
[global]
netbios name = JukeBox
workgroup = MSHOME
log file = /var/log/%m.log
max log size = 1000
local master = no
security = user
map to guest = bad user
dns proxy = no
load printers = no
[LMSfiles]
path = /mnt/LMSfiles
create mask = 0777
browseable = yes
writeable = yes
[LMScache]
path = /mnt/part3/slimserver
create mask = 0777
browseable = yes
writeable = yes



Digital: Raspberry Pi 3B; piCorePlayer 8 + LMS 8; HifiBerry DAC+DSP >
Yamaha RX-V2700 > Jamo speakers
Analogue: HifiBerry DAC+DSP > Speakercraft MZC-66 > whole house 
Library: External USB drive
Android: Squeezer app

Viragored's Profile: http://forums.slimdevices.com/member.php?userid=32954
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-17 Thread paul-


Yes, the webui resets the password.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate' (https://picoreplayer.org/index.html#donate) if you like
the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-17 Thread jfo


paul- wrote: 
> Not sure what you are asking, you can set the password directly from the
> web interface.

When mapping a network drive on Win10, credentials were required and I
have successfully used the Samba user and password entered in the webUI.
On a different PC with a new installation, the credentials were not
accepted and I suspected I was using the wrong password. I had set up
this server awhile ago but had not installed it yet, so may have assumed
the wrong password. I wanted to rule out an incorrect password but could
not find a way to confirm or reset. So, my question is...can you just
overwrite/reset the Samba password by re-entering/saving in the web UI?

Thanks Paul



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-16 Thread paul-


Not sure what you are asking, you can set the password directly from the
web interface.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate' (https://picoreplayer.org/index.html#donate) if you like
the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-14 Thread jfo


d6jg wrote: 
> There was a Windows update a while ago that required you to enter the
> username including the workgroup name like this
> 
> WORKGROUP\user
> 
> Check what you have set the Samba workgroup to be

I haven't seen a requirement to include the workgroup name in Win 10
with latest updates, when asked for network credentials.just the
user and password. Have you seen this on Win 11? The server I'm still
having trouble with is on a friends Win 11 machine. The samba workgroup
is WORKGROUP, matching the PC.  

Can anyone from the pCP team tell me if the Samba password can be reset
by removing Samba from pCP and re-adding along with a new password?



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-14 Thread d6jg


There was a Windows update a while ago that required you to enter the
username including the workgroup name like this

WORKGROUP\user

Check what you have set the Samba workgroup to be



Jim
https://jukeradio.double6.net


VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* Joggler & Pi4/Khadas  -> Onkyo TXNR686 -> Celestion F20s

*Office* Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s 
*Dining Room* SB Radio
*Bedroom (Bedside)* Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV) & Bathroom* SB Touch ->Denon AVR ->Mordaunt Short M10s +
Kef ceiling speakers
*Guest Room* Joggler > Topping Amp -> Wharfedale Modus Cubes

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-12 Thread jfo


strebor56 wrote: 
> Did you follow this: https://docs.picoreplayer.org/how-to/add_usb_hdd/
> 
> Bonne chance...S

Yes, I carefully followed the setup instructions. I have done four
servers now and have never encountered this issue.



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-12 Thread jfo


jophill wrote: 
> IIUC, Samba maintains its own credentials, independent of the host.  So,
> I think picoreplayer's standard host credentials can't be expected to
> work by default, even though Samba does seem to have been set up to know
> about a user called "tc".  
> 
> I just enter a password for user "tc" (not the same password as the
> host) on the Samba part of the LMS tab.  That works for me.

I have used the same password on other installations successfully. I'm
concerned I may have made an entry error when doing the initial setup on
this one. It appears the samba password is encrypted and can't be viewed
in. 

Perhaps one of the piCore team can jump in. Can I reset the password by
removing Samba on the LMS Setup page in piCorePlayer and then
reinstalling it with a new password?



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-12 Thread strebor56


Did you follow this: https://docs.picoreplayer.org/how-to/add_usb_hdd/

Bonne chance...S



strebor56's Profile: http://forums.slimdevices.com/member.php?userid=65828
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-12 Thread jophill


jfo wrote: 
> I'm setting up a piCorePlayer server with LMS for a friend. After some
> initial problems, his Windows 11 PC has discovered the pi on his network
> but I can't get past the Network Credentials sign in when trying to map
> it as a network drive. I assume I should use tc as user name and piCore,
> the password I entered in the LMS-Samba setup section in picoreplayer?
> It won't accept these. Can I just re-enter and re-save the password in
> the Samba setup or is another method needed to check or change the Samba
> password? ... IIUC, Samba maintains its own credentials, independent of the 
> host.  So,
I think picoreplayer's standard host credentials can't be expected to
work by default, even though Samba does seem to have been set up to know
about a user called "tc".  

I just enter a password for user "tc" (not the same password as the
host) on the Samba part of the LMS tab.  That works for me.



jophill's Profile: http://forums.slimdevices.com/member.php?userid=71321
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] PiCorePlayer Samba Password-Mapping network Drive

2022-10-11 Thread jfo


I'm setting up a piCorePlayer server with LMS for a friend. After some
initial problems, his Windows 11 PC has discovered the pi on his network
but I can't get past the Network Credentials sign in when trying to map
it as a network drive. I assume I should use tc as user name and piCore,
the password I entered in the LMS-Samba setup section in picoreplayer?
It won't accept these. Can I just re-enter and re-save the password in
the Samba setup or is another method needed to check or change the Samba
password? 
I also tried the MS account credentials but no luck. Any assistance is
appreciated.



jfo's Profile: http://forums.slimdevices.com/member.php?userid=1135
View this thread: http://forums.slimdevices.com/showthread.php?t=116917

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix