ZNC

From SHellium Wiki

Jump to: navigation, search
Geographylogo.png In other languages: English | Afrikaans | Albanian | Arabic | Brazilian | Bulgarian | Catalan | Chinese | Croatian | Czech | Danish | Dutch | Esperanto | Estonian | Filipino | Finnish | Flemish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Latvian | Lithuanian | Macedonian | Malay | Malayalam | Norwegian (Bokmål) | Norwegian (Nynorsk) | Persian | Polish | Portuguese | Romanian | Russian | Serbian | Slovak | Slovenian | Spanish | Swedish | Turkish | Ukrainian | Urdu



This howto shows users how to access their ZNC account hosted on SHellium or any other ZNC account.


Contents

What is ZNC?

ZNC is a dream IRC bouncer with lots of features. ZNC keeps you continuously connected to IRC to guard your nickname, even when you are offline. Installing a ZNC on your shell allows you to have multiple users/clients connected at one time but only uses one background process. The program also allows SSL connections, and includes a user-friendly Web admin interface and various optional modules for advanced users. Modules can extend the functionality of ZNC, accepting tcl, perl and even C++.

ZNC is just the BNC; drop the B and add the Z instead.

Please remember!

A znc running on a SHellium shell is allowed a maximum of 4 users - 3 users and the owner. Running more than 4 users in one ZNC will result in your shell account being locked.

Also remember to run the 'myports' command when using any process requiring ports. This command will show you your two (2) assigned ports, and if you are running any ports that do not belong to you. Running any port or ports other than the two assigned to you will lock your account.

Install and configure ZNC

Warning
IPv4 vhosts can work only with IPv4 servers, and IPv6 vhosts can work only with IPv6 servers. Run vhosts and v6hosts on shell to look to both lists of vhosts.

Preinstalled ZNC

Every SHellium-user can use a preinstalled ZNC. Using this ZNC will not count as a background-process.
All you have to do, is configure the ZNC.

Attention!
This is how you know your port number. In the next lines, 7010 is used just as an example.

If you see a prompt that says the certificate is invalid just select accept.

The default port is 6667 but you must specify the port after the server ONLY if you'd like to connect to a different port.

Please note that 1 user of preinstalled ZNC can only connect to one server at a time

Once you finish the steps above, the bouncer will automatically connect to server you have listed and join any channels that entered.

Installing ZNC on your Shell

You can also install ZNC on your shell.

PLEASE NOTE: Running a ZNC on your own shell will count as one of your two allowed background processes.

How to Install
  1. Login to your shell
  2. Run myports to see what ports you can use, and select one.
  3. Start your ZNC in config-creation mode:
znc --makeconf 

or

znc -c

and answer questions.

What port do you like ZNC to listen on: Here you type the listening port for ZNC. Run myports to see the available ports.
Would you like ZNC to listen using SSl: Type yes if you want to use SSl, or type no if you don't
Listen Host: Leave it blank
Username:Here you type the username that you will use to login to the bouncer and to the webpanel
Password:Here you type the password that you will use to login to the bouncer and to the webpanel
Would you like this user to be an admin: If it is your account, type yes, if this is not or you will use you bnc alone, type no.
Number of lines to buffer per channel: Here you type the maximum lines of the log/buffer of a channel. I recommend 100 .
Would you like to keep the buffer after reply: If you don't want to use much disk space, type no
Default channel modes: I recommand you just press enter here

Now you are ready to go. Have fun using ZNC.

If you encounter any problems while installing ZNC, join #SHellium on Freenode and we will try to help you.

Connecting to ZNC

This assumes that you use preinstalled ZNC. If you want to connect to ZNC running on your shell, use your port instead of 7010.

Text Clients

Clients like irssi, irc, bitchx, and others should connect to the bouncer in the manner described below. Graphical clients can also use the same commands below to connect.

Irssi

Launch irssi.

/connect -ssl znc.shellium.org 7010 yourshellusername:yourshellpass

The -ssl option after /connect allows secure connection via SSL.

Other text IRC clients

Launch your IRC client.

/server znc.shellium.org +7010 yourshellusername:yourshellpass

The + sign before the port number allows secure connection via SSL.

Once you are connected you may control your bouncer by issuing it commands. Read the External Links section below for a list of all the commands.

Graphical Clients

Graphical clients usually allow the same solution as text clients. It's up to you which method to choose.

Konversation

Konversation users should follow next simple steps:

Xchat

Xchat users should simply add a new network and insert their shell name and password to connect to the bouncer without issuing commands.

znc.shellium.org/7010

mIRC

mIRC users can connect manually using the commands listed above or add the bouncer into their server list.

znc.shellium.org
yourshellusername:yourshellpass

Note: mIRC supports SSL since v6.14. If you are using an older version or it simply doesn't work, upgrade to the latest mIRC version (Download).

Note: To connect to ipv6 with mIRC you will need to install the mircv6 dll (mircv6)

SSL-error

It's possible you will get the following error when trying to connect with mIRC:

 [9:26:00 AM] * SSL error: ssl not available
 -
 [9:26:00 AM] * Connect cancelled
 -
 * /server: ssl not available

To solve this, all you have to do is close mIRC and then download and install OpenSSL.
You will need install this either in the mIRC folder (typically C:\Program Files\mIRC) or in the Windows System folder (typically C:\Windows\System32). After that, restart your mIRC and you're good to go.

IMAP-error

Sometimes if you try to connect with with mIRC using the connect button, you will get the following error:

 [20:02] Invalid User - Halting IMAP Lookup
 -
 [20:02] * [10101] Host disconnected

To solve this, you will have to type /server znc.shellium.org:port username:pass into the status box.

Colloquy

Colloquy users should add a new network with shell name and password to connect via the GUI.

znc.shellium.org

NetTalk

znc.shellium.org


Once you are connected you may control your bouncer by issuing it commands. Read the External Links section below for a list of all the commands.

External Links

Personal tools
Namespaces
Variants
Actions
Navigation
Indexes
SHellium Sites
Toolbox