OpenWRT - File Sharing Server on OpenWRT with Samba4 (SMB) @VanTechCorner
OpenWRT - File Sharing Server on OpenWRT with Samba4 (SMB)  @VanTechCorner
Uploaded September 2021 | Updated November 2026, 1 day ago
In this video, we will configure File Sharing server on OpenWRT with Samba4 (SMB). For this tutorial, I used a USB 3.0 SSD (USB Attached SCSI device) and connected the hard disk to the USB 3.0 port on the Linksys WRT1900AC to achieve the highest file transferring speed. You can connect the hard disk to a USB 2.0 port but the speed is slower. Besides USB hard disk, a normal USB drive or USB printer will be supported by Samba.
Since most of the tutorial on the internet is about Samba 3; I decided to make one for Samba 4. I hope it will help you to get the setup working.

Video timeframe:

00:00 - Intro
01:35 - File Sharing with OpenWRT Router Procedure Overview
02:18 - Install Packages - USB Storage, Block-Mount & NTFS support
04:54 - Mont the USB hard drive on OpenWRT with Block-Mount
06:03 - Install Samba4 Server with Putty (CLI)
08:35 - Install luci-app-samba4 & configure Samba4 on LuCI
08:57 - Configure Samba4 on LuCI
11:14 - Create Samba user (Network driver user)
14:56 - Map new Network Drive on Windows 10 & File transfering Speedtest
16:44 - Connect to the Network Drive on Smartphone with Cx File Explore

Resources:

- Samba Configuration - openwrt.org/docs/guide-user/services/nas/samba_configuration
- USB Storage Drivers - openwrt.org/docs/guide-user/storage/usb-drives
- NTFS Read & Write support - openwrt.org/docs/guide-user/storage/writable_ntfs
- Block-Mount - openwrt.org/docs/techref/block_mount

Thanks for watching and see you in the next video!
OpenWRT - File Sharing Server on OpenWRT with Samba4 (SMB)Mercury SE106 2.5GbE Switch Unboxing - Budget-Friendly 2.5 Gigabit NetworkingOpenWRT 21.02 - Configure IPTV / UDP MulticastOpenWRT - Captive Portal - WiFi Splash PageClean Yellowed Unifi AP/ Plastic with Hydrogen PeroxideOpenWRT - Install Netdata - Real Time Monitoring DashboardOpenWRT - Mikrotik RB750Gr3 Performance Test vs. RouterOSTP-Link XZ000-G3 GPON Terminal - Hardware & Web-UI OverviewOpenWRT - NanoPi R2S Overview & Performance Test (NAT, OpenVPN,Wireguard, SQM QoS)OpenWRT - Install Netdata Cloud to monitor your router from the InternetOpenWRT - x86 PC - Install to Hard DriveThe Ultimate Green UPS for Homelabs - Part 2: Adding DIY 51.2V LiFePO4 Battery & JK BMS CAN Setup
Van Tech Corner |

OpenWRT - File Sharing Server on OpenWRT with Samba4 (SMB)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER