dinsdag 5 juli 2011

#11 | screen, tor, irssi, freenode.org & ubuntu

This is not new. Setting this up was done before, but I still like to have it here so that I can read it again when needed.
I assume that nick is already registered on freenode.

sudo apt-get install tor irssi screen
sudo apt-get install libcrypt-dh-perl libcrypt-blowfish-perl libcrypt-openssl-bignum-perl

echo "mapaddress 10.99.99.99 p4fsi4ockecnea7l.onion" | sudo tee -a /etc/tor/torrc

mkdir ~/.irssi/scripts
mkdir ~/.irssi/scripts/autorun
cd ~/.irssi/scripts
wget http://freenode.net/sasl/cap_sasl.pl

cd ~/.irssi/autorun
ln -s ../cap_sasl.pl


Now, append
{
address = "10.99.99.99";
chatnet = "freenode";
port = "6667";
}

to the servers section in ~/.irssi/config

Now, simply run
screen torify irssi


And type
/sasl set freenode nick pass DH-BLOWFISH
/sasl save
/save

/server freenode


Hit CTRL-A D to detach the screen. Close your ssh session and play outside. Whenever you come back: type screen -r to reattach the screen.

Geen opmerkingen: