Misunderstanding about the configuration of of znc
I love znc, A irc bouncer. Today, i introduce znc to younger colleague. Then i realized i was wrong to configure of znc.
When we $ znc --makeconf
, it generates .znc/configs/znc.conf
.
It's something like this.
<User freenode> Pass = sha256#foobarfoobarfoobarfoobarfoobar Nick = banyan ... Server = irc.freenode.net 6667 </User> <User bogus_user> Pass = sha256#foobarfoobarfoobarfoobarfoobar Nick = banyan ... Server = irc.somewhere.net 6667 raw_password </User>
The section of Pass
, we should use my (own) password, not the password of IRC server.
How to generate it? use $ znc --makepass
command. then paste it.
If irc server requires password, we should add raw password to Server
section.
Server = irc.somewhere.net 6667 raw_password
i didn't distinguish between these passwords so always was confused to configure it :S
Also we encountered this error message.
<*status> Cannot connect to IRC (Cannot assign requested address (Is your IRC server's host name valid?)). Retrying...
I wasn't sure, but this post helps me :)