Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-28 Thread sheeple


Jeff07971 wrote: 
> Actually wsdd works fine on pCP you just need to install python3
> 
> > 
Code:

  >   > tc@pCP:~$ python3 wsdd.py -n ThisIsMypCP &

> > 
> 
> 37374
> 
> could easily be put into a script !
> 
> Jeff

How can I add python3?



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-28 Thread sheeple


slartibartfast wrote: 
> I added SMB1 support from Windows features  and still no luck.
> 
> Sent from my Pixel 3a using Tapatalk
Can you see it when you change the registry key as it is suggested in
this thread?
https://forums.raspberrypi.com/viewtopic.php?t=200482



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-28 Thread sheeple


Redrum wrote: 
> 
> The discussion is around "mapping a drive" which is different from
> creating a network location, basically assigning a drive letter
> (right?). I did not know you could do for a network location (but would
> be beneficial for me). Do you have to have the network location
> established first? 
> 
> Jim

Hey Jim,
yes, the network location must first be established before you can
assign the share a drive letter. I had done this before, with my first
approaches. With SMB1 reenabled in Win10, the machine was able to
identify the \\SERVER\share path, with registry key changed it could
connect. Then, I was able to map a drive letter to it. But as noted
previous, even after this procedure the limited storage capacity had
occured. I must have switched a lever somewhere some time throughout
this torture. For now I am hesitant to adjust the gears, because I have
what I wanted, albeit with a somewhat insecure arrangement. In April I
will change something in the Pi, will upgrade the temporary transport,
and then I might dare to mess things up again.

Regards



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-28 Thread sheeple

I am mostly sure that we yesterday entered the IP address too. Without
the changed registry key it didn’t work. But I might be wrong. Anyway, I
do not dare to touch the config atm, because it finally kind of does
what it should and I do not want to loose it.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


Another twist: I disabled SMB1 protocol AFTER I already had the network
location mounted to a drive letter. Computer restarted and I checked:

Code:

Get-SmbServerConfiguration | select EnableSMB1Protocol,EnableSMB2Protocol
  
  EnableSMB1Protocol EnableSMB2Protocol
  -- --
  False   True
  


But the drive is still working. What I did not reverse is the registry
change for insecure guest authentification. So it this might all be
about the users accepted. I think something between pCP and Windows is
odd here and could be changed.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


I can only map it as a drive when I can connect to the share, right? So
I did this before via "add network location" and entered the path of the
share \\server\share which is in my case \\MUSIC\music, but windows
could not find the server.

I have enabled SMB1 support again, could not see the share. Then, as per
the "solution" in the trouble shooting I already linked to before
https://forums.raspberrypi.com/viewtopic.php?t=200482, I changed the
registry value for 
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters\AllowInsecureGuestAuth
and set it to 1 to enable insecure Guest auth, as I had done before. The
network location again appeared in the explorer. This was the case with
the 64 GB USB drive. I mapped it to a drive letter and it was even
showing capacity!

I do not know why capacity was suddenly shown, I had fiddled before with
some PowerShell commands. I had first entered some lookup command:
Get-SmbServerConfiguration | select
EnableSMB1Protocol,EnableSMB2Protocol
SMB1 naturally was disabled, SMB2 (which is also 3) enabled, as per
Win10 default. I was actually looking if I could update or reinstall the
protocols, but ended up entering the command to enable SMB1 again via
PowerShell: Enable-WindowsOptionalFeature -Online -FeatureName
smb1protocol.
Maybe this changed something? Whatever has happened: I have now an
insecure SMB1 login, but what I get is the full space of the storage
device. Here is the thing: it also works with the HDD, it show all 931
GB when mapped to a drive letter as a network drive. This does not feel
good, I hope this backdoor will not be exploited, but the share works
somehow.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


I have mounted a 60 GB thumb drive that was lying around to the Pi4's
USB 2.0 port. I had applied a full exFAT format before with the above
mentioned formatting tool. I cannot see the network location from within
windows, where it should appear. I have also rebooted both the Pi and my
computer.

