Linux

Bbox 2 / Sagem Fast 3464 temperature

As you could read in one of my previous posts, I have been investigating my Sagem F@st 3464 modem a little, to see if it ran Linux (which it does). With the help of this topic, I was able to login into the modem with telnet. After entering the password and typing the "shell" command, I was presented an ash shell with BusyBox.

Whenever I login into a new Linux system, I have the habit of executing the uptime command. Doing that, I immediately noticed a load average of 1.00. So I checked with top, if anything was keeping the system busy. And yes, there is a process tr98* using about 100% of the CPU all the time.

Tags: 

Topics: 

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: 

Pages

Subscribe to RSS - Linux