Anti idle module

znc-buildmod antiidle.cpp it will spit out a, mv it to ~/.znc/modules It is now installed and you can /msg *status loadmod antiidle   /* * Copyright (C) 2004-2012 See the AUTHORS file for details. * * This program is free software; you can redistribute it and/or modify it * under… Continue reading

ZNC Module List

Global Modules adminlog Log user connects, disconnects, and failed logins to a file and/or to syslog. blockuser Blocks certain users from using ZNC, saying their account was disabled. certauth This module lets users to log in via SSL client keys. cyrusauth This module is intended for admins who run a… Continue reading

How to add modules to ZNC

Compiling a module If you have the source code for a module, there are multiple ways to compile it. Please note: If you have installed ZNC from your distro’s repository you also need to install the dev package of ZNC (usually znc-dev or znc-devel) for building your own modules. make If you still have ZNC‘s source around, compiling… Continue reading

How do I reset my ZNC password from SSH terminal?

To reset your ZNC password from SSH: [] # znc –makepass [ ** ] Type your new password. [ ?? ] Enter Password: [ ?? ] Confirm Password: [ ** ] Kill ZNC process, if it’s running. (znc-kill) [ ** ] Then replace (nano .znc/configs/znc.conf) password in the <User> section of… Continue reading

Running ZNC as a daemon (autorun)

Here is a /etc/init.d/znc for Debian based on this installation method: #! /bin/sh ### BEGIN INIT INFO # Provides: znc # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: ZNC IRC bouncer # Description: ZNC is an IRC bouncer ### END… Continue reading

Source Tarball

Official source tarballs can be found here. If you want to compile ZNC with OpenSSL support, you need the OpenSSL development package. On Debian/Ubuntu this is called libssl-dev, on CentOS/Fedora/Red Hat it’s openssl-devel, and on openSUSE it’s libopenssl-devel. A good way to install this and other dependencies is the build dependency feature of package… Continue reading

Installing ZNC

The ZNC package for Debian Wheezy are very old, so I decide to install from source. Install required packages We first need to make sure we have all the packages required to build ZNC. sudo apt-get install build-essential libssl-dev libperl-dev pkg-config Compile ZNC Now download and compile ZNC. cd wget tar zxvf znc-1.4.tar.gz cd… Continue reading