# Monthly Archives: May 2009

## CentOS and Attansic L1 Gigabit Ethernet

There are quite a few mainboards with an onBoard Attansic Gigabit Ethernet Chip: The corresponding driver is part of the mainline kernel since 2.6.21 (April 2007), but CentOS 5.x still uses a kernel version (2.6.18) which lacks this feature. Jay Cliburn did quite a few enhancements on the original driver from Xiong Huang of Attansic and he even built an… Read more »

## Send a fax transmission confirmation via eMail

Just as you can formward incoming faxes to you eMail account, you can send a transmission confirmation when a facsimile was sent successfully. You can even send a copy of the fax along with it. bin/notify is the command script invoked by the facsimile server to notify a user about the status of an outbound job. It parses etc/FaxNotify so… Read more »

## Forwarding incoming faxes via eMail

bin/faxrcvd is the command script invoked by the facsimile server whenever a facsimile is received. It parses etc/FaxDispatch so you can customize the script by editing the parameter file. To forward incoming facsimiles to you eMail address change FaxDispatch accordingly: Allowed values for the FILETYPE variable are ps, tif or pdf. Note that non-ASCII filetypes require an encoder (but normally… Read more »

## Googlemail and sSMTP on CentOS

sSMTP is a very simple and straightforward alternative to big MTAs like sendmail or Exim. Unfortunately CentOS repositories don’t come with it, so you have to fetch it from Fedora’s EPEL repo. After activating the ‘Extra Packages for Enterprise Linux’ repository, you can install sSMTP: Configuration is rather simple. Just change the following values in your /etc/ssmtp/ssmtp.conf You can test… Read more »

## Assign hardware to DomU with PCIBack as module [Update]

If the Dom0’s kernel is built with pciback as a module (grep CONFIG_XEN_PCIDEV_BACKEND /boot/config-uname -r), using the kernel command-line parameter pciback.hide won’t work. There is of course more than solution how you can assign hardware to a domU, but the probably easiest one is to to pass the hide parameter to the pciback module in /etc/modprobe.conf: The xensouce mailing list… Read more »

## Shutting down xen domUs without saving them

Per default, CentOS 5.3 saves a domU’s state when the hypervisor is shut down. In principle this a nice behaviour: The domU will restore its state automagically when the hypervisor comes up again and just continue working. But there are some services (e.g. mldonkey) that don’t like to be restored and refuse to work (i.e. keep in a blocked state… Read more »

## How to resize xen disk images

This is an easy one: You just append zeros at the end of the corresponding image file (here 1GB): You may want to shutdown your domU before changing its image file. After appending the zeros, you can restart the domain and expand its filesystem.

## Online resizing ext3 partitions

First, we have to delete our current partition and create a bigger one (don’t be afraid, no data will be lost): Type m to get a list of all commands: Let’s print out the partition table and look for the ext3 partition, we want to enlarge (it’s easy here, there is just one partition): Now we delete the old partition… Read more »

## Staring X applications through an ssh tunnel

If you encounter the problem of being unable to start an X application through an ssh-tunnel and run into an error message similar to or you should check that you used ssh -X[…] to enable X11 forwarding when connecting to the server that the xauth-package is installed correctly on your server xauth is used to edit and display the authorization… Read more »

## Fix for Cursor Keys in VMware server

To make the Arrow Keys (and other cursor control) work in VMware 1.0.x server: You can of course change vmware’s configuration per user (not globally!) by pasting the keycodes in ~/.vmware/config Found in chrisdew’s blog