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 »
This is a little known reghack: When Windows stores files in a folder on an NTFS partition, it still creates so-called 8.3 file names for compatibility with 16-bit Windows programs. When a folder has more than 4000 file entries, it becomes noticeable that access performance decreases. When the folder has more… Read more »