Configuring SASL for WeeChat

Here's a simple guide for password-based authentication, based on the WeeChat quick-start guide .

If you haven't already set up your connection to freenode, use this command:

/server add freenode chat.freenode.net/6697 -ssl

If you have already set up a connection to freenode, or if that command fails with a message like irc: server "freenode" already exists, can't add it!, then use these commands to ensure that SSL/TLS is enabled for your connection:

/set irc.server.freenode.addresses "chat.freenode.net/6697"
/set irc.server.freenode.ssl on

Now, configure SASL:

/set irc.server.freenode.sasl_mechanism PLAIN
/set irc.server.freenode.sasl_username <nickname>
/set irc.server.freenode.sasl_password <password>
/save

For more complete instructions, including non-password-based mechanisms, see the official Weechat documentation .