Posted inInformation Technology

TerraMaster F4-210 and Gecko Linux

Gecko Linux is a wee bit different than my original article on this topic. Still, you can kind of muddle your way through using that Debian based article. Gecko is Open SuSE based, therefore uses RPMs and has different package names. Ahhhh, the blissful anarchy of Linux . . . and people wonder why it isn’t more widely adopted!

I will assume you did the first part of the previous article and already have your F4-210 setup to play nice with Linux in general.

Configure Samba

sudo zypper install cifs-utils samba smbclient nmap samba-common

sudo nano /etc/samba/smb.conf

Below the “bind interfaces” line in the Global section.

client min protocol = SMB2
client max protocol = SMB3

Exit and save.

sudo systemctl restart smbd.service

Mount Command

Now that you have Samba working like it should be it is time to create your command file and put it some place it can be found. Yes, there are supposedly hidden directories that RPM based distros look for in your $HOME. I don’t like that and neither should you. I don’t care what they argument is for “security.” When it comes to trouble shooting it’s a royal pain in the ass. When someone has in their hidden directory a command that conflicts/replaces a system command you can spend days trying to track down the problem.

mkdir bin
cd bin
nano mount-tnas
# paste the following into the file and save.
# remember to change the user and the directory to match what you have.
sudo mount -t cifs -o uid=$UID,gid=$(id -g),vers=3.0,username=<myTNASuser> '//<MyDirectory>' /home/<myLocalUser>/tnas

# your IP address will be different as well.

Exit and save. If you don’t know how to find your IP address, you can use the same tools and process as was done in this article.

chmod +x mount-tnas
mkdir tnas
nano .bashrc

# at the end of the file append this line
export PATH=~/bin:$PATH

Exit and save. I reboot at this point to make certain it will all work after a restart. Open a terminal and type


You should be prompted first for your sudo password then your TNAS account password. Gecko Linux comes in several different “static” flavors. You can find them at the link. Rolling releases of any Linux distro tend to be busted every other day, but static ones tend to be more stable.

Roland Hughes started his IT career in the early 1980s. He quickly became a consultant and president of Logikal Solutions, a software consulting firm specializing in OpenVMS application and C++/Qt touchscreen/embedded Linux development. Early in his career he became involved in what is now called cross platform development. Given the dearth of useful books on the subject he ventured into the world of professional author in 1995 writing the first of the "Zinc It!" book series for John Gordon Burke Publisher, Inc.

A decade later he released a massive (nearly 800 pages) tome "The Minimum You Need to Know to Be an OpenVMS Application Developer" which tried to encapsulate the essential skills gained over what was nearly a 20 year career at that point. From there "The Minimum You Need to Know" book series was born.

Three years later he wrote his first novel "Infinite Exposure" which got much notice from people involved in the banking and financial security worlds. Some of the attacks predicted in that book have since come to pass. While it was not originally intended to be a trilogy, it became the first book of "The Earth That Was" trilogy:
Infinite Exposure
Lesedi - The Greatest Lie Ever Told
John Smith - Last Known Survivor of the Microsoft Wars

When he is not consulting Roland Hughes posts about technology and sometimes politics on his blog. He also has regularly scheduled Sunday posts appearing on the Interesting Authors blog.

One thought on “TerraMaster F4-210 and Gecko Linux

Comments are closed.