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.

Weechat

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

Connecting to ZNC[edit]

SSL[edit]

Connecting[edit]

Connections to ZNC using SSL:

First get the fingerprint of the self-signed cert

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

Troubleshooting[edit]

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 my.bouncer.net/6697 (SSL)...
  05:46:58     BNC =!= | irc: connection refused

Non SSL[edit]

This is for plain non-ssl connections.

 /server add BNC my.bouncer.net/6667 -username=username/network -password=password -autoconnect
 /connect BNC
 /save  

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