Difference between revisions of "Weechat"

From Bhack
Jump to: navigation, search
 
Line 46: Line 46:
 
<pre>/set irc.server.smurfnet.autojoin &quot;#Bhack&quot;</pre>
 
<pre>/set irc.server.smurfnet.autojoin &quot;#Bhack&quot;</pre>
 
Reading material and guide to [https://weechat.org/files/doc/devel/weechat_quickstart.en.html#join_part_irc_channels Weechat]
 
Reading material and guide to [https://weechat.org/files/doc/devel/weechat_quickstart.en.html#join_part_irc_channels Weechat]
 +
 +
[[Category:Guides]]

Latest revision as of 14:17, 15 January 2015

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

/usr/bin/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

Autoconnect

/set irc.server.smurfnet.autoconnect on 

Autojoin

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

Reading material and guide to Weechat