stintel's blog

Gentoo, CUPS, HPLIP and HP Color LaserJet 3600n

Somewhere in June 2009, I became self-employed. Since it involves sending invoices, I decided to create a template with OpenOffice. After creating a new invoice, I export it as PDF and email it to the customer. Saves me paper, ink, envelopes, stamps, trips to the post office, fuel, ... You get the picture.

Unfortunately I still have to hand them in to my bookkeeping office on paper, so I still have to print them once. Which is what I've been doing since June 2009. Until I tried printing invoices from Q4 2009, somewhere in December. The printer refused to print anything.

Tags: 

Topics: 

Remote logging to syslog-ng

To be able to keep some log history of my OpenWRT based router, I want to send it's output to a remote syslog server.

Fortunately I have another machine that is running 24/7, so I don't have to send it over the WAN link to one of my servers in the datacenter. My HTPC is running Gentoo Linux, and I configured syslog-ng as syslog daemon.

Now, by default, syslog-ng does not listen on the "Well Known" syslog port, so we have to configure it to do so. Start with adding a new source to syslog-ng.conf:

source syslog_udp {
udp(port(514));
};

We also need to configure a destination, a file in this case, where syslog-ng will write logging information received on the syslog port:

destination df_wrt0 {
file("/var/log/remote/wrt0.log");
};

Tags: 

Topics: 

Zimbra on CentOS 5.4

Some time ago I started to experiment with Zimbra a little bit. I already installed it a few times, and I heard many good things about the new release.

Because I ran into several issues with Debian and Ubuntu in the past, I decided to try Zimbra on CentOS. So I installed a clean CentOS 5.4 VM to test Zimbra on. I downloaded ZCS 6.0.3 for RHEL5, and then the fun started ...

Tags: 

Topics: 

Pages

Subscribe to RSS - stintel's blog