Telnet SSL

If you want to test a SSL connexion (like “telnet <host> 80”), you can use this command :

openssl s_client -connect <host_ssl>:443

Thanx to skanx !

Posted in Dev

Install new kernel on Sheevaplug

Follow these steps to install new kernel to your sheevaplug :

sudo modprobe ftdi_sio vendor=0x9e88 product=0x9e8f

dmesg (to get wich ttyUSB)

kermit -l /dev/ttyUSB1 -b 115200

> connect

> root / nosoup4u

> reboot

> [during UBoot, cancel boot with a key]

> follow instruction of one new kernel

If you need to reset your uboot environnement : http://www.plugcomputer.org/plugwiki/index.php/Factory_Default_u-Boot_Environment

Kernel with dm_crypt support : http://photon123.dyndns.org/sheeva/README-2.6.31-06466-g4c203e00

courier-imap-ssl : malloc issue

If you get this issue :

Starting Courier IMAP-SSL server:/etc/init.d/courier-imap-ssl: xmalloc: ../bash/make_cmd.c:99: cannot allocate 555 bytes (0 bytes allocated)

Simply edit /etc/courier/imapd and change :

IMAP_ULIMITD=131072