Trust Your Technolust

Category: TeamSpeak

Can a Raspberry Pi run a TeamSpeak server? How about any ARM CPU?

TL;DR, Yes!

Today’s ingredients:

A Raspberry Pi 4, the older 3B+ should also support 64 bit, this process would work equally well on any ARM64 device that can run a Debian based OS however.
Raspberry Pi OS (64-bit), this will not work directly on the 32 Bit OS, but you can try using box86 as an alternative.
Box64
Needed OS packages : wget/curl tar box64

The Recipe:

We’ll use the box64 emulator for our Raspberry Pi, this is the fastest way to emulate AMD64 binaries on ARM64.

Add the debian repository for box64

wget https://ryanfortner.github.io/box64-debs/box64.list -O /etc/apt/sources.list.d/box64.list

Add the repository key so we can securely download the package

wget -O- https://ryanfortner.github.io/box64-debs/KEY.gpg | gpg –dearmor | tee /usr/share/keyrings/box64-debs-archive-keyring.gpg

Update our package lists to get the package list for box64

apt update

Install our box(64) of magic

apt install box64

This concludes installing box64, on to installing the actual TeamSpeak server.

Download yourself a copy of the TeamSpeak 3 Server from https://teamspeak.com/en/downloads/#server, be sure to get the 64 bit server, box64 can only run on AMD64 executables.

wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_linux_amd64-3.13.7.tar.bz2

Decompress it

tar xf teamspeak3-server_linux_amd64-3.13.7.tar.bz2

Change directory to our new server folder

cd teamspeak3-server_linux_amd64

Now we can actually use box64 to run the TeamSpeak server start script, which will then launch the actual server, this is where the magic happens.

box64 ts3server_startscript.sh start

At this point you should be presented with the login details for your server, fire up your TeamSpeak client and connect to your new server, enter your privilege key and enjoy your shiny new TeamSpeak 3 Server running near natively on Raspberry Pi/ARM64. If you’re happy with your setup, and it’s stable, make sure your server starts on boot/restart, using a crontab or the systemd unit from this reddit wiki page

How’s the speed?

Using box64 is remarkably fast, considering the amount of work that is probably going on behind the scenes when you run an application, thankfully a lot of the overhead seems to be mitigated by the use of “wrapping” libraries with the ARM64 equivalents instead of re-compiling every shared object an application uses.

Reliability?

Using box64 seems to be mostly reliable for the server side of TeamSpeak, the only crashes we’ve experienced so far involved running the TeamSpeak client rather than the server, you did know you can use box64 to run the TeamSpeak client, right?

Also bear in mind that TeamSpeak WILL NOT officially support the use of an emulator to run the client OR the server, so consider using box64 to run a TeamSpeak server or client as an eternal beta.

How to get TeamSpeak 3 Dark Mode

Prerequisites

An installed TeamSpeak client, if you don’t have TeamSpeak download it from https://teamspeak.com/en/downloads/

While TeamSpeak 5 does indeed have a dark theme built in by default, those of us still using TeamSpeak 3 do not have that luxury.

There are actually two different ways to install TeamSpeak themes (which are really just plugins, they are both installed the exact same way), we’ll show you both ways. First we need to download a dark mode theme, there are a number of the dark themes but the one I personally use and recommend is DarkenTS – Dissension.

Other honourable mentions include:

