From Bhack
Jump to: navigation, search

Weechat IRC

Guide for using Weechat IRC client with #Bhack! on Ubuntu.

Install Weechat

Or request a shell account with Michiel for the Bhack shell server.

sudo apt-get update
sudo apt-get install -y weechat

Bhack IRC

Bhack IRC channel is hosted on smurfnet

Install Certificates

Retreive the CAcert root certificate and smurfnet chain certificate and install them /etc/ssl with dpkg-reconfigure.

cd /usr/share/ca-certificates
sudo curl http://www.cacert.org/certs/root.txt > cacert.crt
sudo curl http://www.cacert.org/certs/root.txt > ca.smurfnet.ch.crt
sudo dpkg-reconfigure ca-certificates

Configure Weechat

Start weechat


Configure defaults and add the server

/set irc.server_default.nicks <nickname>
/server add smurfnet irc.smurfnet.ch/6697
/set irc.server.smurfnet.ssl on
/set irc.server.smurfnet.ssl_dhkey_size 1024

Test connection to smurfnet

/connect smurfnet

Additional options


/set irc.server.smurfnet.autoconnect on 


/set irc.server.smurfnet.autojoin "#Bhack"

Reading material and guide to Weechat