MSSQL on Debian 11 bullseye | some hints

Server: Client: Your tools: You tune your settings using the /opt/mssql/bin/mssql-conf command. The changes are written to /var/opt/mssql/mssql.conf. You can tune this file manually. Start: Process: User and Group: Logging: sqlagent.errorfile is not supported, you can’t change log files location. returns ‘not supported’. The log files are written to /var/opt/mssql/log

telegram | channel linux console scripting setup

install telegram-send on mobile phone: create a public channel + get the url create a bot by talking to botfather + get the apikey (the leading number is part of the key) make your bot a channel admin run # telegram-send –config ~/.config/telegram-send-MYCHANNEL.cfg –configure-channel https://github.com/rahiel/telegram-send https://core.telegram.org/bots/api#formatting-options printf “huhu \U0001F4A8\n\U0001F4A7” | telegram-send –disable-web-page-preview –config ~/.config/telegram-send.conf –format […]

WSUS | Client error 0x80070643

Maybe a problem with Microsoft Defender signature update. Goto WSUS console and check the what patches were approved last week. If you’re lucky, the corpus delicti shows an error. Otherwise check the patch statistics of a client machine, check machines report in WSUS. Revoke the problematic one. It it doesn’t help, try this: %PROGRAMFILES%\Windows Defender\MPCMDRUN.exe” […]

Jitsi DIY | Debian

apt-get update apt-get dist-upgrade apt-get -y install openjdk-11-jre nginx Add default.conf to nginx/sites-available: server { listen 80 default_server; listen [::]:80 default_server; server_name _; include snippets/well-known.conf; } Link this file to nginx/sites-enabled. Add jitsi.mydomain.mytld.conf to nginx/sites-available: server_names_hash_bucket_size 64; server { listen 80; listen [::]:80; server_name jitsi.ir-media-tec.com; location ^~ /.well-known/acme-challenge/ { default_type “text/plain”; root /usr/share/jitsi-meet; } location […]

Radius testing

Avoid all these linux console tools named like ‘radiusclient’. Install freeradius Test your stuff with # radtest USERNAME USERPASS HOST 0 THESECRET Testing with SQUID: # /usr/libexec/squid/basic_radius_auth -h HOST -w SECRET Then type USERNAME USERPASS at the prompt. Will return OK or ERR…

USE GMAIL WITH YOUR OWN REPLY-TO

You can tweak your gmail account to add a customized REPLY-TO on every mail you send via this account: Open your gmail account settings. Select Accounts and Import Go to Send as Click Add another address Type in your name and the reply-to address you wish to use and select Use as alias Press Next […]