Teamspeak Linux Setup

  1. Download proper Teamspeak server for your architecture.
  2. Create teamspeak user.
  3. tar -xvf *.tar.bz2
  4. vi /etc/systemd/system/teamspeak.service

[Unit]
Description=TeamSpeak 3 Server
After=network.target

[Service]
WorkingDirectory=/home/teamspeak/ts3s/
User=teamspeak
Group=teamspeak
Type=forking
ExecStart=/home/teamspeak/ts3s/ts3server_startscript.sh start inifile=ts3server.ini
ExecStop=/home/teamspeak/ts3s/ts3server_startscript.sh stop
PIDFile=/home/teamspeak/ts3s/ts3server.pid
RestartSec=15
Restart=always

[Install]
WantedBy=multi-user.target

5. systemctl start teamspeak

6. cat /usr/local/teamspeak/logs/* | grep “token”

7. Login to Teamspeak using client and enter token to take ownership.

Hits: 92

5Ghz WiFi and Windows 10

I have been having issues with devices maintaining connections to my 5Ghz SSID on multiple devices. After the latest Android update, it seems my phone is able to maintain reliable 5Ghz connections but my Windows 10 laptop was still having issues. After some searching I decided to update the driver and see if it made a difference. Its still too early tell for sure, but it seems the new driver is doing better. The AP in question is a Synology RT2600ac with SmartConnect disabled, running 2 separate SSIDs for 2.4Ghz and 5Ghz. Support has been of absolutely no use. They repeatedly stated they didn’t see any disconnects in the logfile dumps.

Normally I would only stay connected, if I could connect at all, for a few minutes.

System Manufacturer:LENOVO
System Product Name:20L50017US
BIOS Date:05/22/2018
BIOS Version:N24ET39W (1.14 )
OS Build:17763.1.amd64fre.rs5_release.180914-1434

The driver version I was having an issue with:
Device: Intel(R) Dual Band Wireless-AC 8265
Current driver version: 20.70.11.3
Driver date: 6-29-2019

The latest version in testing:
Device: Intel(R) Dual Band Wireless-AC 8265
Current driver version: 20.70.12.5
Driver date: 8-26-2019

I ran “netsh wlan show wlanreport” to get some insight on what was going on.
BOLD items below are 5Ghz specific errors and warnings. The 2.4Ghz SSID has been working without issue.

Session Success/Failures
Status Count
Successes 2
Failures 10
Warnings 16

Disconnect Reasons
Reason Count
The driver disconnected while associating. 8
The network is disconnected by the driver. 7
The network is disconnected because the user wants to establish a new connection. 4
The network is disconnected by the user. 2

The error I was repeatedly getting while trying to connect to the 5Ghz SSID is:
Failure Reason:The driver disconnected while associating.

The red Xs in the image below are all dropped connections to 5Ghz.

Hits: 308

Fucking w/ TinyDNS

Getting the serial number/change date for a domain on an authoritative server.

nameserver:/root # tinydns-get soa domain.com
6 domain.com:
193 bytes, 1+1+3+3 records, response, authoritative, noerror
query: 6 domain.com
answer: domain.com 60 SOA ns1.domain.com domain.com 2012043001 10800 3600 604800 3600
authority: domain.com 60 NS ns1.domain.com
authority: domain.com 60 NS ns2.domain.com
authority: domain.com 60 NS ns3.domain.com
<SNIP>

Hits: 133

Syslog: Log Levels

0 -> emerg —-> System is unusable.
1 -> alert ——> Should be corrected immediately.
2 -> crit ——–> Failure in the system’s primary application.
3 -> err ———> An application has exceeded storage.
4 -> warning -> An error will occur if action is not taken.
5 -> notice —–> Events that are unusual.
6 -> info ——–> Normal operational messages.
7 -> debug —–> Debug level logging.

Hits: 537

debian housekeeping

script /common/scripts/debianHK.sh

http://www.linuxquestions.org/questions/debian-26/how-do-i-get-apt-get-to-completely-uninstall-a-package-237772/
http://www.rootkit.nl/files/lynis-documentation.html

apt-get install deborphan debfoster

#apt-get remove –purge package
#apt-get clean

the later will clean the /var

#debfoster

will show files and libraries still left after the apt-get remove –purge, if you don’t recognize a library, keep it, later on, deborphan will give you a list of ‘orphaned’ libraries that are hanging with no use, and are safe to nuke.

if you make a mistake with debfoster, type ‘u’ and will ask you again if you want to keep it. When you are thru with it, invoke deborphan.

#deborphan

will give a list of libraries that are hanging just taking space, to get rid of them:

#deborphan | xargs apt-get -y remove –purge

when thru with that:

#apt-get clean

recently after a dist-ugrade to sid, it installed emacs21, i removed it, and debfoster found some files like emacsen, etc.

aptitude purge ~c
apt-get autoremove

Also you do not need the “remove” when doing apt-get remove –purge package, just apt-get purge package.

deborphan | xargs apt-get -y remove –purge

To remove all orphaned data packages run:

deborphan –guess-dev | xargs apt-get -y remove –purge

To see all the orphaned packages on your system run:

deborphan –guess-all

Hits: 6