My favorite part is at 15:07. Your videos are great by the way. Very helpful.
@VanTechCorner3 жыл бұрын
Glad you like them!
@cblack28633 жыл бұрын
This is perfect. I have been putting of installing Samba for so long.
@niggle31382 жыл бұрын
just spent 30m-1hr trying to get the permissions right by myself. Should have looked at your video first, got it done in 5min! Best tutorial on the internet!!
@Tech-px3yn Жыл бұрын
I followed everything and still I do not have read and write it says the system is write protected
@xenophone9222 Жыл бұрын
Great guide, worked on my WRT3200ACM on OpenWrt 22.03.2 with one change at the step where you're mounting /dev/sda I ran "ln -s /usr/bin/ntfs-3g /sbin/mount.ntfs" from terminal. This allowed the drive to mount when previously applying the enable option would result in no change. This step is at 5:41
@dividead1002 ай бұрын
I appreciate this video, it was great 2 years ago and it was great today when I needed it again. Your English is just fine but as you have noticed lots of people got confused at the user part as it sounds like "press EXC and then colond". It took one minute me to tell on my own that EXC was escape but even after looking through the comments I still could not tell what a colond is, even though it sounds pretty close to colon but I'm tired and English is not my first language either and the only reason I realized what it was is that I saw the sign at the bottom left of the window after watching that part for the 3rd or 4th time. Seeing how many people got confused there I think it would be helpful if you add that part in text to the description of the video and no, people don't need to learn VI editor as the only time 90% of viewers will use it is when they do this and then again in two years when they will do it again and they can do it just fine without knowing VI editor if they only understood what you said.
@NoviDoomsАй бұрын
Thank you so much! This was extremely helpful :D
@MrMarconunes192 жыл бұрын
Thank you!! finally i got it right by folowing your instructions!
@VanTechCorner2 жыл бұрын
Glad it helped!
@MrMarconunes192 жыл бұрын
@@VanTechCorner now its sharing a small disk instead of the usb external drive
@plica063 жыл бұрын
This is a really useful video. Thank you for making it !!
@VanTechCorner3 жыл бұрын
Glad you enjoyed it!
@usaeabusa24532 жыл бұрын
Well done sir but do you have a video explaining how to setup a way to access the usb ssd from outside the home network?
@rifemhere28903 жыл бұрын
now this is what ive been waiting for!! thankyou so much van 😆😆
@rifemhere28903 жыл бұрын
btw, im using x86 openwrt and i want to share one of my folder in my hdd i hope its work
@rifemhere28903 жыл бұрын
well, i want to share my ext4 on my harddrive but i cant make it work 😢
@rifemhere28903 жыл бұрын
nvm its already work hehe 👌 thankyou once again
@SachinGopalkrishnan3 жыл бұрын
This was easy and clear. Thank you.
@MdSiam-kw5ox3 жыл бұрын
Thanks for the tutorial man. U are awesome.
@gonzo1110812 ай бұрын
my Samba mounted SSD is empty but there is a Folder on that SDD
@vivahitam54448 ай бұрын
Hii.. i just wonder can I access the file online, upload and download without connect with same WiFi?
@mr_eser2 жыл бұрын
I have router without usb but i have modem with usb. How can i access to that usb on openwrt and add?
@pichonPoP2 жыл бұрын
I face so many troubles in order to this work. Finally, the options that work for me "rw,nodev,noexec,noatime,nosuid,uid=xxxx,gid=xxxxx" By passing those options and special mention to uid and gid did the magic. They need to match your user. BTW, I'm using samba4
@ytgessle Жыл бұрын
Can't install on Dir842 right. I got not enough space error.
@nguijgitjiogdjiog Жыл бұрын
At 12:36 you say "press the exe keys and then columns and right click hit enter". I can't quite understand how to do that. What is the exe key?
@VanTechCorner Жыл бұрын
ESC. You can learn the basic of VI editor to understand how to edit a text file in Linux.
@MarkAdrianBorja4Real22 күн бұрын
Does anyone know how to get an external hard drive to spin down when no one is accessing it?
@HartonoBangkir2 жыл бұрын
not working , untill adding rule into firewall
@cbellasbusta46433 ай бұрын
hi. at 12:34 u say "after we done hit the exc keys and then columns and right click hit enter". i can't quite make out your pronunciation. i've hit the E X C keys but it just adds those letters at the end of the word false. what am i doing wrong and what is the columns? i'm doing this on a windows 10 pc
@VanTechCorner3 ай бұрын
Press ESC key to change to command mode Then press :wq to Write changes & Quit. This is the basic of edit files with Vi editor. You can learn on on Google in order to modify OpenWrt config easily
@cbellasbusta46433 ай бұрын
@@VanTechCorner ok thanks very much for that, cheers 👍
@CrUBlackNerd3 жыл бұрын
can you do one for ksmbd on openwrt? the package size is much smaller, and the luci interface is very similar.
@portuguesechannel17612 жыл бұрын
how do you configure share without level user access I can't figure out
@iter682 жыл бұрын
My drive does not show up in Mounted file systems until I installed package "kmod-fs-ntfs" which did not mention in the video.
@VanTechCorner2 жыл бұрын
Using kmod-fs-ntfs only provides read support while ntfs-3g provides both read & write support. You need to reboot the router after installed ntfs-3g. More info on the OpenWRT docs (links in video's description)
@massbib3 жыл бұрын
I'm having a problem.. I've followed the tutorial but my hdd can't be written, it can only be read.. what's wrong?
@bowwowrescue36222 жыл бұрын
I managed to get the drive to mount after some tries and succeeded in going through the tutorial. But when I upgraded my OpenWRT to 22.03.1, it deleted all the settings and I had to reinstall. This time I just can't get the drive to mount!! All drivers are installed and I can see the drive under Mount Points menu. So what didn't I do right?
@SteelTumbleweed2 жыл бұрын
I'm having the same problem.
@SteelTumbleweed2 жыл бұрын
I figured it out. I was missing the kmod-fs-ntfs package, which another commenter notes that it wasn't mentioned in the video. Good luck buddy!
@johnpang8642 жыл бұрын
@@SteelTumbleweed thanks for the tip! Appreciate it!
@SteelTumbleweed2 жыл бұрын
@@johnpang864 I think there might be a legitimate bug on the latest version. By attempting to use kmod-fs-ntfs I get an access denied when attempting to access the drive. I found a workaround which is to manually mount the drive using just ntfs-3g, uninstalling kmod-fs-ntfs and going to ssh and typing in: ntfs-3g /dev/sda1 /mnt/sda1 -o rw,big_writes
@johnpang8642 жыл бұрын
@@SteelTumbleweed OK thanks!
@ikbalyasid2 ай бұрын
have you tried accessing the SMB from Windows 11 24H2? it seems the speed is limited to 10MB/s
@thiefrainb0w992 жыл бұрын
Thanks for the tutorial! How come samba wont let files/directories be named with a colon ( : ) ?
@a8927282 жыл бұрын
:Illegal Filename Characters
@DeusMalleus2 жыл бұрын
I'm stuck on the network drive mapping, I keep getting issues with certificates and nothing seems to work. Have you experienced this problem?
@rengreng4277 Жыл бұрын
I'm using samba for the local nas network, can the files on the HDD be accessed via luci or not?
@Nazmul.Alam_3 жыл бұрын
Hello, My router doesn't have enough space to install samba4, is there any other package I can use to enable file sharing which lighter than samba4?
@a8927282 жыл бұрын
Does your router has USB port with it?
@Nazmul.Alam_2 жыл бұрын
@@a892728 Yes.
@a8927282 жыл бұрын
@@Nazmul.Alam_ 1.try extroot 2.use chfs as http file server
@CHeckmann2 жыл бұрын
Can you please make another video toturial for ksmbd because samba a way to big for my WRT1900ACS. Can't install any update after using samba.
@dimcheg100 Жыл бұрын
Thank you
@ikbalyasid5 ай бұрын
i succesfully config everything but, why the transfer rate only 5MB/s on USB 3.0 an gigabit network? i used linksys ea7500 v2
@VanTechCorner5 ай бұрын
What is the format of the partition, is it ntfs or ext4. I have seen pool performance with ntfs/fat format.
@ikbalyasid5 ай бұрын
@@VanTechCorner it's ntfs, it fixed when i changed to ext4
@diwaportingrom3 жыл бұрын
what model of linksys you use on the video, bro?
@VanTechCorner3 жыл бұрын
Hi, it is the Linksys WRT1900AC.
@rikka0_059 Жыл бұрын
If you use 1Gbps links between your router and PC, how fast can you get? I feel that the router becomes a bottleneck, even if you use a HDD
@mobilemeneer3053 Жыл бұрын
I have installed openwert on an zyxel nsa325 v2 yesterday and want to share an internal sata drive. Not an usb drive. Do you know if that's possible?
@nascimentonascimento83914 ай бұрын
Hello friend. I have a nanopi r5c with m.2 nvme slot. is it possible to do this file sharing on the internal m.2 nvme slot?
@VanTechCorner4 ай бұрын
Hi, it is possible. I already have a detail guide about this, you can check out the video at kzbin.info/www/bejne/gqimqq1_nsqrnNUsi=RWJQXyPjyZoZ3t49 Link to the guide: vantc.net/setup-file-sharing-smb-on-openwrt-with-samba4.html
@utnhat37783 жыл бұрын
the share is not accessible ?
@waleedtaqi6445 Жыл бұрын
are you on gigabit connection?
@VanTechCorner Жыл бұрын
At the time of making this video - no Now - yes, and sometime I get up to 2Gbps throughput. You can check out my recent videos :)
@waleedtaqi6445 Жыл бұрын
@VanTechCorner i get 70mb/s max on gigabit with 5ghz wifi on ipad. but my phones wifi cant go past 433mbps on 5ghz. so the speed on phone is 25mb-ish something. even my phone supports AC wifi...on pc i get 110 mbps over smb and ftp.
@ykwongtube2 жыл бұрын
hello, I am running the OpenWrt 21.02 on the Linksys WRT32X and managed to install USB storage, Block-Mount and Samba4 following your video, but after installed the Luci-app-samba4, the new "Service" menu didn't show up. Appreciate if you can answer what I done wrong. stay safe!
@BinaryOptimizer3 жыл бұрын
such a great vid :) keep it up
@VanTechCorner3 жыл бұрын
Thank you so much!
@sahilkaul47502 жыл бұрын
I have successfully configured the share and permissions. I can see that in windows and phone bit when I try to access I get access denied. All SAMBA Share username and password logs on also fine. still access denied
@FredrickCastielАй бұрын
same
@thyagorodriguesalvarez52642 жыл бұрын
thanks a lot :)
@andrecintra72843 жыл бұрын
Excellent work this video!! Is possible make a video about config https on luci and proton vpn on openwrt 20?
@HHX_H2 жыл бұрын
I have no ideea what you said after inserting new user
@VanTechCorner2 жыл бұрын
You can read the guide in the video description.
@johnweldon19323 жыл бұрын
Too bad, looks like the samba4 packages might be too big for my router (~10mb max storage 😢). Great content!
@paulmaydaynight99253 жыл бұрын
you should still be able to remote mount a -ram- drive then use that as your bigger/extra home dir using sshfs perhaps. use a cheap pi4 -with usbc 8 in 1 USB C Hub Dongle with Ethernet ,sd cards etc- as a master openwrt then relegate your old router to a openwrt client.
@ItGuyTechTips3 жыл бұрын
If you have 2 or more usb ports you can use extroot to increase the storage and install whichever packages you need.
@johnweldon19323 жыл бұрын
@@ItGuyTechTips @paul maydaynight both good options, thanks guys. It's a mobile setup, so I have the phone USB tethered through the router's single USB port. Maybe I can route the traffic through USB-to-Ethernet adapter, then hook an external drive through the USB 🤔
@ItGuyTechTips3 жыл бұрын
@@johnweldon1932 which exact router do you have?
@rikka0_059 Жыл бұрын
If you dont want to do extroot, there is a hard way, compile your own image and include samba packages. The filesystem in OpenWrt has two layers, one compressed read-only and one modifiable. Something in the latter layer takes tens of megabytes could be just a few megabytes in the former layer.
@patricklee6508 Жыл бұрын
I just got myself an used WRT1900ac V2 to test drive openwrt. I'm new to linux and openwrt. I tried few different USB HDD and USB drive. Nothing seems to be working. I read some articles online saying if the drive is being detected it should show under the /dev. What is simplest way to determined the drive is working or not? Thanks.
@VanTechCorner Жыл бұрын
Hey, the easiest way is connect the device into your computer, go to Disk Management to verify that.
@unixff1082 жыл бұрын
can i do it on r2s?
@VanTechCorner2 жыл бұрын
Yes it will work just fine, as long as you can install the packages. However, the speed will be lower since R2S only has USB 2.0.
@rifoevert32333 жыл бұрын
hello, thanks for the great videos i already try it and it works, but when i restart my x86 openwrt it not want to connect, any suggest?
@VanTechCorner3 жыл бұрын
Hi, sorry for the late response. Did you solve the problem?
@rifoevert32333 жыл бұрын
@@VanTechCorner hi, actually no so i just reinstall my openwrt and its work fine
@danzare56383 жыл бұрын
Hello , I just installed the x86 EFI openwrt version 21.02.0 , just released a few days ago , on a machine and then enlarged the partition as you do and it all went well and the system said it was successful ... however when booting it up the system would not boot all the way and give message ' waiting for root device PARTUUID ' wondering if this is due to EFI , this is the first time I have seen an EFI listed in the default stable versions Maybe there is another task that needs to be done , do you know what the cause and fix is . thanks for your help !
@amiruldaniel90813 жыл бұрын
Sir..can we use this on the raspberry pi openwrt server? and can it work with usb printer?
@VanTechCorner3 жыл бұрын
Hi, you can surely use this with RPI running OpenWRT. Samba does support USB printer but I have yet to try. Maybe you can give a try and share the result.
@amiruldaniel90813 жыл бұрын
@@VanTechCorner I see...thank you for your feedback..I'll share the result once I've try it
@a8927282 жыл бұрын
you can try printer with p910nd
@welliopedrodelima47822 жыл бұрын
Excelente vídeo. Estou tentando instalar openwrt em um TP-Link 750n. Desejo instalar nele rclone, montar GoogleDrive como disco, local. Fazer com que seja montado automaticamente no boot. Com a flag --destiny ( -) do opkg, instalar os pacotes como openvpn, samba, ddns, Lucy nesse reclone montado. Porém estou com dificuldade para fazer com que o rclone já monte o disco no start
@johnpang8642 жыл бұрын
Does this work with FAT32 and ExFAT formatted drives?
@VanTechCorner2 жыл бұрын
For ExFat maybe it work, but fat32 doesn’t.
@johnpang8642 жыл бұрын
@@VanTechCorner thanks for your reply. Is FAT32 possible and do you have a video on this, thank you.
@VanTechCorner2 жыл бұрын
Hi, fat32 is not working with this kind of sharing.
@johnpang8642 жыл бұрын
@@VanTechCorner ok thank you.
@jordanwiliams60563 жыл бұрын
It wont let me write from windows? It says i dont have permission
@VanTechCorner3 жыл бұрын
Hi, how about usin a phone? Did you enable write in Samba configuration. May I know what is the format of the USB device/ HDD that you are using?
@mlapastora2 жыл бұрын
I'm unable to copy large files. Saying there is not enough space on device but I have a 1TB HDD mounted on the router. Anyone who can help?
@asifrais8927 Жыл бұрын
ThankYou I installed the kmod packages and Ntfs 3G then Reboot now after rebooting my Belkin RT3200 is dead which I bought new Yesterday 😢
@vinyht17232 жыл бұрын
How to change User and Password
@mohdzulhazmi53573 жыл бұрын
Can i request for torrent install guide in openwrt 😅
@tauqeerwaqas3 жыл бұрын
verify_pkg_installable: Only have 4912kb available on filesystem /overlay, pkg samba4-libs needs 7010 * opkg_install_cmd: Cannot install package samba4-server.
@wisan66eni3 жыл бұрын
same problem, altought i have 115mB free space it said i dont have space enough to install it
@djbunny52305 ай бұрын
In mobile it's not connecting while in pc it's working fine
@OntologicalQuandry3 жыл бұрын
Argh! This is so frustrating. OpenWRT don't allow ssh to the router if it's not its default 192.168.1.1, so your command line instructions are useless to me with my device connected into my network the way it is. I cant default it back because then it won't have internet access. Why on Earth Samba4 can't be installed from LuCI like Samba3.6 can, I cannot fathom (although I know why since the -libs dependency has shot up in size to 7.4MB for some reason...). Then, to have to use the command line to add users and passwords is such a frustrating oversight to the LuCI-app. So close and yet so far... Great instructional video, though.
@kingofsoq3 жыл бұрын
tbh, i don't even know samba has reached version 4. 😌
@VanTechCorner3 жыл бұрын
LOL
@xxkenxyz6663 жыл бұрын
@@VanTechCorner 😂
@hiepphat5193 жыл бұрын
tôi đã mất 3 tiếng để làm được :))😀😀
@flyinbrianewing Жыл бұрын
where did you paste this line? "newuser:*:1000:65534:newuser:/var:/bin/false" You completely lost me at this point. which key is EXE and Column?
@VanTechCorner Жыл бұрын
Hello, you better spend sometime to understand how to edit a text file with VI Editor using CLI. Use ESC to switch to Command Mode Use I to switch to Insert Mode :wq to Write & Quit www.cs.colostate.edu/helpdocs/vi.html
@flyinbrianewing Жыл бұрын
@@VanTechCorner I was using Putty and I'm an amateur with it too. I did get it working without a password. I have no classified documents on the drive so it's not too important to have a password.