On the Mac “lsusb -v” is rather clean in comparison to other systems.
Category: Raspberry Pi
UNIX – Start Service If Not Running
Currently this script is developed for my Raspberry Pi (Debian, Raspbian) but in time I will have it working for RHEL (Red Hat, CentOS, Fedora). In the example above I’m checking if OpenVPN is running, if it is not running it will start the service. I set this script up…
UNIX – Set SSH Banner
Obviously it will be slightly different depending on your network and version but it will look something like this. Kittell.net WARNING This computer system is the property of Kittell.net. It may be accessed and used only for authorized Kittell.net business by authorized personnel. Unauthorized access or use of this computer…
UNIX – SED Replace Tab with Space(s)
Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces
Raspberry Pi – Debian – Ad Block Service
The code below will assist you in creating one or more Raspberry Pi ad block service DNS servers. Equipment List: 2 (suggested but you can do it with one) Raspberry Pi Microcomputers Raspberry Pi 3B+ (or better) are recommended (look at CanaKit (http://amzn.to/2vxgLLD)) 1 USB Keyboard and USB Mouse 1…
Raspberry Pi – Remove Default Apps
If you setup your Raspberry Pi using the NOOBs installer you likely have various apps that you don’t want to keep. This script below will remove many of the preinstalled applications. wolfram-engine bluej geany greenfoot nodered nuscratch scratch sonic-pi libreoffice claws-mail claws-mail-i18n minecraft-pi pygame If you are running as a…
UNIX – Pi-Hole Project – Statistics
If you are using Pi-Hole you may find this script useful Currently this is designed to run on the server that is running Pi-Hole but as I have more than one I want to monitor I will soon have an update for additional. First make sure you update your /var/www/html/admin/scripts/pi-hole/php/data.php…
NMAP – Find Machines On Your Network
NMAP (a form of ARP list) is a tool for scanning your network for machines that are up or down along with pulling some helpful information from the machines that are up. Similar to Remotely Find Raspberry Pi IP but this is a bit more in-depth First install nmap if…
UNIX – Display Network Information
The following code will give you network specific information about your server/computer.