Difference between revisions of "ZNC"

From Amahi Wiki
Jump to: navigation, search
Line 32: Line 32:
 
== IRC Client Setup ==
 
== IRC Client Setup ==
 
=== mIRC ===
 
=== mIRC ===
When using the mIRC client you will need to connect to ZNC using the following command:
+
*When using the mIRC client you will need to connect to ZNC using the following command:
 
<!-- <nowiki>/server -m <yourHdaIp> -p 26244 -g gZNC -w <username>:<password> -d ZNC</nowiki>-->
 
<!-- <nowiki>/server -m <yourHdaIp> -p 26244 -g gZNC -w <username>:<password> -d ZNC</nowiki>-->
 
{{Code|lang=mirc|Code=/server -m <yourHdaIp> -p 26244 -g gZNC -w <username>:<password> -d ZNC}}
 
{{Code|lang=mirc|Code=/server -m <yourHdaIp> -p 26244 -g gZNC -w <username>:<password> -d ZNC}}
Line 56: Line 56:
 
-->
 
-->
  
When using mIRC in Windows, go to the options page, select server, click on '''Add…'''<br>
+
* When using mIRC in Windows, go to the options page, select server, click on '''Add…'''<br>
 
The following window will open:<br>
 
The following window will open:<br>
 
[[file:mirc-settings-znc.jpg]]<br>
 
[[file:mirc-settings-znc.jpg]]<br>
As description, enter '''ZNC'''<br>
+
<!--
As IRC Server, enter the IP of your HDA<br>
+
<table cellspacing="0" border="1">
As Port, enter 26244<br>
+
<tr>
As group, enter ZNC.<br>
+
<th>Option</th>
The password you have to give is <username>:<password> of your ZNC user.<br>
+
<th>Value</th>
 +
</tr>
 +
<tr>
 +
<td>description</td>
 +
<td>'''ZNC'''</td>
 +
</tr>
 +
<tr>
 +
<td>IRC Server</td>
 +
<td>HDA IP</td>
 +
</tr>
 +
<tr>
 +
<td>Port</td>
 +
<td>26244</td>
 +
</tr>
 +
<tr>
 +
<td>group</td>
 +
<td>ZNC</td>
 +
</tr>
 +
<tr>
 +
<td>password</td>
 +
<td>ZNC [username:password]</td>
 +
</tr>
 +
</table><br />
  
 
=== Chatzilla (FireFox Add-on) ===
 
=== Chatzilla (FireFox Add-on) ===

Revision as of 01:16, 13 March 2011

ZNC is an IRC bounce with many advanced features such as a built-in web interface, persistent connection (detaching), multiple users, per channel playback buffer, SSL, IPv6, transparent DCC bouncing, and c++ module support, to name a few.

About ZNC in Amahi

  • Currently BETA in Amahi.
  • The application makes use of your HDA first admin user. To log in to the web interface, enter that user name and the password is admin. You can change the password once logged in to anything you desire.
  • Once the application is installed, you are automatically connected to the IRC for the server irc.freenode.net. This setting can be turned off via the web interface if you do not want to autoconnect when ZNC is started.
  • ZNC appears in the Servers tab so you can stop, start, and restart as needed.

SSL Configuration

To enable SSL support, some manual configuration must be done.

  • As root user, install one dependency:
Bash code
​yum -y install mod_ssl​
  • Change the line in /etc/httpd/conf.d/####-znc.conf to read (replace #### with the number in your file name):
bash code
​RedirectPermanent / https://znc:26244​
  • Restart the web server:
Bash code
​service httpd restart​
  • Modify the line in /home/username/.znc/config/znc.conf to read:
Text
​Listener4 = +26244​
  • Restart ZNC:
Bash code
​service znc restart​
  • Access the web console via https://znc:26244
  • All connections with IRC clients will be SSL. When you add new servers, ensure you precede the port number with a +. The default server on install is already set for SSL communication.


NOTE: See ZNC Configuration for more guidance on customization.

IRC Client Setup

mIRC

  • When using the mIRC client you will need to connect to ZNC using the following command:
mirc code
​/server -m <yourHdaIp> -p 26244 -g gZNC -w <username>:<password> -d ZNC​


  • When using mIRC in Windows, go to the options page, select server, click on Add…

The following window will open:
Mirc-settings-znc.jpg