NekoSpeak (https://www.myteamspeak.com/addons/30f4df31-7e2e-4d09-9d28-40b1bcfa4db4)

NekoSpeak is nearly a black TeamSpeak theme, minus the small amount of gold included

Darcula (https://www.myteamspeak.com/addons/30f4df31-7e2e-4d09-9d28-40b1bcfa4db4)

Darcula is a theme based on the Dark theme for JetBrains products, so programmers amongst you should be very comfortable with this TeamSpeak theme.

These alternatives can both be installed with the exact same instructions.

Option one (nearly) automatic

Press tools => options in your TeamSpeak menu bar and navigate to the Addons panel, when you’re there press “Browse online”.

TeamSpeak Options Addons List

From this screen you can either search for “dark”, at the time of writing it’s near the very top of the default addons you initially are presented with, so you can easily find it by scrolling down a tiny amount.

Click the theme you’re looking to try out

Once the page has loaded click the “install” button

TeamSpeak Options, Addon Window

The theme should now be installed and automatically set, if not please see below for the manual way of installing themes.

Option 2 (manual install)

https://www.myteamspeak.com/addons/4a834709-3315-4c53-a80d-b09efd03fce2

Press the “Download” button, and allow your browser to download the file

TeamSpeak Addons Download Window Firefox

Open the file and you will be presented with a windows that looks something like this :

TeamSpeak Addon Installer Window

Press Install and restart your TeamSpeak client to complete the install.

After TeamSpeak has opened you press tools => options on the menu bar and navigate to Design, you can then set your preferred theme there, press apply and your client will update with the new theme.

The TeamSpeak 3 Design options Page

I hope that this explains how easy it is to install TeamSpeaak themes, these same methods can also be used to install TeamSpeak plugins. Need someone to talk to while using your shiny new Dark Mode TeamSpeak? Try finding a server on a TeamSpeak Server List.

Setup your own TeamSpeak server on Windows

Prerequisites

Windows server 2008 R2 or later, Server 2008 (i.e. the Vista based Server OS is no longer supported.)

A copy of your favourite archiver program (WinRAR, 7-Zip etc..), we’ll use WinRAR in this example.

Install the TeamSpeak Server

Download the latest version from your preferred vendor, at the time of writing WinRAR is at version 5.50, so we will download WinRAR x64 (64 bit) 5.50 from http://www.rarlab.com/download.htm

Download the latest TeamSpeak Server for Windows from http://www.teamspeak.com/en/downloads.html#server at the time of writing this is Server 64-bit 3.0.13.8

Extract the archive to anywhere you like on your system, ideally you do not want to extract the files to any of C:\, C:\Windows\, C:Program Files\, as these folders are protected by windows UAC and may be problematic later.

Browse to the folder you extracted the files in and run ts3server.exe.

A window will pop up with information about your server, save this information in a safe place as you need it to become server admin.

With your TeamSpeak client connect to the IP of your server, when you connect a windows will pop up asking for the server token, this is the longest random string you were given in the previous step, enter this and you will be given server admin.

You can now administrate your TS3 server instance as you like.

Now you have your shiny new server, why not promote it on a TeamSpeak Server List? The extra exposure could help you become the number one server on the planet some day.

All of this too much? You can make a free Private TeamSpeak channel on many public servers.

TeamSpeak SRV Record setup (Cloudflare)

Requirements

  • A domain of your choosing, you can purchase one from somewhere like Namecheap.
  • A working recent TeamSpeak server version.
  • A Cloudflare account, although these instructions should apply to any DNS hosting.
  • A static IP for TeamSpeak, this isn’t strictly required, but do you really want to keep updating your DNS records when your IP changes?

What is an SRV record?

The SRV record allows you to specify a hostname and port in a DNS record to allow you to point to services without a client having to specify a port number, it also has the added benefit of allowing you to have your services all pointed to for the base domain name for all services, even if they’re on different IP’s. For example tldrtips.com could point to a TeamSpeak server and this website at the same time, even though the services woudl have different IP’s.

So how can do I add an SRV record for TeamSpeak?

First we’ll need to add an A record for a subdomain that points to our TeamSpeak server, go to your Cloudflare dashboard (https://dash.cloudflare.com) and click your domain, then press the DNS tab.

Select an A record from the drop down in the section to add new records and enter the following, replacing 127.0.0.1 with your TeamSpeak server IP address.

TSSRV1.png

After you’ve pressed “Add Record” then we’ll need to add the SRV record, in the drop down press SRV and a pop up like the following should appear.

TSSRV2.png

We’ll use the following values

Service : _ts3

Protocol : UDP

Name : tldrtips.com

For Service we always enter “_ts3”, which is the service name for TeamSpeak.

Protocol is always UDP, TeamSpeak is primarily a UDP application.

Name will be the (sub)domain that you want to use for TeamSpeak, you could use ts.tldrtips.com if you desire a subdomain, but for simplicity for the user we’ll pick tldrtips.com.

When you press save the following pop up will appear, for a simple setup we’ll use the following values

Priority : 0

Weight : 4

Port : 9987

Target : ts.tldrtips.com

Priority is the order in which SRV record of the same type will be looked at, a priority of 0 is the highest priority, this could be used to have fall-back servers if your main server is down, but TeamSpeak does not have this ability so we’ll keep it as 0.

Weight is considered when 2 records have the same priority, this could be used in other services for load balancing servers, but, again, TeamSpeak does not have this functionality.

Port will be the port of your TeamSpeak server, by default this is 9987, which we’ll sue here, your host may have given you a different port to use, so please check. this is NOT the query port of TeamSpeak.

Target is a pointer to the A record we made before we started to make this SRV record, this has to match the A record you made earlier or nothing will work.

TSSRV3.png

 

Press the save button. After all that is done you should have a working SRV record for TeamSpeak, you should see something similar to the following if all is working and well.

TSSRV4.png

 

Now you have a new SRV record set up, why not promote it on a TeamSpeak Server List? The extra exposure could help you become the number one server on the planet some day.

Too complicated? You can make a free Private TeamSpeak channel on many TeamSpeak servers.

TeamSpeak Server on Linux/BSD

Generic Linux Install Instructions

Create a new user to run the TeamSpeak server under, this is very important so you keep processes separate from each other.

adduser teamspeak

Switch to the teampseak user

su teamspeak

Download the latest Teamspeak server from https://www.teamspeak.com/en/downloads/#server

wget https://files.teamspeak-services.com/releases/server/3.13.6/teamspeak3-server_linux_amd64-3.13.6.tar.bz2

Unpack the archive

tar xvjf teamspeak3-server_linux_amd64-3.8.0.tar.bz2

Change directory to the folder

cd teamspeak3-server_linux_amd64

Run the TeamSpeak server

./ts3server_startscript.sh start

Your console will show a server admin/password and server token, save these in a safe place for later. The server should be started at this point, With your TeamSpeak client connect to the IP of your server, when you connect a windows will pop up asking for the server token, this is the longest random string you were given in the previous step, enter this and you will be given server admin. You can now administrate your TS3 server instance as you like.

Generic BSD Install Instructions

Create a new user to run the TeamSpeak server under.

fetch http://dl.4players.de/ts/releases/3.0.13.8/teamspeak3-server_freebsd_amd64-3.0.13.8.tar.bz2 

Unpack the archive

tar xvjf teamspeak3-server_freebsd_amd64-3.0.13.8.tar.bz2 

Change directory to the folder

cd teamspeak3-server_freebsd_amd64 

Run the TeamSpeak server

./ts3server_startscript.sh start

 

Your console will show a server admin/password and server token, save these in a safe place for later. The server should be started at this point, With your TeamSpeak client connect to the IP of your server, when you connect a windows will pop up asking for the server token, this is the longest random string you were given in the previous step, enter this and you will be given server admin. You can now administrate your TS3 server instance as you like.

Now you have your shiny new server, why not promote it on a TeamSpeak Server List? The extra exposure could help you become the number one server on the planet some day.

© 2024 TL;DR Tips

Theme by Anders NorénUp ↑