37365

Here is the setupt that I had prepared within pCP:

37366
37367

And here is some results from ssh:


Code:


  tc@pCP:~$ fdisk -l
  Disk /dev/mmcblk0: 30 GB, 32010928128 bytes, 62521344 sectors
  976896 cylinders, 4 heads, 16 sectors/track
  Units: sectors of 1 * 512 = 512 bytes
  
  Device   Boot StartCHSEndCHSStartLBA EndLBASectors  
Size Id Type
  /dev/mmcblk0p1128,0,1 127,3,16  8192 139263 131072 
64.0M  c Win95 FAT32 (LBA)
  /dev/mmcblk0p21023,3,16   1023,3,16   13926421872632048000 
1000M 83 Linux
  Disk /dev/sda: 59 GB, 63233327104 bytes, 123502592 sectors
  7687 cylinders, 255 heads, 63 sectors/track
  Units: sectors of 1 * 512 = 512 bytes
  
  Device  Boot StartCHSEndCHSStartLBA EndLBASectors  Size 
Id Type
  /dev/sda10,128,1 1023,254,63   8064  123502591  123494528 58.8G  
c Win95 FAT32 (LBA)
  
  tc@pCP:~$ df
  FilesystemSize  Used Available Use% Mounted on
  tmpfs 1.7G 15.9M  1.7G   1% /
  tmpfs   961.1M 0961.1M   0% /dev/shm
  /dev/mmcblk0p2  979.9M107.4M835.8M  11% /mnt/mmcblk0p2
  /dev/loop01.3M  1.3M 0 100% 
/tmp/tcloop/firmware-atheros
  /dev/loop1  384.0K384.0K 0 100% 
/tmp/tcloop/firmware-brcmwifi
  /dev/loop2  128.0K128.0K 0 100% /tmp/tcloop/pcp
  /dev/loop3  256.0K256.0K 0 100% 
/tmp/tcloop/pcp-8.1.0-www
  /dev/loop4  128.0K128.0K 0 100% 
/tmp/tcloop/firmware-ralinkwifi
  /dev/loop51.0M  1.0M 0 100% 
/tmp/tcloop/firmware-rtlwifi
  /dev/loop61.6M  1.6M 0 100% 
/tmp/tcloop/firmware-rpi-wifi
  /dev/loop7  128.0K128.0K 0 100% 
/tmp/tcloop/wireless_tools
  /dev/loop8   19.6M 19.6M 0 100% /tmp/tcloop/slimserver
  /dev/loop95.2M  5.2M 0 100% /tmp/tcloop/samba4
  /dev/loop10 704.0K704.0K 0 100% 
/tmp/tcloop/wpa_supplicant
  /dev/loop11 512.0K512.0K 0 100% /tmp/tcloop/ntfs-3g
  /dev/loop12  92.0K 92.0K 0 100% 
/tmp/tcloop/exfat-utils
  /dev/loop13 128.0K128.0K 0 100% /tmp/tcloop/pcp-base
  /dev/loop14   1.1M  1.1M 0 100% /tmp/tcloop/alsa-utils
  /dev/loop15  48.0K 48.0K 0 100% /tmp/tcloop/alsa
  /dev/loop16   2.0M  2.0M 0 100% /tmp/tcloop/openssh
  /dev/loop18  28.0K 28.0K 0 100% /tmp/tcloop/rng-tools
  /dev/loop17 128.0K128.0K 0 100% /tmp/tcloop/dialog
  /dev/loop19   1.4M  1.4M 0 100% /tmp/tcloop/openssl
  /dev/loop20 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-squeezelite
  /dev/loop21   2.4M  2.4M 0 100% 
/tmp/tcloop/wireless-5.10.77-pcpCore-v7l
  /dev/loop22 384.0K384.0K 0 100% /tmp/tcloop/libnl
  /dev/loop23 132.0K132.0K 0 100% /tmp/tcloop/readline
  /dev/loop24   8.8M  8.8M 0 100% /tmp/tcloop/samba4-lib
  /dev/loop25   5.5M  5.5M 0 100% 
/tmp/tcloop/slimserver-CPAN
  /dev/loop26   1.4M  1.4M 0 100% /tmp/tcloop/glib2
  /dev/loop27   3.0M  3.0M 0 100% 
/tmp/tcloop/filesystems-5.10.77-pcpCore-v7l
  /dev/loop28  32.0K 32.0K 0 100% /tmp/tcloop/fuse-exfat
  /dev/loop29 224.0K224.0K 0 100% /tmp/tcloop/ncurses
  /dev/loop30 336.0K336.0K 0 100% /tmp/tcloop/libasound
  /dev/loop31 128.0K128.0K 0 100% /tmp/tcloop/sysfsutils
  /dev/loop32 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libmpg123
  /dev/loop33 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libfaad2
  /dev/loop34 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-libsoxr
  /dev/loop35  64.0K 64.0K 0 100% /tmp/tcloop/pcp-libmad
  /dev/loop36 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libvorbis
  /dev/loop37 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-libflac
  /dev/loop38 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-libalac
  /dev/loop39 128.0K128.0K 0 100% /tmp/tcloop/regdb
  /dev/loop40 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libopus
  /dev/loop41 140.0K140.0K 0 100% 

Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple

d6jg wrote: 
> 
> We don’t know if the USB is faulty and the OP hasn’t tried a lot of the
> suggestions made eg reformatting as ntfs.

I have, ntfs does not make a difference. I also exchanged the hdd
controller to check whether it is the cause, but it does not seem to be
the hardware, at least not on the side of the Raspberry Pi. I am happy
to try more things, but also need to fit it in my daily schedule of
doing other things. I have been trouble shooting with a befriended sys
admin and we threw a bunch of commands at the pi and samba. It seems as
if on the pi side, everything is recognized.

In about 5 minutes, you will have a result for the thumb drive
suggestion.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


df -h

Code:

tc@pCP:~$ cd /
  tc@pCP:/$ df -h
  FilesystemSize  Used Available Use% Mounted on
  tmpfs 1.7G 15.5M  1.7G   1% /
  tmpfs   961.1M 0961.1M   0% /dev/shm
  /dev/mmcblk0p2  979.9M107.5M835.7M  11% /mnt/mmcblk0p2
  /dev/loop0   19.6M 19.6M 0 100% /tmp/tcloop/slimserver
  /dev/loop1  128.0K128.0K 0 100% /tmp/tcloop/pcp
  /dev/loop2  512.0K512.0K 0 100% /tmp/tcloop/ntfs-3g
  /dev/loop3  256.0K256.0K 0 100% 
/tmp/tcloop/pcp-8.1.0-www
  /dev/loop4   92.0K 92.0K 0 100% 
/tmp/tcloop/exfat-utils
  /dev/loop55.2M  5.2M 0 100% /tmp/tcloop/samba4
  /dev/loop6  128.0K128.0K 0 100% /tmp/tcloop/pcp-base
  /dev/loop7   48.0K 48.0K 0 100% /tmp/tcloop/alsa
  /dev/loop81.1M  1.1M 0 100% /tmp/tcloop/alsa-utils
  /dev/loop92.0M  2.0M 0 100% /tmp/tcloop/openssh
  /dev/loop10  28.0K 28.0K 0 100% /tmp/tcloop/rng-tools
  /dev/loop11 128.0K128.0K 0 100% /tmp/tcloop/dialog
  /dev/loop12 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-squeezelite
  /dev/loop13   5.5M  5.5M 0 100% 
/tmp/tcloop/slimserver-CPAN
  /dev/loop14   3.0M  3.0M 0 100% 
