How to Build Your First NAS! Samba Share Setup Explained!

Published at : 18 Dec 2025

*ALL TOOLS, COMPONENTS AND RESOURCES LINKED BELOW*

If you ever thought about building your own NAS you found the perfect video! In this video, I'll explain how everything works and how to set it up.

Thanks to PCBWay for sponsoring this video!
Visit https://www.pcbway.com/?from=Djambo to get your quote today!

*******************************************
Business inquiries: djambo3d@gmail.com
*******************************************

You can help me make these more often here: https://www.patreon.com/Djambo

Background music in the video: https://www.patreon.com/daniz50

*Raspberry Pi Fan Case used in the video*

Rpi Case I used in the video: https://www.printables.com/model/364072-raspberry-pi-3-b-case

M3x12mm bolts for mounting the fan: https://s.click.aliexpress.com/e/_DdxVAC3

M3 Nuts: https://s.click.aliexpress.com/e/_DEfr7Cn

M2.6x12mm plastic screws: https://s.click.aliexpress.com/e/_DB5A7TN

4010 fan: https://s.click.aliexpress.com/e/_DFKZFzv

*Promised Links*

Samba: https://ubuntu.com/tutorials/install-and-configure-samba#1-overview

Pi Imager: https://www.raspberrypi.com/software/

Virtualbox: https://www.virtualbox.org/

Putty: https://www.putty.org/

*Check this out if you're epic sigma*

TP4056 Module: https://s.click.aliexpress.com/e/_DeVdYEn
Tweezers: https://s.click.aliexpress.com/e/_DeTV4x1
Solder Paste: https://s.click.aliexpress.com/e/_DEHqla3 (Sn42Bi58)
Alcohol dispenser: https://s.click.aliexpress.com/e/_DEE4as7
Precision Screwdriver set: https://s.click.aliexpress.com/e/_DEOWier
Solder Paste: Squeegee: https://s.click.aliexpress.com/e/_DD8aDPl
Hardcore Box Cutter: https://s.click.aliexpress.com/e/_DFy4nPd
Soldering Iron: https://s.click.aliexpress.com/e/_DD6iWIX
Soldering Iron Tip Cleaner: https://s.click.aliexpress.com/e/_DDniMAf
Solder pump: https://s.click.aliexpress.com/e/_Dk1344d
Super cool multimeter probes: https://s.click.aliexpress.com/e/_DEesbLn
My favorite soldering tip (TS-BC2): https://s.click.aliexpress.com/e/_DCGuEYl
Soldering Mat: https://s.click.aliexpress.com/e/_DEWCSox
Cheap Hot Air Station: https://s.click.aliexpress.com/e/_DnTa0v5
Lab Bench Power Supply: https://s.click.aliexpress.com/e/_DCtPaCj
Mini Hotplate: https://s.click.aliexpress.com/e/_DEODLdD
Electric screwdriver: https://s.click.aliexpress.com/e/_DdaEvbr
Deburring tool: https://s.click.aliexpress.com/e/_DBtgEg9
Hand drill: https://s.click.aliexpress.com/e/_DmC3PLr
Silicone wires kit: https://s.click.aliexpress.com/e/_DBGu9kZ
Black hot glue: https://s.click.aliexpress.com/e/_DlURBfP
12AWG wire: https://s.click.aliexpress.com/e/_DkcRLKV
Heatshrink: https://s.click.aliexpress.com/e/_DB361Zj
USB Type C Tester: https://s.click.aliexpress.com/e/_DBB8caZ
USB Type A Tester: https://s.click.aliexpress.com/e/_DlpwuHf

*Commands I used in the video*

Updating the OS:
sudo apt update & sudo apt upgrade

OS Setup:
ifconfig
sudo reboot

Partition the drive:
lsblk
sudo fdisk /dev/sda

Format the drive:
clear
sudo mkfs.ext4 /dev/sda1

Mount the drive:
cd /mnt/
cd ..
ls
sudo mkdir myusb
sudo mount /dev/sda1 /mnt/myusb
sudo nano /etc/fstab
/dev/sda1 /mnt/myusb/ ext4 defaults,noatime 0 1

Create a shared folder:
sudo chmod -R 777 /mnt/myusb/shared
sudo apt install samba samba-common-bin
sudo nano /etc/samba/smb.conf

[shared]
path=/mnt/myusb/shared
writeable=Yes
create mask=0777
directory mask=0777
public=no

sudo systemctl restart smbd
sudo smbdpasswd -a "username"

*Chapters*
Intro 00:00
What's a NAS 00:36
PCBWAAAAY 02:42
Introduction 03:19
Hardware 04:39
My Setup 08:05
Installing the OS 09:10
OS Setup 10:51
NAS Setup 11:58
Connecting to the NAS 17:40
Conclusion 19:30

*Tags*

#DIYHOMESERVER #HOMESERVER #HOMENAS #DIYNAS #LINUX #homelab