When checking my cloned Ubuntu 14.04 LTS VM, I noticed that it still contained the volume group name from the original, which is of course not desired. It seemed fairly simple, but I kept receiving an error with update-grub, reporting the old Volume Group name: /usr/sbin/grub-probe: error: failed to get… Read more »
Eth0 static IP address configuration On the latest version of Raspbian (in my case, Raspbian GNU/Linux 8), you should not use /etc/network/interfaces to set up your networks. All configuration has been offloaded to the dhcpcd client. For a static IP address on the eth0 interface, you’ll need to edit file /etc/dhcpcd.conf For… Read more »
This bug I encountered last week. While writing a system to define printers and TCP/IP ports in bulk on Windows 2008 R2 servers, I got the report from the testers that a color printer defined with the HP Universal Printer PCL 6 driver wasn’t recognized as color when the port… Read more »
I just installed a new Ubuntu 13.04 server and thought I’d look into using gmail as relayhost for Postfix instead of Exim for a change. Postfix is the default MTA (mail transfer agent) on Ubuntu, so let’s set it up already… Installing packages: sudo apt-get install postfix ca-certificates libsasl2-2 libsasl2-modules… Read more »
Note: An update of this article for Windows 10 can be found here One of the more useful Windows features for Windows administrators is the Remote Server Administration Tools pack (RSAT). Apart from allowing you to install GUI elements in the Administrative Tools menu, this can also install the command-line… Read more »
The other day, I noticed something strange with Windows 7’s runas.exe command. When I specify a local user, a local administrator for instance, I normally use the “period-notation”, like: .UserName However, RUNAS.EXE threw an error at me: “RUNAS ERROR: Unable to acquire user password”. Luckily, this was easily solved. I… Read more »
In this article, I present an easy way to merge all video files in a directory using the Open Source tool mencoder (part of mplayer, the video player) using a batch file, suitable for Windows XP and later. The method below supports merging AVI, MPG, MP4, WMV and RM files.
Found this handy python script for sharing Clementine song status in Empathy….. regrettably it did not work on my Ubuntu 12.10 desktop installation…. Apparently you have to add a line (see the second line) about the character encoding nowadays….. so just to make it easier for other people… here’s the… Read more »
In this article I will give some extra information on the usage of CMD.EXE variables in batch files. These variables are stored in the so-called Environment, hence the name Environment Variables. There are two environments on a Windows machine: The System and the User environment. When a variable is set… Read more »
This week I needed to clear the ‘logon script’ field of all AD users (who had one set). While working on the code, I noticed you couldn’t just do ‘ objUser.scriptPath=”” ‘ as this would result in an error. So this was done with PutEx. The following will search for each… Read more »