NMT CSE Wiki

Dept. of Computer Science & Engineering

User Tools

Site Tools


commons:irc

This is an old revision of the document!


Table of Contents

IRC

IRC stands for Internet Relay Chat. It's a pretty primitive chat program 1). Essentially, an IRC network hosts text-based chat rooms where people can hang out and joke around. The CS Department hosts an IRC server at irc.cs.nmt.edu:6697, and it's open for anyone to connect to. #cramer is a channel, and a lot of CS majors/alumni like to chat in the channel #ktek (NSFW).

To connect to the IRC, you'll need to install an IRC client. A good client is Hexchat, which has a nice graphical user interface, and is generally easy to use. You can add our network to the network list as irc.cs.nmt.edu/6697, select “Use SSL” and “Accept invalid SSL certificate”.

You'll also need to set your Real name and your Nick name. Your “Real” name (or User name) will only be displayed when someone inspects you with the /whois command, and doesn't actually need to be your name. Your Nick is your handle. You need a handle, man. You don't have an identity until you have a handle2)! So try to come up with a nick that shows off what kind of 1337 h4ck3r3) you are!

IRC Commands

The IRC protocol responds to certain commands that all start with a /forwardslash. Many clients have point and click ways to do most things, but many don't. As you start using text based tools more and more, you may find that typing commands can actually be a lot easier than using your mouse. Here are just a few commands to get you started:

  • /connect irc.example.com [port] Connects your IRC client to the given network; the port is optional, the default is 6667.
  • /list To list the channels available on the server
  • /join #channel Adds you to a given channel, or chat room on the current network, or creates a new channel if it doesn't already exist.
  • /part Exits the current channel
  • /quit Disconnects you from the server
  • /msg nickname <message> Sends a private message to the person in the chatroom with the given nick
  • /me <does a thing> Sends a message to the channel that looks like this: * username does a thing

For more info, you can google around for a longer list.

ZNC

The department hosts an IRC Bouncer (ZNC) at https://znc.cs.nmt.edu. An IRC bouncer can keep you logged on to an IRC server even when your computer is off of your client is closed. You connect to the bouncer in the same way that you would connect to IRC normally, but first you have to set yourself up on the ZNC server.

First, you can login to the department ZNC server with your CS credentials. The first thing you'll see is the Authentication form. You can use that form to change your password to anything you want. If you're security conscious, you should be aware that some IRC clients store your network password in plaintext, so you might prefer to use something other than your CS credentials.

Unless you can think of some reason to do something else, the Allowed IPs field should just be set to *. When you're happy with your authentication settings, you can fill in your IRC Information. You can give it whatever nick and real name you want it to keep you logged into the network with.

Below you'll see the Networks menu. This is how you actually set up the bouncer to log you in to the CS IRC server. You can add multiple networks to tell it to also keep you logged in to other IRC networks like https://freenode.net/ or http://www.oftc.net/. Click “Add” to add a new network profile to ZNC, you can fill out the Network Info with the same information you used before.

The “Network Name” field is an alias that ZNC uses to refer to the profile you're setting up - you can name it something like “NMTCS”. In the “Servers of this IRC network” you can enter irc.cs.nmt.edu +6697 to tell it to connect to our server. Finally, you can add a channel (#cramer, #sysadmin, #ktek, etc.) under Channels to tell it to join you to that channel automatically.

When everything is to your liking, you can click “Save and Return” to finish adding the network to your bouncer setup. Now you can tell your IRC client to connect to ZNC rather than directly to IRC. In your IRC client, you need to set the server as znc.cs.nmt.edu with SSL port 6697. You also need to set the server password to authenticate you against the ZNC server (a /PASS password), which actually needs to be of the form <username>/NMTCS:<password>. You use the username of your CS account, NMTCS is the “Network Name” you set up in the last paragraph, the password is the one you set on the ZNC front page, (or your CS password, if you didn't bother).

If you did everything right, you should be able to connect through our ZNC server. It will keep you logged in when you disconnect from the bouncer, and when you log back in and replay messages that you missed while you were away.

Welcome to NMT the hacker illuminati!

commons/irc.1442812556.txt.gz · Last modified: 2018/07/16 15:33 (external edit)