NMT CSE Wiki

Dept. of Computer Science & Engineering

User Tools

Site Tools


commons:irc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commons:irc [2015/08/21 15:32]
jmaes [IRC Commands]
commons:irc [2018/07/16 15:33] (current)
Line 1: Line 1:
 ====== IRC ====== ====== IRC ======
-IRC stands for Internet Relay Chat. It's a pretty primitive chat program (([[https://​www.youtube.com/​watch?​v=O2rGTXHvPCQ]])). 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. Some of the system admins (past and present) can be found in ''#​sysadmin'',​ and a lot of CS majors like to chat in the channel ''#​ktek''​.+IRC stands for Internet Relay Chat. It's a pretty primitive chat program (([[https://​www.youtube.com/​watch?​v=O2rGTXHvPCQ]])). 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 [[https://​hexchat.github.io/​|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"​. To connect to the IRC, you'll need to install an IRC client. A good client is [[https://​hexchat.github.io/​|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 handle(([[http://​www.imdb.com/​title/​tt0113243/?​ref_=ttqt_qt_tt]]))!+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 handle(([[http://​www.imdb.com/​title/​tt0113243/?​ref_=ttqt_qt_tt]]))! So try to come up with a nick that shows off what kind of 1337 h4ck3r((https://​www.youtube.com/​watch?​v=oJagxe-Gvpw)) you are!
  
-==== IRC Commands ====+===== Alternate Server ===== 
 + 
 +If ''​irc.cs.nmt.edu:​6697''​ doesn'​t work, you can also connect to our IRC network using ''​irc.habnabit.org:​7000''​. 
 + 
 +===== 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: 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:
Line 12: Line 16:
   * ''/​connect irc.example.com [port]''​ Connects your IRC client to the given network; the port is optional, the default is 6667.   * ''/​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   * ''/​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. ​The most popular channel on the our server is ''#​ktek'',​ so if ''/​join #​ktek''​ will let you join the party!+  * ''/​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   * ''/​part''​ Exits the current channel
   * ''/​quit''​ Disconnects you from the server   * ''/​quit''​ Disconnects you from the server
   * ''/​msg nickname <​message>''​ Sends a private message to the person in the chatroom with the given nick   * ''/​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 ''​* username does a thing''​+  * ''/​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 [[http://​www.ircbeginner.com/​ircinfo/​ircc-commands.html|list]]. For more info, you can google around for a longer [[http://​www.ircbeginner.com/​ircinfo/​ircc-commands.html|list]].
 +
 ===== ZNC ===== ===== ZNC =====
-The department hosts an IRC bouncer (ZNC) at [[https://​znc.cs.nmt.edu]]. An IRC bouncer enables you to keep a log of what you miss when your client is offline, among many other things. Wikipedia has a [[https://​en.wikipedia.org/​wiki/​BNC_%28software%29#​IRC|description]]. 
  
-You can log into ZNC with two different passwords:​ +The department hosts an [[https://​en.wikipedia.org/​wiki/​BNC_%28software%29#​IRC|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, or 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. 
-  - Your CSE password. + 
-  - Whatever ​you enter into the 'Change Password' field in ZNC's settings.+First, you can [[https://​znc.cs.nmt.edu|login to the department ​ZNC server]] ​with your CS credentials. Click **Your Settings** in the sidebar to the right. 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 many IRC clients store your network password in plaintext, so you might prefer to use something other than your CS credentials.The Allowed IPs field should normally just be set to ''​*'',​ unless there'​s some reason you need to restrict where you're using the bouncer from
 + 
 +When you're happy with your authentication settings, move to the **IRC Information** form. Fill out the ''​Nickname''​ and ''​Alt. Nickname''​ fields with whatever handle you want to go by in chat. **This is the most important step. You don't have an identity until you have a [[https://​www.youtube.com/​watch?​v=H0mGqLkVSXY|handle]]**. Leave the ''​Ident''​ and ''​StatusPrefix''​ fields as they are. You can fill out the ''​RealName'​' field to allow people to more easily identify you, and the ''​QuitMessage''​ field to change the message displayed when you leave the server, but these fields are not strictly necessary. 
 + 
 +Now, move to the **Networks** menu. This is how you actually set up the bouncer to log you in to the IRC servers you would like to connect to. The CS IRC server and freenode should be added here by default. You can add more networks here later. For now, click "​Edit"​ next to the ''​NMTCS''​ entry. On the next page, scroll down to **Channels**. This menu allows you to set the channels on the network that you will join automatically. If you need to add a channel to this list, click ''​Add'',​ and on the next page, fill in the channel name, i.e., ''#​cramer'',​ ''#​sysadmin'',​ ''#​ktek'',​ etc. Click ''​Add channel and return''​ after each. 
 +When all of your auto-join channels have been added, scroll down on the Network page and click "Save and Return"​ to finish adding the network to your bouncer setup. 
 + 
 +Now you must configure your IRC client to connect to ZNC rather than directly to IRC. In your IRC client, add a new server. Set the Connection Name to ''​NMTCS'',​ the Server Address to ''​znc.cs.nmt.edu'',​ and set the Port to ''​6697''​. Check the box labeled ''​Connect Securely'',​ ''​Connect Using SSL'',​ or something similar. Now, using the username of your CS account and the password you set in the **Authentication** step (or your CS password, if you didn't bother to change it), set the Server Password to ''<​username>/​NMTCS:<​password>''​.  
 + 
 +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, automatically mark you as being away, and when you open your client again it will replay messages that you missed.
  
-Some IRC clients store passwords in plaintext, so it's generally a good idea to use a password other than your CSE credentials.+Welcome ​to NMT the hacker illuminati!
commons/irc.1440192779.txt.gz · Last modified: 2018/07/16 15:33 (external edit)