mdlueck's blog

"Who keeps touching / overwriting /etc/resolv.conf?" Parallels Virtuozzo / Power Panel

I was quite perplexed at what kept touching / editing the /etc/resolv.conf file on a server I was setting up. A web search turned up suggestions that perhaps this OS configuration included Network Manager, which when installed becomes responsible for that file. I checked and Network Manager was not on any of the available servers I could check, including the server with the issue.

I found other suggestions to simply use the chattr command thusly:

chattr +i /etc/resolv.conf

"CiviCRM on Drupal for Missions" Presentation from 2011

I offered a presentation at the 2011 ICCM conference about our work implementing CiviCRM running on Drupal this past year for Christians in Recovery. The presentation includes a general overview of CiviCRM's capabilities, and also how the CIR site is making use of CiviCRM.

Presentation in PDF format

HOW-TO: Fixing Bad Updates for Windows 2000 / Win2K Security Update For Microsoft Visual C++ 2005 / 2008 KB2467174 and KB2467175

Recently my trusty Microsoft Windows 2000 computers requested to apply Security Update For Microsoft Visual C++ 2005 / 2008. At first I thought how kind of Microsoft to even include Windows 2000.

Security Update For Microsoft Visual C++ 2005 / 2008 KB2467174 and KB2467175

Boy was I mistaken! Horror of horrors, said updates are not compatible with Windows 2000! If you get bit too, here is how you easily go back:

Leveraging PARSE from Open Object Rexx in Bash

Some time ago, I was lamenting that Bash did not have something comparable to PARSE found in Rexx / Open Object Rexx. Shortly I received a reply from Dallas Legan that he had built a tool capable of exposing the power of PARSE and allow it to be used within Bash scripts. That concept totally rocks! That tool may be found here:

"A Simple, General Command Line Filter In REXX"
http://www.scoug.com/os24u/2001/scoug010.parsetool.html

HOW-TO: Connect Windows to a CUPS Network Printer

Recently I had found that it is far more reliable to connect CUPS on client workstations directly to CUPS on a Linux server rather than getting Samba involved. (Blog post here) With that in mind, I went searching for how to do the same for Windows workstations. Microsoft calls such capabilities "Internet Printing" within Windows, and it is very easy to have the same success with Windows machines.

HOW-TO: Sending emails from the Command Line with Ubuntu Linux using sendEmail

For some time I had been of the opinion that sending emails from the Linux Command Line Interface (CLI) simply had to be more complicated than with Windows using Blat. Not so! Over the weekend I learned of sendEmail which offers equivalent functionality.

HOW-TO: Fixing USB 2.0 HDD / Flash Storage Devices on Ubuntu 10.04 Linux

There is a nasty / annoying bug in Ubuntu 10.04 LTS (Lucid Lynx) Linux which prevents attaching USB storage devices such as hard disk drives (HDD) and Flash memory stick drives. With the assistance of others in the Ubuntu bug tracker system, I just arrived at a little script which successfully corrects the Plug-n-Play (PnP) detection problem. It is as follows, fixext_backup.sh:

Note: You need to run this script as root (aka sudo the script).

#!/bin/bash -x

cd /sys/bus/pci/drivers/ehci_hcd

USBDRIVE=`/usr/bin/find ./ -name "0000:00:*"`
echo $USBDRIVE

Custom assembled attractive dark blue theme for GNOME with Mist and Gion

I recently got a bit bored with my usual Clearlooks GNOME theme. I wanted something with non-rounded controls and dark blue active title bars. Here is what I came up with.

1) First I added a couple of Ubuntu GNOME theme related packages. Both are required as Mist comes from one and Gion is in the other.

apt-get install gnome-themes-extras gnome-themes

2) Next customize the Mist theme as follows:

System \ Preferences \ Appearance \ Mist \ Customize...

Controls: Mist
Colors \ Selected Items \ Background: #3B5998

HOW-TO: Apache Virtual Host (Multi-Site) and mod_ssl (SSL) can be compatible

Some time ago I found documentation lacking for how to successfully configure name-based Apache Virtual Host (Multi-Site) and allow one of the domain names to have mod_ssl (SSL) enabled while having only a SINGLE static IP address. The answer turned out to be... "You must set up your Apache configuration files correctly!" Here is what I discovered.

HOW-TO: Opening SeaMonkey new message window for mailto: links with Firefox on Ubuntu Linux

I recently switched my email client from Mozilla Thunderbird 2.x to Mozilla SeaMonkey (latest) as Mozilla Thunderbird 3.x is so undesirable. Things were working quite well. I found the place to set which component of SeaMonkey it opens to on start up and selected the Mail component.

However there was one annoyance! In Firefox when a web page has a mailto: link, clicking that link would not open a new SeaMonkey email window... I would only see the SeaMonkey program flash in the lower panel within Ubuntu Gnome desktop.

Syndicate content