website tracking
Logo
Japan
 
My Photo
Name: James Pearce
Location: Perth, WA, Australia

Powered by Blogger

Debugging Exim
Sunday, July 31, 2005
Useful Exim tidbit:

$ exim -v -odf someone@somehost
This is a test message.
.

The period (.) terminates the message, and it will print verbose log information to the stdout.

LDAP Inequality Filters
Saturday, July 16, 2005
Grr LDAP syntax is fussy.

Equality filter:

attribute=value

So what do you think the Inequality filter would be? attribute!=value? attribute!value? No, and no. We use brackets. No problem right? Right...

attribute!(value)
attribute(!value)
!attribute=value
!(attribute=value)

All nope.

You have to do it using BIMDAS, and then put the whole thing in brackets. Oh and the brackets will cause the equality filter to fail.

CORRECT: (!(attribute=value))
INCORRECT: (attribute=value)

Sigh....

Linux EXT Reserved Space
Wednesday, July 6, 2005
Linux ext filesystems reserve 5% of HDD space for the superuser by default. On a 100G drive, thats 5G! Lower this:

tune2fs /dev/ -m 2

To lower it to 2% or whichever value you want.

Wireless Trouble
Friday, July 1, 2005
I put the old Netgear WAB102 and straight away, 100% connection strength, even in the same place as the Dlink 624. Only 11Mb, but I get the full speed of that (1.5MB/s) as opposed to 48Mb and getting 20% speed (1.5MB/s) ;)

Upgraded the firmware on the Netgear, and it doesn't appear to drop the connection anymore. It even seems to support SNMP, so I'm going to set that up in a minute too ;)

Can't find the damn receipt for the 624 though...I'm hoping Harvey Norman will refund me, since the Dlink is obviously a POS and Dlink don't give me any support other than 'Interference' (even though the arials are right next to each other and 'general nature of networks' (and never responding to my request for clarification). Hmm. Might go watch some Voyager. ;)