Install and setup irssi and oidentd on Debian

Install irssi and oidentd:

# apt install oidentd irssi irssi-scripts build-essential

See that oidentd is now running:

# ps aux | grep oidentd

You should see output like:

oident 5107 0.0 0.0 8772 160 ? Ss 16:50 0:00 /usr/sbin/oidentd -mf -P 12.34.56.78 -u oident -g oident

Run irssi:

$ irssi

Inside irssi, install script(s):

/run scriptassist
/script install nickcolor.pl
/script autorun nickcolor.pl

Authenticate automatically on startup using SASL:

/network add -sasl_username foobar -sasl_password changeme -sasl_mechanism PLAIN Freenode

Setup irssi to connect on startup:

/server add -auto -network Freenode chat.freenode.net

Setup irssi to join channels on startup:

/channel add -auto ##linux Freenode
/channel add -auto #freebsd Freenode
/channel add -auto #openbsd Freenode
/channel add -auto ##c Freenode
/channel add -auto #perl Freenode
/channel add -auto #raku Freenode
/channel add -auto #ruby Freenode

Ignore joins, parts, quits, and nick updates:

/ignore * join part quit nick

Save settings:

/save

debian (5) irssi (1) oidentd (1)