/tmp/tcloop/filesystems-5.10.77-pcpCore-v7l
  /dev/loop15   8.8M  8.8M 0 100% /tmp/tcloop/samba4-lib
  /dev/loop16  32.0K 32.0K 0 100% /tmp/tcloop/fuse-exfat
  /dev/loop17   1.4M  1.4M 0 100% /tmp/tcloop/glib2
  /dev/loop18 224.0K224.0K 0 100% /tmp/tcloop/ncurses
  /dev/loop19 336.0K336.0K 0 100% /tmp/tcloop/libasound
  /dev/loop20   1.5M  1.5M 0 100% /tmp/tcloop/openssl
  /dev/loop21 128.0K128.0K 0 100% /tmp/tcloop/sysfsutils
  /dev/loop22 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libfaad2
  /dev/loop23 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libmpg123
  /dev/loop24 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-libsoxr
  /dev/loop25  64.0K 64.0K 0 100% /tmp/tcloop/pcp-libmad
  /dev/loop26 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libopus
  /dev/loop27 256.0K256.0K 0 100% 
/tmp/tcloop/pcp-libvorbis
  /dev/loop28 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-libflac
  /dev/loop29 128.0K128.0K 0 100% 
/tmp/tcloop/pcp-libalac
  /dev/loop30 840.0K840.0K 0 100% /tmp/tcloop/gcc_libs
  /dev/loop31 176.0K176.0K 0 100% 
/tmp/tcloop/perl_io_socket_ssl
  /dev/loop32  24.0K 24.0K 0 100% 
/tmp/tcloop/perl_crypt_openssl_rsa
  /dev/loop33  17.3M 17.3M 0 100% /tmp/tcloop/perl5
  /dev/loop34  12.0K 12.0K 0 100% 
/tmp/tcloop/perl_linux_inotify2
  /dev/loop35 640.0K640.0K 0 100% 
/tmp/tcloop/raid-dm-5.10.77-pcpCore-v7l
  /dev/loop36 128.0K128.0K 0 100% 
/tmp/tcloop/cdrom-5.10.77-pcpCore-v7l
  /dev/loop37  88.0K 88.0K 0 100% /tmp/tcloop/fuse
  /dev/loop38 128.0K128.0K 0 100% /tmp/tcloop/gamin
  /dev/loop39   1.6M  1.6M 0 100% /tmp/tcloop/gnutls
  /dev/loop40 128.0K128.0K 0 100% /tmp/tcloop/libacl
  /dev/loop41 128.0K128.0K 0 100% /tmp/tcloop/libcap
  /dev/loop42  13.3M 13.3M 0 100% /tmp/tcloop/icu
  /dev/loop43 128.0K128.0K 0 100% /tmp/tcloop/jansson
  /dev/loop44  16.0K 16.0K 0 100% /tmp/tcloop/talloc
  /dev/loop45 128.0K128.0K 0 100% /tmp/tcloop/libelf
  /dev/loop46   1.1M  1.1M 0 100% 
/tmp/tcloop/alsa-modules-5.10.77-pcpCore-v7l
  /dev/loop47 452.0K452.0K 0 100% /tmp/tcloop/pcre
  /dev/loop48 136.0K136.0K 0 100% 
/tmp/tcloop/ca-certificates
  /dev/loop49 128.0K128.0K 0 100% /tmp/tcloop/pcp-libogg
  /dev/loop50 364.0K364.0K 0 100% 
/tmp/tcloop/perl_net_ssleay
  /dev/loop51 140.0K140.0K 0 100% 
/tmp/tcloop/perl_mozilla_ca
  /dev/loop52  24.0K 24.0K 0 100% 
/tmp/tcloop/perl_crypt_openssl_bignum
  /dev/loop53   8.0K  8.0K 0 100% 
/tmp/tcloop/perl_crypt_openssl_random
  /dev/loop54  12.0K 12.0K 0 100% 
