From TurnKey+MediaWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Join a server

/server add <servername> <server-url>/<port> -ssl -autoconnect
/connect <servername>

Join Freenode

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

accept self signed ssl certificate

/set irc.server.example.ssl_verify off

Set autojoin Channels

/set irc.server.<servername>.autojoin "#<channel1>,#<channel2>,#..." 

Hide Username from Weechat window

you may want to show off your weechat with a screenshot and may want to hide your Username by default, to do this, enter the following in weechat:

/script install iset.pl
/iset input
/set weechat.bar.input.items "[input_search],[input_paste],input_text"

set and register Nickname


/set irc.server.<ircserver>.sasl_mechanism PLAIN
/set irc.server.<ircserver>.sasl_username <login>
/set irc.server.<ircserver>.sasl_password <password>
/reconnect <ircserver>


/nick <yournickname>
/msg nickserv register <password> <email>

After that, you should get an email with your verification code. Verify via:

/msg nickserv identify <verification-code>

Set Username for specific Server

/set irc.server.<server>.nicks <yournickname>

Set Char length in front of messages

/set weechat.look.prefix_align_max <integer>

TORify Weechat


Create a new certificate TLS. ref

mkdir ~/.weechat/certs
cd ~/.weechat/certs
openssl req -x509 -new -newkey rsa:4096 -sha256 -days 1000 -nodes -out freenode.pem -keyout freenode.pem

Find sha1sum fingerprint.

openssl x509 -in freenode.pem -outform der | sha1sum -b | cut -d' ' -f1

switch to ssl

Into weechat, we switch to ssl.

/msg nickserv cert add <sslkeysha1>
/set irc.server.freenode.ssl_priorities "NORMAL:-VERS-TLS-ALL:+VERS-TLS1.0:+VERS-SSL3.0:%COMPAT"
/set irc.server.freenode.ssl_cert "%h/certs/freenode.pem"
/set irc.server.freenode.sasl_mechanism external
/set irc.server.freenode.ssl on
/set irc.server.freenode.addresses "chat.freenode.net/6697"
/reconnect freenode


Finally, to use tor. (tor should run)

/set irc.server.freenode.addresses "freenodeok2gncmy.onion/7000"
/proxy add tor socks5 9050
/set irc.server.freenode.proxy "tor"

You have to disable ssl_verify which doesn’t work with TOR.

/set irc.server.freenode.ssl_verify off
/reconnect freenode

Enhance your privacy

Add somes settings below to weechat. detail from faq

/set irc.server_default.msg_part ""
/set irc.server_default.msg_quit ""
/set irc.ctcp.clientinfo ""
/set irc.ctcp.finger ""
/set irc.ctcp.source ""
/set irc.ctcp.time ""
/set irc.ctcp.userinfo ""
/set irc.ctcp.version ""
/set irc.ctcp.ping ""
/plugin unload xfer
/set weechat.plugin.autoload "*,!xfer"

Save all our works: