Archive for March, 2005

Font size of Gnome2 apps in KDE with no Gnome2 installed

To set the font type and size for the gnome applications used under KDE3 and no Gnome2 installed, you don't have the gnome-control-centre.

Edit the following file:

$ vi ~/.kde3.3/share/config/gtkrc

Add the font_name parameter to the default style section:

style "default"
{
font_name = "Cursor 8"
}

In the style "default" section there might be lots of other stuff, just add the font_name at the end. Any new started gnome application now uses this font as a system font.

No Comments »

K3b met nieuwe Linux kernels > 2.6.7

Laatst mijn kerneltje geupdated en wat blijkt, mijn brandsoftware K3b wat ik zeer goed vind en veel gebruik, deed het niet meer goed...

Bleek dat Linus vond dat dat hele cdrecord gebeuren maar gebruik moest gaan maken van de ide-interface, ipv de hele tijd scsi te emuleren... Op zich een goed streven want tegenwoordig brand iedereen met ide devices, maar de cdrecord-programmeur, dhr. Schilling, had daar ff geen zin in want hij gebruikt geen Linux maar Sun Solaris, met scsi-support uiteraard.

Continue Reading »

No Comments »

Gentoo 1.4 with Apache2 and PHP 4 error

When i tried to upload a file larger than 580Kb i got the following error in apache’s error_log:

Requested content-length of 670955 is larger than the configured limit of 524288

After googling for quite a while i found the following solution and it works:

Problem noted on Gentoo 1.4 with Apache 2.0.x, the error "Requested content-length of 670955 is larger than the configured limit of 524288" was occuring under Apache and a "Page not found" would appear in the browser. Trying the above settings made no change with PHP, but on Gentoo there is an additional PHP config file, /etc/apache2/conf/modules.d/70_mod_php.conf, and increasing the number on the line "LimitRequestBody 524288" solves the issue.

The same problem also exists on RedHat 8.0/9.0.

No Comments »

Laat de cron stoppen met sturen van mail naar root

Hoogst iritant... run je bijvoorbeeld mrtg vanuit de cron krijg je elke 5 minuten een mail naar root... mailbox groeit en groeit met nutteloze mailtjes. Als je wilt dat de cron helemaal niet meer mail doe je dit:

je cron editen (crontab -e) en :
MAILTO=""
bovenaan je cron te zetten wordt er niet meer gemaild.
Je zou ook MAILTO=othermailbox kunnen doen om de mail naar die user te laten sturen.

Standaard mailt de cron naar de owner van die crontab.

No Comments »

Razor problem on FreeBSD

After installing spamass-milter (Spamassasin) on FreeBSD 4.10 you need to run razor-admin -register.
I got the following error:

Can’t locate object method "catdir" via package "File::Spec" at
/usr/perl5/site_perl/5.005/i386-freebsd/Razor2/Client/Config.pm line 195.

The problem could be fixed by adding:

use File::Spec;

to the Config.pm file.

It seems that it isn’t loaded automaticly.

No Comments »

Here we go again….netboot setup of Open|Net-BSD

Daar gaan we weer. Voor de grap nog een keertje de www.bokko.nl opzetten, dus eerst preppen echter nu eens met OpenBSD. Heb een verslag/howto gemaakt in het Engels voor het gemak, mocht dit nog eens een keertje voorkomen voor mezelf of iemand anders, inclusief netboot en zo want dat is leuk...
cimg_1100.JPG

Het is in het engels want anders hebben buitenlanders er ook niks aan:

Install OpenBSD-3.6 on Sun Sparcstation 20 using netboot with linux-PC using serial console cable and network connection. Reason is that OpenBSD has the ability to support multiple processors which I have installed in this machine.

Continue Reading »

No Comments »

GnuPG (encrypted email/files) on *n?x or *BSD

This is a manual how to get encrypted messages or files working on your computer, using GnuPG or gpg.

Reason: cool-factor is high and you always know that the mail has been send by someone you can trust...

Reason to write this one: There are a lot of caveats when setting this up. Many progs and libs are under development so this might change in near future.

Continue Reading »

No Comments »