/tmp/tcloop/perl_common_sense
  /dev/loop55 128.0K128.0K 0 100% /tmp/tcloop/libidn2
  /dev/loop56 

Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


Redrum wrote: 
> @ sheepie - I think you want picoreplayer on a pi, with an attached HDD
> to play your library/internet stations, correct? I think you also want
> to be able to access/maintain the HDD (connected to pi) from your PC
> (without disconnecting the HDD and plugin it in to the PC), correct? In
> the old days we used to call that "sneaker net" :)
> 
>  maintenance (obviously)>
> 
> That is why you want Samba (or an alternative) to work correctly.
> 
> What I described is exactly what I an many others have.
> 
> Jim

This was my intention from the beginning, yes.
I will check if winSCP works later.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


Redrum wrote: 
> What has gotten lost is the PC has to be on to access the files
> (maintenance, etc) either via Samba or WinSCP.
> 

This and my workstation is running MusicBee as a player, which needs
access to the files too.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple

d6jg wrote: 
> Here’s a thought.
> 
> Is Samba actually looking at the USB disk or is it mis configured and
> actually using the remainder of your SD card? That would explain the
> 1.66gb capacity.
> 
> Please post your pCP settings for both the USB and Samba.

Which commands should I run? The SD card has a nominal capacity of 32
GB, I do not think this is the reason.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


My workstation draws a kilowatt per hour and has a loud fan. When I
listen to my music I prefer not to hear the noise of a workstation
running. I bought the Pi4 to not run my workstation for music
listening.
Why do I want to have the network drive? Because I buy and download
music from the internet and this is easier to do and manage from my
computer, where I also organize my music collection from. When I add new
music which is not from my streaming service, I will use the PC. This
cleared up your questions?



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


Jim,
appologies, I didn't want to come across rude. I have been working on
this for quite some time now and naturally checked whether i. e. the
drive itself is operating before the network implementation. Here is one
example for a RaspberryPi related samba <-> windows incompatibility and
with a solution which I was following before I asked for help.
https://forums.raspberrypi.com/viewtopic.php?t=200482
I have found more accounts of this behavior that I had found when I was
searching for a solution for the problem.

The hard disk drive attached via USB to the Pi4 2 GB rev 1.5 PCB is a
Toshiba product,MQ01ABD100, production date 3/2013. It comes with a
USB3-controller and is attached to one of the four Pi4 USB ports. I have
tried both USB 3.0 as well as USB 2.0 ports, with no difference. I have
also attached the disk itself to another hdd controller from another
case, which is a USB 2.0 controller, but this did not make a difference.
Therefore I assume the issue is not happening at the hardware level.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


I will work through your suggestions.

Can someone indicate me how I can enforce that the changes undertaken to
smb.conf remain after reboot.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


Redrum wrote: 
> @sheepie - I read through the thread again, and I don't see where you
> have answered the questions on the specifics of your setup - what is the
> drive, how is it connected, etc.
> 
> I am also wondering if you have eliminated the drive itself as a
> problem. For example - does it work fine attached to you win machine?
> Have you tried to mount a usb thumb drive with music as a "test
> library", etc.
> 
> When I run into problems that no one else has, I start swapping things
> out to try to isolate the problem.
> 
> You did allot of twiddling to date that no one else has had to do. I
> fear you are descending into a rabbit hole. I've been there until that
> "ah-ha" moment comes. Its usually not at the bottom of the hole. I'd
> start by trying another drive (even a thumb drive) with a clean install
> of picore (start over).
> 
> Jim

Jim, please read the first post:

sheeple wrote: 
> Hi folks,
> it was some work to get my Samba Share from a piCorePlayer 8.1
> installation going with Win10. It was necessary to reactivate SMB 1.0
> support and additionally change a registry key for guest user
> authentication. The drive is now listed and accessible from my Windows
> 10 Desktop, where I work on and also organize my music collection. But I
> cannot transfer more than a 1GB of data to the external hard drive that
> is mounted to the Pi4. This has nominally a terrabyte of storage
> capacity (real 931 GB) and I have mounted it with permission 0664 to the
> Pi4. In Windows10 network explorer, the hdd does not indicate its size,
> it reads as 0 Byte capacity. How can I tell it that I want my other 930
> GB, too? PITA

