Ircd-Hybrid is a free, lightweight, stable, and high-performance IRC server for small, private networks or public networks then can be used for Raspberry Pi as IRC Server.
The function of IRC is for group communication in discussion forums, called channels, but also allows one-to-one communication via private message as well as chat and data transfer , including file sharing
The function of IRC is for group communication in discussion forums, called channels, but also allows one-to-one communication via private message as well as chat and data transfer , including file sharing
Install Ircd-Hybrid
In order for the Raspberry Pi to act as Internet relay chat server you need to install packages on the Raspberry. You are going to need the following packages:- Ircd-Hybrid ircd-hybrid is a powerful Internet Relay Chat daemon frequently used on the popular EFnet IRC Network.
sudo apt-get update sudo apt-get install ircd-hybridIf there are no error at installation you can continue to next step.
Configure Ircd-Hybrid
To configure the Ircd-Hybrid, you need edit the config at /etc/ircd-hybrid folder with root permissions.sudo su cd /etc/ircd-hybrid nano ircd.confAfter you've on nano edit's interface you can edit the Ircd-Hybrid configuration.
The Configuration
The configuration is summarized to important only some configuration is not showed.[Server Info]
Name of your IRC Servername = "raspberrypi.irc";Description of your IRC Server
description = "Free speech IRC Server based on Debian (Raspberry Pi)";Network name and Description on your IRC Server
network_name = "raspberry"; network_desc = "IRC Server live on Raspberry Pi (Eco-Energy)";Max Client that can connect to your IRC Server
max_clients = 128;
[Admin]
Admin information for your IRC Servername = "Bambang Eko"; description = "Main Server Administrator"; email = "<bambang@gmail.com>";
[Operator]
Operator name credentials for login into your IRC Servername = "root";*@* means that allow all username and IP to login as operator for the IRC Server
user = "*@*";Operator password credentials for login into your IRC Server (use mkpasswd to replace the password configuration)
password = "nVJLrbSq2I.5w"; #password = "$1$9PTzrFkW$yh3ablZ5DnHeU9yjhj..U/";
[Listen]
IRC Server listen and port number configurationhost = "0.0.0.0"; port = 6665 .. 6669;
IRC Message of the day (MOTD)
You can change the MOTD for Ircd-Hybrid IRC Server, To configure you need to edit the config at /etc/ircd-hybrid/ircd.motd files with root permissionssudo su cd /etc/ircd-hybrid nano ircd.motd
Restart Ircd-Hybrid
To apply the changes you need to restart the Ircd-Hybird server, You can do so by following :sudo /etc/init.d/ircd-hybrid restart
Testing
To test if Ircd-Hybrid working properly on client - In Windows- Download IRC Client Ex : Pidgin , mIRC , HexChat and X-Chat
- In networks section - select add
- In server tab - Edit newserver/6667 to 192.168.x.x/6667 (IRC IP Address and Port)
- Select autojoin channel tab *if you want join irc channel automaticaly (Optional)
- Enter password if your irc server is protected with password
- Select close and connect
- Download IRC Client (e.g. Pidgin, Smuxi IRC, Quasel IRC, and XChat)
- Choose add
- In login options - select protocol
- Select IRC and type username (Nickname)
- Type server with your IRC Server IP
- Type password *If your server is protected with passsword
- Type local alias (Nickname)
- Click close
- Select Buddies - Join a Chat - Room List
- Select your IRC room channel
- Then click join
- Download IRC Client Ex : AndChat , AndroIRC , Simple IRC or WhatsChat IRC
- Select Add - Fill name , address , port (optional).
- Type your nickname in Nick 1 , Nick 2 , Nick 3 , Username and Real Name
- In Other Details - Type Autojoin list (Optional)
- Press save
- Then select connect
How to Be Server OP (Operator)
- Use IRC Client which support OP Mode ex : Hex-Chat , mIRC or X-Chat
- Connect to your IRC via IRC Client
- In server room , type /oper <opname> <oppassword> *Without <>
- Now you are OP on your IRC Server.
Troubleshooting
- If client can't connect your IRC Server- Disable firewall or add IRC client to the firewall exception.
- Read log from IRC server to troubleshoot the problem.
- In client's firewall try enable : Maintain inactive TCP services.
- In client's firewall try disable : TCP inspection and verification.
Comments
Post a Comment