Starlight
blog of Joost Yervante Damad
blog of Joost Yervante Damad
Jul 17th
For some reason the avrdude binary that is shipped with arduino-0018 has no support for the USBtiny programmer which I use to burn bootloaders on blank AVR atmega328 microcontrollers.
On Debian the workaround is simple: first install avrdude via apt-get/aptidude and then enter the hardware/tools directory in the arduino-0018 dir and replace avrdude by a softlink to /usr/bin/avrdude like this:
$ cd arduino-0018/hardware/tools $ mv avrdude avrdude.old1 $ ln -s /usr/bin/avrdude . $ mv avrdude.conf avrdude.conf.old1 $ cp /etc/avrdude.conf .
After this burning a bootloader via the menu in arduino works fine again. A similar approach will probably work on other Linux distributions.
May 7th
Since I still run my own mail infrastructure, I also run anti-spam and anti-virus on it.
Today I noticed that free space on my server running lenny was ALOT less then usual. Turned out that clamav was crashing all the time causing lots of temporary files in /var/lib/amavis/tmp.
An upgrade of clamav also stopped the crashes.
While at it I also disabled quarantining virus mails, I never had to retrieve any mail out of there anyway…
Feb 12th
A few months ago I did an interesting discovery about using my cellphone to go on the internet via bluetooth. I had this strange situation before where it just stopped working, and after revisiting all configs it worked again.
What really happens is that my cellphone somehow crashes, after which I power cycle it by removing the batteries. The phone then boots again, but here is the twist: the service channels in the phone are re-allocated and apparently in a random order!
This implies that the RFCOMM channel configured in the /etc/bluetooth/rfcomm.conf file is possible wrong now!
Solution: just browse the services again with sdptool browse, adapt the file and it should work again!