Connecting to Freenode using irssi+sasl on Debian

If you get the "You need to identify via SASL to use this server" error when connecting to Freenode, try the following.

In shell:

cd \~/.irssi/scripts/
sudo aptitude install libcrypt-openssl-bignum-perl libcrypt-dh-perl

In irssi (see "Connecting to freenode using Tor: SASL" on Freenode blog for details):

/sasl set <network> <username> <password> <mechanism>