![]() ![]() Set workgroup to the name of your local workgroup (this can be left at the default WORKGROUP if you dont already have a workgroup). As root edit the file /etc/samba/smb.conf. Files that I read & edit on a regular basis like code, scripts or even simple notes / txt. I assume this has to be something with pi and nas since that folder is mounted. Install the samba software using sudo apt install samba. Situation I had a pi (hole) 3 laying around and wanted to enable a common place for all my everyday files. I tried doing sudo chown -R bitcoin:bitcoin /mnt/BtcNode gave me no errors however doing ls -)l gave me still root root permission. I needed a way to share files between two computers without using Google drive, dropbox, or any cloud-based solution. I have created the bitcoin user on the pi for running the bitcoin core client as descripted in the guide. For completeness, here is how the NAS device is set up: I have a raspberry pi 4 with two USB drives attached. ![]() Once I tried to access files on the Raspberry Pi via Samba Share, but stopped using it. The automount works, however the /mnt/BtcNode folder has root root permissions whereas this means i don't have the right permissions to write in this folder aka nas folder not with my bitcoin user on the pi nor with the pi user on the pi. Samba is an open-source secure network file sharing system that allows Raspberry Pi users to easily share files between the Raspberry Pi and other devices. Im using samba to access files on my NAS. I have setup automount in fstab to my btcnode folder in my nas <- this works to as i can see files when it mounted. My pi running lite version of pi os all configured and updates. So in this configuration my bitcoin folder shoud only be allowed to storageserver which is my main user having 777 permissions and bitcoin which has 775 permissions. ![]() The samba configuration for archive and bitcoin are as follows: In this archive folder I created A BtcNode folder added a bitcoin user and made the samba configuration.<- this part seems to be working I have 1 user that has full permissions meaning chmod 777. This main storage array is called archive. In my nas I have got 1 Main storage array consisting of 4x10TB drives in raidz with zfs. The raspberry pi is configured to have a hostname smbshare with a user pi and a password of raspberry. I'm assuming it's a permission issue but I couldn't handle it. It correctly mounts my drive and shares it through Samba, however, even though I can connect to the share and read stuff, I can't write anything to the drive via the Samba share. Since I have got a storageserver(nas) at home i'm going to use that as external hdd so to say. 1 I've a Raspberry Pi acting as a NAS server. In this guide they reference an external hdd for the blockchain as currently the bitcoin blockchain is about 350GB. So my current project is to have a full node bitcoin core on my pi4Ĭurrently following this guide: Bitcoin node guide ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |