Categories
Software

Batch printer installation on multiple servers

Using the following bash script you can install multiple printers, on multiple servers. Each printer has its own description, location, PPD file (driver) and network path.

Categories
Software

Bluetooth pairing with dual boot Windows & Linux

If you have dual boot on your computer and use both – Windows and Linux – you have probably connected and reconnected your Bluetooth mouse & keyboard (or other Bluetooth devices) every time you reboot into the other operating system.

Categories
Android Wireless

How to bypass hotel WiFi captive portal

Being checked-in at a hotel, you always need WiFi access. Most of the times, hotels provide free WiFi, but with a catch: some require a password, some require a click on a „Connect” button and so on…

Categories
Software

Extract Windows serial number from BIOS

Recently I needed to reinstall Windows on a system and, unfortunately, I had lost the serial number. Using two simple Linux bash commands, I managed to find the serial number embedded into the computer’s BIOS. This is easy to accomplish on any computer and/or laptop that comes with Windows OS preinstalled.

Below I have censored the serial number (d’ohhhh!) and replaced it with XXXX.

Categories
r00t

Backup & versioning with RSYNC

You may already know rsync – the powerful tool which you use to synchronize files from one location to another. I am using it on every Linux server that needs scheduled backups, but this time I had to not only backup some files, but also to keep track of previous versions, due to users being sloppy with their work and sometimes it happened they have permanently deleted the files, without moving to Trash. (sigh!)

The following line of code may be saved in a file, as backupversion.sh to a folder of your choice (let’s say /root/backupversion.sh).