I have a Terra-Master F4-210 NAS & Ubuntu 20.04 Desktop edition. All I want to do is setup a network drive so I can access my files from any local PC

06/22/2021

Hi there, I am looking for help. I want to access my Network Attached Storage (NAS) Terra-Master F4-210 on my Ubuntu 20.04 PC to read and write files that may have been stored in other places.

I run Ubuntu, Mint, and Windows 10 Home & Professional. When I create and update my files, every system has its own version of the document. It's not always possible to use the same computer, and using USB Sticks is a hassle. With the NAS, all the devices could access the same file and keep the document current without any issues. The software included in the Terra-Master Operation System (TOS) is written for Windows10 and MAC. Nothing for Ubuntu. I also want to take advantage of RAID6 redundancy to stop losing any more documents, as I have done in the past.

I have installed Samba, but honestly don't have a clue how to configure it. Most of the searches I've found are for "how to make centralized file storage on Ubuntu." This isn't what I want and defeats the purpose of having a NAS device.

All I want to do is to configure Ubuntu to access my NAS drive, so I store my files there instead of on a Local PC.

4

1 Answer

I just bought one of these things on eBay and had to figure this out all on my own.

First, you need to install the OS on the NAS. Then you need to visit the Web interface for it and do a couple of things.

enter image description here

enter image description here

Be sure to apply after each one of those. I could not believe FTP was enabled by default. Hellooooo Ransomware!

sudo apt-get install samba smbclient cifs-utils nmap samba-common
sudo nano /etc/samba/smb.conf

#add min and max lines below ; bind interfaces only = yes

client min protocol = SMB2
client max protocol = SMB3

#exit and save

sudo systemctl restart smbd.service
mkdir ~/tnas
mkdir ~/bin
nano ~/bin/mount-tnas

#add the following line, exit and save

sudo mount -t cifs -o uid=$UID,gid=$(id -g),vers=3.0,username=your-user-name-on-NAS '//NAS-ip-address/your-private-directory' /home/your-user-name-on-ubuntu/tnas
chmod +x ~/bin/mount-trans

If you did not already have a ~/bin you should probably log out and back in. Then open a terminal and type

mount-tnas

You can forget about being able to mount this thing through the GUI file utility. Ubuntu is always quite a ways behind when it comes to things like that. This will mount it on demand and make it appear in your GUI file manager.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like