linux

View/Copy Windows RAID0 array from Ubuntu Live CD

I had a customer computer, which was running Windows XP Pro on a RAID 0 array (striping). There were twin 230GB hard drives, striped into a 460GB RAID0. Customer bought new 1 TB drives, and wanted them installed. This time, though, there would be no RAID, just one drive for the OS and programs, and one for the customer's data.

Small issue with eeePC dial-up over Palm Treo 755p

In a previous post, I wrote about setting up a tethered dial-up connection using a Palm Treo 755p and an eeePC.

It seems that during the upgrade process from Ubuntu 8.04 (Hardy) to 8.10 (Intrepid), something changed in the networking modules and broke this...a little bit.

Installing an APC UPS to support an Ubuntu server

I just had an opportunity to install a new APC (Model BN1250LCD) UPS to support an Ubuntu Linux server. Configuration was really easy thanks to this post on the Ubuntu forums and this post in Ubuntu's Community Help documentation.

The only oddity I noticed was that after starting apcupsd, there was no notice in the /var/log/apcupsd.events of the successful start. No big deal, I guess...it still responds to /etc/init.d/apcupsd status with all the happy details of the UPS' condition.

Changing IP addresses in a Linux-run LAN

I recently set up a Linux (Ubuntu) based network to allow VPN connectivity, and to avoid headaches1 I wanted to modify the internal IP address scheme from the default (192.168.1.0) scheme.

  1. 1. FWIW, the potential headache there is that if I'm on a friend's network, I've probably already been assigned an IP address from that segment (192.168.1.20, perhaps), so connecting to the VPN would cause problems with routing (because I'd have two IP addresses from the same segment, but from separate networks).

A Postfix open relay?? Who, me?

Earlier this week, I started receiving emails (apparently) from the folks at junkemailfilter.com. Actually, the messages are from unmonitored accounts on their mail servers, but let's not split hairs. The point is, jef is passing rejected email messages 'back' to me...apparently they're seeing (and stopping) spam messages that originated on my own mail server.

It looks like the header entry that's earning me the warning is this one, and others like it:

Received:

Installing Ubuntu 8.04 (Hardy Heron) on the Asus eeePC

After watching them for months, I bought an Asus 8GB eeePC from amazon.com. I want it for two main reasons:

Adding email accounts to Postfix without MySql

I can never remember how to add users to Postfix, mostly because I don't have to do it often enough to commit it to memory. Here it is...hopefully I can remember where I wrote it down next time...

These instructions assume a new user named 'new_user'. Credit to falko and his post on howtoforge for part of this code.

Create the new Unix user, and assign him to the 'users' group

root@jupiter:/home# useradd -d /home/new_user -g users new_user

Fixing the available packages list in Ubuntu

For several months, by Ubuntu server has complained every time I do an apt-get upgrade, with the following message:

dpkg: serious warning: files list file for package `[package name]' missing, assuming package has no files currently installed

There were easily a hundred packages that listed this way, and I couldn't figure out how to resolve it. Today, I ran across this post on the Ubuntu forums, which suggested the following command:

sudo dpkg --clear-avail

Apache Virtual Hosting problems

I thought I had a handle on setting up virtual hosts in Apache, but it looks like I knocked this site off the web for several days after reconfiguring my Subversion virtual host...oops. Back to the web to figure out what I'm doing wrong.

Syndicate content