1 TB hdd, which can only be connected via usb.

Also your other claims are not true. There is several report of this
problem on the internet. I will however try my best to find out whether
this a singular problem with my setup.

Also, as I wrote before, I can store up to 1.66 GB on the hdd. I have
never reported any problems with playback, this is not the issue here,
otherwise I have had indicated this. I can  use the LMS server
functions, play from files, but the use of the network drive is flawed
for my use case. Also, I can use the hard drive for storage, no issues.

There where questions whether I have assigned the network drive a
letter. I had done this, when I was running on SMB 1.0, and it worked,
but it was also possible to login everything via usr: tc pw: tc over the
network.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


It remains that only with SMB 1.0 support reenabled on my Windows 10
machine, I can see the drive at all on the network. But with the
previously described limitations, that it is barely usable. These issues
are known issues. It shreds me that there are Windows 10 users where it
is purportedly working, however there is many reports on the webs where
it isnt.

Here is my troubleshooting attempts so far, maybe someone can guide me
from here to a new approach. What I did:

1.) I checked with PowerShell ssh (working with this so far) whether the
disk and the mounted partition are recognized: fdisk -l

Code:


  fdisk -l
  tc@pCP:~$ tc@pCP:~$ fdisk -l
  Disk /dev/mmcblk0: 30 GB, 32010928128 bytes, 62521344 sectors
  976896 cylinders, 4 heads, 16 sectors/track
  Units: sectors of 1 * 512 = 512 bytes
  
  Device   Boot StartCHSEndCHSStartLBA EndLBASectors  
Size Id Type
  /dev/mmcblk0p1128,0,1 127,3,16  8192 139263 131072 
64.0M  c Win95 FAT32 (LBA)
  /dev/mmcblk0p21023,3,16   1023,3,16   13926421872632048000 
1000M 83 Linux
  Disk /dev/sda: 932 GB, 1000204883968 bytes, 1953525164 sectors
  121601 cylinders, 255 heads, 63 sectors/track
  Units: sectors of 1 * 512 = 512 bytes
  
  Device  Boot StartCHSEndCHSStartLBA EndLBASectors  Size 
Id Type
  /dev/sda10,1,1   1023,254,63 63 1953525104 1953525042  931G  
7 HPFS/NTFS



Yup, 931 GB recognized as disk and mounted device.

I checked whether samba was running: used smbd status


Code:

tc@pCP:~$ smbd status
  [2022/02/27 13:05:46,  0] ../../lib/util/debug.c:1099(reopen_one_log)
  reopen_one_log: Unable to open new log file '/var/log/log.smbd': Permission 
denied
  [2022/02/27 13:05:46,  0] 
../../source3/lib/dumpcore.c:59(get_default_corepath)
  Failed to create /var/log/cores for user 1001 with mode 0700
  [2022/02/27 13:05:46,  0] ../../source3/lib/dumpcore.c:256(dump_core_setup)
  Unable to setup corepath for smbd: File exists
  [2022/02/27 13:05:46.291139,  0] ../../lib/util/debug.c:1099(reopen_one_log)
  reopen_one_log: Unable to open new log file '/var/log/log.smbd': Permission 
denied
  [2022/02/27 13:05:46.291185,  0] ../../source3/smbd/server.c:1782(main)
  smbd version 4.12.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2020
  


Perhaps not the best command, anyway, a Samba 4.X instance is started.
Fine.

According to this source
https://www.elektronik-kompendium.de/sites/raspberry-pi/2101091.htm, for
Windows 10 after Fall Creators Update 1709 with disabled SMB 1.0, it is
recommended to add the following lines in smb.conf under the section
[global]


Code:

