What is IRC?¶
Internet Relay Chat (IRC) is an application protocol to do text based communication. It was created in 1988 and still being used as one of the primary communication medium for many people around the world, including various Free and Open Source software projects.
The above is the first ever IRC server (original image is from Wikimedia Commons).
We use IRC as our primary communication medium because it works with low bandwidth. You don’t need super fast internet connection to attend the summer training sessions. Also, later when you will try to contact other communities, you will find most of them are active on IRC.
What is a channel?¶
Every IRC server has various virtual groups or rooms where people can communicate with each other. These are known as channels. The channel names start with # sign. For example, #dgplug is the channel name in Freenode server for our training.
There are various IRC clients, for our sessions you can use hexchat client on your computer.
hexchat is a popular Internet Relay Chat (IRC) client. It has a choice of a tabbed document interface or tree interface, support for multiple servers and is highly configurable.
How to install?¶
# dnf install hexchat
# apt-get install hexchat
For windows please download hexchat from their site.
Default hexchat will open in network selection window where you have to select FreeNode and then connect.
After connect you will see connection complete window where you have option to join channel (provide dgplug)
After pressing OK, you are now in main window and joined #dgplug channel. Now you have register your nickname to make sure someone else not using it.
You will get a verification mail for your registration and same you have to execute in XChat window.
Below is a GIF which shows how to join the #dgplug channel on Freenode.
You can open the image in a new tab to view it in proper scale.
IRC on the Web¶
While a client (xchat, hexchat, etc), on any platform, is the best way to experience IRC on a daily basis, you can in fact use your web browser to connect to IRC!
While it might not be as comfortable as a native client, irc via a browser is actually quite full featured.
It depends on you knowing commands though, so this page on the IRC beginner website will come in real handy.
So let’s start at the very beginning.
Here’s what we’d need for our summer sessions.
- We need a browser
- We need an username that stays the same, throughout sessions
- We need to login to the #dgplug channel on freenode with that username
Step 1. The Browser¶
You’ve already have one and are successfully connected, if you’re reading this :)
Step 2. A username for IRC.¶
Let’s mosey over to the freenode website
mariojasonfor a username.
And you should enter the world of irc!
There’ll be a lot of stuff that’ll end with a screen like this.
/quitto quit your connection for example.
/msg NickServ REGISTER <password> <email>, where password will be some complicated password of yours while email is where you put in your email address
If all works well, Nickserv will reply saying that activation instructions have been sent to your email id, like so …
So hop over and check your mail. This is what you should expect to see.
Let’s copy the
/msg line and go back to the irc page and paste it in the
chat bar like so …
And voila! You should be verified!
Now that we’re done registering our nickname, quit the connection by typing in
/quit command and let’s move to …
Step 3. Connecting to the DGPLUG channel.¶
Now we’re back to where we started.
Only this time, fill in all the details.
- Put in your nickname
- Use #dgplug as the channel to connect
- Enable auth to services
- The username is the same as the nickname
- Fill in the complicated password that you had created for your id.
And hit Connect!
You should login and you should be switched to a new tab with the #dgplug channel.
There! You’re in! Welcome! Enjoy your time in the channel :)