Thanks for excellent guide!
Few points:
- For those running old 9.10.* FreeNAS -> You can create new Jail template by using Inage URL:
http://download.freenas.org/jails/10/x64/freenas-pluginjail-10.3-RELEASE.tgz
- For the "Ports Collection support for your FreeBSD version has ended" -> Just
setenv ALLOW_UNSUPPORTED_SYSTEM yes
and you're good to go. No need to edit the make.conf.
-
Step 4. (admin token) in the OP does not make sense since TS was not started yet. Move this bellow step 6 (start of TS)
-
Step 7. (serverquery) - This was actually a fcking madness and took me three hours to figure it out!
-- In TS client -> Tools -> ServerQuery Login -> Generated credentials will NOT WORK for server query ! (Not even for your User which used the admin token - ID2)
-- Default "password" for "serveradmin" user DOES NOT WORK either
-- This is what you need to do:
Stop the TS server
service teamspeak stop
Add "serveradmin_password=<whatever>" to "/usr/local/etc/teamspeak/ts3server.ini" (created if does not exist). So like
echo "serveradmin_password=WhatAfKingMess" >> /usr/local/etc/teamspeak/ts3server.ini
Start TS server again
service teamspeak onestart
Open telnet by using the Jail IP and port 10011 and you can logon to serverquerry like this:
login client_login_name=serveradmin client_login_password=WhatAfKingMess
use sid=1
Now you can generate a new token for ServerQuery Aadmin
tokenadd tokentype=0 tokenid1=2 tokenid2=0
The user who uses the token will now have ServerQuery Admin rights (Red shield with "S" icon).
Copy the generated token and log-in to the TS server via standard client. Then "Permissions" -> "User Privilege Key" and use the key you generated.
Also you need logon credentials to be generated. So in TS client go to "Tools" -> "ServerQuery Login". Pick your username and confirm. It will generate a password for you. Write that down!
Now just stop the TS3 server and remove the "serveradmin_password=..." line from ts3server.ini (i assume you don't want the pwd stored in plaintext there)
Start the TS server again and you can now login to server query via your own user and generated password.
Also o i recommend to use
YaTQA which is a nice GUI for TS3 ServerQuerry
// @obsodien : 4 years from your question but better later than never. ^^
-
Step 9. (start/stop) - There is no "teamspeak
3" service, only "teamspeak".
One more hint... if you want to change the port on which TS is running (get rid of the default one) then follow this:
- You will need sqlite3 so either install that pkg into jail or just use the one in FreeNAS (or at least i have it there - not sure if it is default or i installed it few years back)
So SSH to your FreeNAS and go to /mnt/<path_to_jail_storage>/<jail_name>/var/db/teamspeak
cd /mnt/redpool/jails/tspeak/var/db/teamspeak
Open the sqlite DB file
sqlite3 ts3server.sqlitedb
Change the port as desired (33333 as example)
update servers set server_port=33333 where server_id=1;
Start the TS server and test the new port :]