client min protocol = SMB2
  client max protocol = SMB3
  


According to this source
https://www.cyberciti.biz/faq/how-to-configure-samba-to-use-smbv2-and-disable-smbv1-on-linux-or-unix/,
for Samba 4.X it is possible to instead add the line 


Code:

protocol = SMB3



I tried both but will document the first solution here. I entered 

Code:

sudo vi /usr/local/etc/samba/smb.conf


and added the lines

Code:

client min protocol = SMB2
  client max protocol = SMB3


then safed and closed vi with :wq

I checked whether it was saved and reopend:


Code:

[global]
  netbios name = music
  workgroup = WORKGROUP
  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
  client min protocol = SMB2
  client max protocol = SMB3
  [music]
  path = /mnt/music
  create mask = 0664
  browseable = yes
  writeable = yes



Yes, still there. Then I used the smbd command that give a bit sketchy
returns, and also restarted from within pCP backend later. I entered
smbd restart smb.service and got

Code:

tc@pCP:~$ tc@pCP:~$ smbd restart smb.service
  [2022/02/27 13:10:18,  0] ../../lib/util/debug.c:1099(reopen_one_log)
  reopen_one_log: Unable to open new log file '/var/log/log.smbd': Permission 
denied
  [2022/02/27 13:10:18,  0] 
../../source3/lib/dumpcore.c:59(get_default_corepath)
  Failed to create /var/log/cores for user 1001 with mode 0700
  [2022/02/27 13:10:18,  0] ../../source3/lib/dumpcore.c:256(dump_core_setup)
  Unable to setup corepath for smbd: File exists
  [2022/02/27 13:10:18.240644,  0] ../../lib/util/debug.c:1099(reopen_one_log)
  reopen_one_log: Unable to open new log file '/var/log/log.smbd': Permission 
denied
  [2022/02/27 13:10:18.240691,  0] ../../source3/smbd/server.c:1782(main)
  smbd version 4.12.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2020



But no network drive appeared in windows. A restart of the Windows 10

Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-27 Thread sheeple


I want to listen to my music both from my workstation aswell as from the
pCP, which is connected to my HiFi. If I cannot do this, I need to
manage my music twice, which will make it very difficult to keep track
which directories are up to date.

I thought samba was the solution, but seemingly only on some Win10
machines.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-26 Thread sheeple


It shoul run on the Pi. Otherwise, I had to start the desktop everytime
I want to listen to music and this is exactly what I wanted to solve.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-26 Thread sheeple


Can I integrate WinSCP with piCorePlayer?



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-26 Thread sheeple


Is there a diganostics section for USB mount, to check if it is mounted
correctly to Pi4?



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-26 Thread sheeple


This is btw what my smb.conf looks like now:

[global]
netbios name = music
workgroup = WORKGROUP
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
[music]
path = /mnt/music
create mask = 0664
browseable = yes
writeable = yes



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-26 Thread sheeple


It's a Windows 10 Education from my old university. It usually has more
features enabled than Pro ... I will try ntfs next.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-26 Thread sheeple


Well, I have it installed, yes:

37334

The SMB thing is a know issue, here is background
http://woshub.com/cannot-access-smb-network-shares-windows-10-1709/
So I also had to do this
https://forums.raspberrypi.com/viewtopic.php?t=200482


+---+
|Filename: Screenshot 2022-02-26 114612.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37334|
+---+


sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-26 Thread sheeple

It’s a Win10 issue since Fall creators update 1709, yes I have installed
additional file systems, it is exFAT.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-25 Thread sheeple


And ist there any alternative to samba? It seems this problem is a
keeper, until MS either patches it, or the pCP-team changes the samba
implementation.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-25 Thread sheeple


How can I edit /usr/local/etc/samba/smb.conf beyond what the pCP backend
allows for? I want to try something, but in ssh, vi tells me it is a
read only file and I cannot save.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-25 Thread sheeple


