LJason

LJason

野生程序猴子
twitter
github
nintendo switch
steam
bilibili
email

Playing with Raspberry Pi 03 - NAS

After downloading with Aria2, you need to remove it, otherwise the Raspberry Pi's 16GB SD card + 32GB USB drive will be full in no time. Here I use Samba.

Installation:

sudo apt -y install samba

Create a new Samba user "pi" (you can customize the username) and set a password:

sudo smbpasswd -a pi

Edit /etc/samba/smb.conf and add:

[storage]
    # Description
    comment = Jason Storage
    # Path to shared files
    path = /mnt/downloads
    # Visible resource name (not content) that can be seen by others
    browseable = yes
    # Writable
    writable = yes
    # New file permission is 664
    create mask = 0664
    # New directory permission is 775
    directory mask = 0775

Restart the service:

sudo systemctl restart smbd.service

In Windows' "Map Network Drive", enter \\<Raspberry Pi's IP>\storage.

00

Now editing files on the Raspberry Pi is just like editing local files on Windows.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.