Networking • Automation • Occasional Podcasting

Category: Linux

  • Self Service Troubleshooting Using ServiceNow and Ansible Tower
    , , , , ,

    Self Service Troubleshooting Using ServiceNow and Ansible Tower

    Holy cow did I learn a lot on this one. It took me the better part of two weeks to put it all together/learn everything required. This was actually my first go at automating Windows and I learned a LOT. The idea behind this setup is that if a user can’t access a TCP based…

  • ,

    Centos 8 curl: (60) SSL certificate problem: EE certificate key too weak

    When trying to hit the Rest API in a Yealink phone I was getting the following from cURL: curl: (60) SSL certificate problem: EE certificate key too weak Turns out this is a good thing as it is the system killing old ciphers. To get Centos8 to accept legacy protocols it’s a simple command and…

  • , ,

    Delete MYSQL Entries Older Than Two Weeks

    I have an old cacti install plugging away that chokes on the number of syslog entries if I let them stack up longer than two weeks, so here’s a simple cron job I scheduled that runs nightly deleting everything older than 2 weeks: mysql -e 'delete from syslog where date < current_date() – interval 14…

  • ,

    Update Root Hints Bind 9

    The root hint file is used by your bind server to lookup domains it doesn’t have cached. Every so often the root server IPs change, so keeping this file updated is a good idea. Here’s a quick and dirty way you can update your bind 9 root hints via a cron job. You can schedule…

  • , ,

    RadiusManager Time Expiration Update Script

    RadiusManager by DMASoftlabs is a cheap, easy to use radius front end that will authenticate pppoe, hotspot, whatever accounts. One downside is the support isn’t the greatest. You occasionally have to do some hacking on your own. The particular fix I made with this script is that if you have date expiration customers(as in they…

  • ,

    Linux Script To Test Secure POP3

    I placed the script int he root folder as /root/poptest.sh. #!/bin/bash echo "x" | openssl s_client -connect 127.0.0.1:995 > /root/pop3test.txt if grep -Fq "POP3 server ready" /root/pop3test.txt then # code if found echo "found" else # code if not found echo "not found" service zimbra restart fi I then created a cron job that runs…

  • How To Setup A Backup Radius Manager Install
    , , ,

    How To Setup A Backup Radius Manager Install

    Radius Manager is a product from DMA softlabs that acts as a radius authentication system for your wireless or hotspot clients. I personally use it for my hotspot clients in Mikrotik. The point of this article is to show you how to add some redundancy to your configuration. The software is licensed via a MAC…