I have reached 1.66 GB by now, so this does not seem to be a hard
border. But I cannot get further atm:

37329

Did change permissions to 0775 in the meantime, but behavior seems
similar.


+---+
|Filename: Screenshot 2022-02-25 194619.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37329|
+---+


sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


[SlimDevices: Plugins] SMB share only giving me ~1GB out of 931GB Win10 <-> RPi4 pCP

2022-02-25 Thread sheeple


Hi folks,
it was some work to get my Samba Share from a piCorePlayer 8.1
installation going with Win10. It was necessary to reactivate SMB 1.0
support and additionally change a registry key for guest user
authentication. The drive is now listed and accessible from my Windows
10 Desktop, where I work on and also organize my music collection. But I
cannot transfer more than a 1GB of data to the external hard drive that
is mounted to the Pi4. This has nominally a terrabyte of storage
capacity (real 931 GB) and I have mounted it with permission 0664 to the
Pi4. In Windows10 network explorer, the hdd does not indicate its size,
it reads as 0 Byte capacity. How can I tell it that I want my other 930
GB, too? PITA



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=116037

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


Re: [SlimDevices: Plugins] Picoreplayer equaliser settings

2022-02-22 Thread sheeple


So I was wandering what is causing this. I had the theory that alsamixer
could check that the signal was clipping and this is why it intervened.
But the same occurs if I start from a low baseline. The sliders have a
governing curve, sometimes more abrupt, sometimes more soft than what my
inputs ask them to do.



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=111874

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


Re: [SlimDevices: Plugins] Picoreplayer equaliser settings

2022-02-22 Thread sheeple


I have the 0-100 range with all sliders set to 66 as zero position. Here
is what happens if I dial in my values.
1) I set the 10 band equalizer to 66 66 68 68 66 65 64 62 64 66
2) I hit save
3) Page reloads after  saving, but no reboot yet
4) Slider values changed to 64 64 68 68 63 63 62 63 64
) ??



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=111874

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


Re: [SlimDevices: Plugins] Picoreplayer equaliser settings

2022-02-22 Thread sheeple


37292


+---+
|Filename: Screenshot 2022-02-22 172932.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=37292|
+---+


sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=111874

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


Re: [SlimDevices: Plugins] Picoreplayer equaliser settings

2022-02-22 Thread sheeple


Is there any way to see something like this:
https://media-cdn.ubuntu-de.org/wiki/attachments/12/28/alsamixer.png
and which command via SSH brings me there? I find it complicated that in
my browser, the set values for 10 band equalizer, after saving (and also
when I hit "test"), change slightly. I want to see if this is only a
representation problem of the HTML front end and what is happening at
alsamixer.

Someone knows how to do it?



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=111874

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


Re: [SlimDevices: Plugins] Picoreplayer equaliser settings

2022-02-22 Thread sheeple


I wanted to check whether the weird level jumps are only a matter of the
web interface output, but could not open alsamixer equalizer from ssh

If I type: alsamixer -D equal
I get: cannot open mixer: Operation not permitted



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=111874

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


Re: [SlimDevices: Plugins] Picoreplayer equaliser settings

2022-02-21 Thread sheeple


Hey Paul,
is there more information on what the module is doing, how it behaves
and what happens when we push a button? I have made the experience that
my DAC clips when I enable alsa 10 band equalizer without lowering the
digital volume to 90%.
But when I first made this experience, after some time it went away, as
if something was automatically changed in the software equalizer or
volume levels.
Today I made another odd observation: I could not save the values that I
wanted. After hitting save and reloading, they had changed slightly and
in certain bands. This was at least the case when I did this while the
player was also playing. It left the impression on me, again, that there
is some internal behavior to the equalizer which I miss some
documentation on. Maybe you can tell me where I will find details and
what was happening.
Regards



sheeple's Profile: http://forums.slimdevices.com/member.php?userid=72502
View this thread: http://forums.slimdevices.com/showthread.php?t=111874

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