• Gentoo on a Dell Poweredge 2650

    Just recently I have been trying to get SMP + Hyper-Threading enabled on our 2650, this has caused me no end of grief. I have finally managed to get a working (and stable!) kernel compiled. The version I am using is 2.4.22 from the vanila-sources, which is the same as 2.4.22 downloaded from kernel.org (or a mirror)

    The .config file for my working kernel is here, although the important bits are:

    • CONFIG_SMP=y
    • CONFIG_ACPI=y
    • CONFIG_ACPI_HT_ONLY=y
    • CONFIG_RTC=y

    When this is booted with the extra command line arguments acpi=ht HT works. Now i wonder if HT actually makes that much difference!

    Toby (Broken link http://www.bryans.org/toby/) has sent over a nice page over at IBM about Hyper Threading in Linux


  • Gentoo devfs problem

    I’ve had a problem with a gentoo machine not being able to find /dev/sdaX during the fsck portion of the boot process, after much arsing around I’ve tracked it down and fixed it. Details can be found here


  • ReiserFS tuning for Qmail

    Found this (Broken link http://www.jedi.claranet.fr/reiserfs-tuning.html) page while searching for reiserfs info. looks interesting.


  • Solaris init states

    just because i can never remember them

    • 5 is reboot
    • 6 is power-off


  • Setting up Spam Assassin with qmail

    Rather than using the qmail-queue patch and qmail-scanner to get Spam Assassin working with qmail this (Broken link http://bluesine.com/view?p=debian_qmail) page suggests replacing qmail-queue with a simple sh script.

    Seems to work on our internal work server, but of course you would need to put qmail-scanner in to check for viri.


  • Spam Assassin Web Configuration tool

    This is quite a nice web config generator for Spam Assassin.


  • Installing Spam Assassin on osX

    Ben Trott from MoveableType has written a usefull how-to on installing the assassin on osX.


  • OSX System Tuning

    If you need to increase shmmax or a similar parameter in the Darwin (Os X) kernel edit the file:

    /System/Library/StartupItems/SystemTuning/SystemTuning
    

    You are looking for lines like:

    sysctl -w kern.sysv.shmmax=4194304
        sysctl -w kern.sysv.shmmin=1
        sysctl -w kern.sysv.shmmni=32
        sysctl -w kern.sysv.shmseg=8
        sysctl -w kern.sysv.shmall=1024
    


  • Ports lookup

    Found a really usefull site with a huge database of internet ports.

    Also has a cool dns interface:

    robin@trillian robin $ nslookup -q=txt 80.tcp.portsdb.org
    Server:  junction.internal.image-data.com
    Address:  192.168.1.102
    
    Non-authoritative answer:
    80.tcp.portsdb.org      text = "http"
    80.tcp.portsdb.org      text = "Nimda"
    80.tcp.portsdb.org      text = "www-http"
    80.tcp.portsdb.org      text = "www"
    robin@trillian robin $
    

    Thanks to toby for the dig alternative:

    robin@trillian robin $ dig -t txt 80.tcp.portsdb.org
    
    ; <> DiG 8.3 <> -t 80.tcp.portsdb.org
    ;; res options: init recurs defnam dnsrch
    ;; got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUERY SECTION:
    ;;      80.tcp.portsdb.org, type = TXT, class = IN
    
    ;; ANSWER SECTION:
    80.tcp.portsdb.org.     3h54m53s IN TXT  "http"
    80.tcp.portsdb.org.     3h54m53s IN TXT  "Nimda"
    80.tcp.portsdb.org.     3h54m53s IN TXT  "www-http"
    80.tcp.portsdb.org.     3h54m53s IN TXT  "www"
    
    ;; Total query time: 117 msec
    ;; FROM: trillian to SERVER: default -- 192.168.1.102
    ;; WHEN: Mon Jul  7 11:43:43 2003
    ;; MSG SIZE  sent: 36  rcvd: 108
    
    robin@trillian robin $
    


  • Convert Apache/OpenSSL HTTPS Certificate to IIS

    How do I export my KEY file from Apache for use with Microsofts IIS?

    The following command will convert your Apache Key file to one that Microsoft IIS can recognise:

    openssl rsa -in ApacheKeyFileName.key -out IISKeyFileName.key -outform NET