To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

ZNC website has died on 29 March 2017, without fresh backups. Wiki is now back from dump of July 2015. Please help restoring the lost content.


From ZNC
(Redirected from WeeChat)
Jump to: navigation, search

Connecting to ZNC[edit]



Connections to ZNC using SSL:

First get the fingerprint of the self-signed cert

 $ openssl s_client -connect </dev/null 2>/dev/null | openssl x509 -in /dev/stdin -noout -fingerprint -sha256  | sed s/://g | cut -c 20-
 /server add BNC -ssl -username=username/network -password=password -autoconnect
 /set irc.server.BNC.ssl_fingerprint PutFingerPrintHere
 /connect BNC


It does not connect.

If port 6697 is the SSL port, you need to specify that it's SSL port with /set irc.server.BNC.ssl on

This is a failed attempt due to not specifying the "irc.server.BNC.ssl on" or "-ssl"

  05:46:47     BNC =!= | irc: connection refused
  05:46:47     BNC  -- | irc: reconnecting to server in 10 seconds
  05:46:57     BNC  -- | irc: reconnecting to server...
  05:46:57     BNC  -- | irc: connecting to server (SSL)...
  05:46:58     BNC =!= | irc: connection refused

Non SSL[edit]

This is for plain non-ssl connections.

 /server add BNC -username=username/network -password=password -autoconnect
 /connect BNC

Specifying username/network:password later[edit]

 /set irc.server.bnc.username username/network
 /set irc.server.bnc.password password

Disabling automatic switching of buffer[edit]

When you connect WeeChat to ZNC, your channels change a lot until you are joined everywhere. This can be disabled with the following commands:

 /set irc.look.buffer_switch_autojoin off
 /set irc.look.buffer_switch_join off